Package com.viam.service.shell.v1
Class Shell.CopyFilesToMachineRequestMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesToMachineRequestMetadata,Shell.CopyFilesToMachineRequestMetadata.Builder>
com.viam.service.shell.v1.Shell.CopyFilesToMachineRequestMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Shell.CopyFilesToMachineRequestMetadataOrBuilder
,Cloneable
- Enclosing class:
- Shell.CopyFilesToMachineRequestMetadata
public static final class Shell.CopyFilesToMachineRequestMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesToMachineRequestMetadata,Shell.CopyFilesToMachineRequestMetadata.Builder>
implements Shell.CopyFilesToMachineRequestMetadataOrBuilder
Protobuf type
viam.service.shell.v1.CopyFilesToMachineRequestMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptiondestination is where the files should be placed.Additional arguments to the methodname is the service name.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.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 methodmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetDestination
(String value) destination is where the files should be placed.setDestinationBytes
(com.google.protobuf.ByteString value) destination is where the files should be placed.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.setPreserve
(boolean value) 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.setSourceTypeValue
(int value) source_type is the type of files that will be transmitted in this request stream.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.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.
-
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.CopyFilesToMachineRequestMetadata.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.
-
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.
-
setSourceTypeValue
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"];
- Parameters:
value
- The sourceType to set.- Returns:
- This builder for chaining.
-
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.
-
setSourceType
public Shell.CopyFilesToMachineRequestMetadata.Builder setSourceType(Shell.CopyFilesSourceType value) 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"];
- Parameters:
value
- The enum numeric value on the wire for sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
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:
- This builder for chaining.
-
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.
-
setDestination
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"];
- Parameters:
value
- The destination to set.- Returns:
- This builder for chaining.
-
clearDestination
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:
- This builder for chaining.
-
setDestinationBytes
public Shell.CopyFilesToMachineRequestMetadata.Builder setDestinationBytes(com.google.protobuf.ByteString value) 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"];
- Parameters:
value
- The bytes for destination to set.- Returns:
- This builder for chaining.
-
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.
-
setPreserve
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"];
- Parameters:
value
- The preserve to set.- Returns:
- This builder for chaining.
-
clearPreserve
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:
- 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.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.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public Shell.CopyFilesToMachineRequestMetadata.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
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"];
-