Package com.viam.service.shell.v1
Interface Shell.CopyFilesToMachineRequestMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Shell.CopyFilesToMachineRequestMetadata
,Shell.CopyFilesToMachineRequestMetadata.Builder
- Enclosing class:
- Shell
public static interface Shell.CopyFilesToMachineRequestMetadataOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondestination 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 methodMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()name is the service name.
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name is the service name.
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
getSourceTypeValue
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"];
- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
Shell.CopyFilesSourceType 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"];
- Returns:
- The sourceType.
-
getDestination
String 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"];
- Returns:
- The destination.
-
getDestinationBytes
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"];
- Returns:
- The bytes for destination.
-
getPreserve
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"];
- Returns:
- The preserve.
-
hasExtra
boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- The extra.
-