Package com.viam.service.shell.v1
Class Shell.CopyFilesFromMachineRequestMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesFromMachineRequestMetadata,Shell.CopyFilesFromMachineRequestMetadata.Builder>
com.viam.service.shell.v1.Shell.CopyFilesFromMachineRequestMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Shell.CopyFilesFromMachineRequestMetadataOrBuilder
,Cloneable
- Enclosing class:
- Shell.CopyFilesFromMachineRequestMetadata
public static final class Shell.CopyFilesFromMachineRequestMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesFromMachineRequestMetadata,Shell.CopyFilesFromMachineRequestMetadata.Builder>
implements Shell.CopyFilesFromMachineRequestMetadataOrBuilder
Protobuf type
viam.service.shell.v1.CopyFilesFromMachineRequestMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPaths
(Iterable<String> values) 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.addPathsBytes
(com.google.protobuf.ByteString value) paths are the paths to copy from and send back over the wire.allow_recursion indicates if directories should be recursed into.Additional arguments to the methodname is the service name.paths are the paths to copy from and send back over the wire.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
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 methodmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetAllowRecursion
(boolean value) allow_recursion indicates if directories should be recursed into.setExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodname is the service name.setNameBytes
(com.google.protobuf.ByteString value) name is the service name.paths are the paths to copy from and send back over the wire.setPreserve
(boolean value) preserve indicates the the receiver should provide the metadata in the file to reflect the same state in the sender's filesystem as applicable.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
name is the service name.
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- 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.CopyFilesFromMachineRequestMetadataOrBuilder
- Returns:
- The bytes for name.
-
setName
name is the service name.
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
name is the service name.
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
public Shell.CopyFilesFromMachineRequestMetadata.Builder setNameBytes(com.google.protobuf.ByteString value) name is the service name.
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPathsList
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Specified by:
getPathsList
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- Returns:
- A list containing the paths.
-
getPathsCount
public int getPathsCount()paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Specified by:
getPathsCount
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- 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"];
- Specified by:
getPaths
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
public 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"];
- Specified by:
getPathsBytes
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-
setPaths
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Parameters:
index
- The index to set the value at.value
- The paths to set.- Returns:
- This builder for chaining.
-
addPaths
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Parameters:
value
- The paths to add.- Returns:
- This builder for chaining.
-
addAllPaths
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Parameters:
values
- The paths to add.- Returns:
- This builder for chaining.
-
clearPaths
paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Returns:
- This builder for chaining.
-
addPathsBytes
public Shell.CopyFilesFromMachineRequestMetadata.Builder addPathsBytes(com.google.protobuf.ByteString value) paths are the paths to copy from and send back over the wire.
repeated string paths = 2 [json_name = "paths"];
- Parameters:
value
- The bytes of the paths to add.- Returns:
- This builder for chaining.
-
getAllowRecursion
public 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"];
- Specified by:
getAllowRecursion
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- Returns:
- The allowRecursion.
-
setAllowRecursion
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"];
- Parameters:
value
- The allowRecursion to set.- Returns:
- This builder for chaining.
-
clearAllowRecursion
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:
- This builder for chaining.
-
getPreserve
public 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"];
- Specified by:
getPreserve
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- Returns:
- The preserve.
-
setPreserve
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"];
- Parameters:
value
- The preserve to set.- Returns:
- This builder for chaining.
-
clearPreserve
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:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceShell.CopyFilesFromMachineRequestMetadataOrBuilder
- 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.CopyFilesFromMachineRequestMetadataOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public Shell.CopyFilesFromMachineRequestMetadata.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
public Shell.CopyFilesFromMachineRequestMetadata.Builder mergeExtra(com.google.protobuf.Struct value) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-