Package com.viam.service.shell.v1
Class Shell.CopyFilesToMachineRequestMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Shell.CopyFilesToMachineRequestMetadata,Shell.CopyFilesToMachineRequestMetadata.Builder>
com.viam.service.shell.v1.Shell.CopyFilesToMachineRequestMetadata
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Shell.CopyFilesToMachineRequestMetadataOrBuilder
- Enclosing class:
- Shell
public static final class Shell.CopyFilesToMachineRequestMetadata
extends com.google.protobuf.GeneratedMessageLite<Shell.CopyFilesToMachineRequestMetadata,Shell.CopyFilesToMachineRequestMetadata.Builder>
implements Shell.CopyFilesToMachineRequestMetadataOrBuilder
Protobuf type
viam.service.shell.v1.CopyFilesToMachineRequestMetadata
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.service.shell.v1.CopyFilesToMachineRequestMetadata
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) destination is where the files should be placed.com.google.protobuf.ByteString
destination is where the files should be placed.com.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
name is the service name.com.google.protobuf.ByteString
name is the service name.boolean
preserve indicates the the receiver should use the metadata in the file to reflect the same state in its filesystem as applicable.source_type is the type of files that will be transmitted in this request stream.int
source_type is the type of files that will be transmitted in this request stream.boolean
hasExtra()
Additional arguments to the methodparseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Shell.CopyFilesToMachineRequestMetadata>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER- See Also:
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER- See Also:
-
PRESERVE_FIELD_NUMBER
public static final int PRESERVE_FIELD_NUMBER- See Also:
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
name is the service name.
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()name is the service name.
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The bytes for name.
-
getSourceTypeValue
public int getSourceTypeValue()source_type is the type of files that will be transmitted in this request stream.
.viam.service.shell.v1.CopyFilesSourceType source_type = 2 [json_name = "sourceType"];
- Specified by:
getSourceTypeValue
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
source_type is the type of files that will be transmitted in this request stream.
.viam.service.shell.v1.CopyFilesSourceType source_type = 2 [json_name = "sourceType"];
- Specified by:
getSourceType
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The sourceType.
-
getDestination
destination is where the files should be placed. The receiver can choose to reasonably modify this destination based on its implementation semantics.
string destination = 3 [json_name = "destination"];
- Specified by:
getDestination
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()destination is where the files should be placed. The receiver can choose to reasonably modify this destination based on its implementation semantics.
string destination = 3 [json_name = "destination"];
- Specified by:
getDestinationBytes
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The bytes for destination.
-
getPreserve
public boolean getPreserve()preserve indicates the the receiver should use the metadata in the file to reflect the same state in its filesystem as applicable.
bool preserve = 4 [json_name = "preserve"];
- Specified by:
getPreserve
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The preserve.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
getExtra
in interfaceShell.CopyFilesToMachineRequestMetadataOrBuilder
- Returns:
- The extra.
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Shell.CopyFilesToMachineRequestMetadata parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Shell.CopyFilesToMachineRequestMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Shell.CopyFilesToMachineRequestMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Shell.CopyFilesToMachineRequestMetadata.Builder newBuilder(Shell.CopyFilesToMachineRequestMetadata prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Shell.CopyFilesToMachineRequestMetadata,
Shell.CopyFilesToMachineRequestMetadata.Builder>
-
getDefaultInstance
-
parser
-