Package com.viam.service.shell.v1
Interface Shell.CopyFilesFromMachineRequestMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Shell.CopyFilesFromMachineRequestMetadata
,Shell.CopyFilesFromMachineRequestMetadata.Builder
- Enclosing class:
- Shell
public static interface Shell.CopyFilesFromMachineRequestMetadataOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allow_recursion indicates if directories should be recursed into.com.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
name is the service name.com.google.protobuf.ByteString
name is the service name.getPaths
(int index) paths are the paths to copy from and send back over the wire.com.google.protobuf.ByteString
getPathsBytes
(int index) paths are the paths to copy from and send back over the wire.int
paths are the paths to copy from and send back over the wire.paths are the paths to copy from and send back over the wire.boolean
preserve indicates the the receiver should provide the metadata in the file to reflect the same state in the sender's filesystem as applicable.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.
-
getPathsList
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Returns:
- A list containing the paths.
-
getPathsCount
int getPathsCount()paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Returns:
- The count of paths.
-
getPaths
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Parameters:
index
- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
com.google.protobuf.ByteString getPathsBytes(int index) paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Parameters:
index
- The index of the element to return.- Returns:
- The paths at the given index.
-
getAllowRecursion
boolean getAllowRecursion()allow_recursion indicates if directories should be recursed into. If a directory is encountered and this is false, an error MUST occur.
bool allow_recursion = 3 [json_name = "allowRecursion"];
- Returns:
- The allowRecursion.
-
getPreserve
boolean getPreserve()preserve indicates the the receiver should provide the metadata in the file to reflect the same state in the sender's 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.
-