Package com.viam.service.shell.v1
Class Shell.CopyFilesFromMachineRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesFromMachineRequest,Shell.CopyFilesFromMachineRequest.Builder>
com.viam.service.shell.v1.Shell.CopyFilesFromMachineRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Shell.CopyFilesFromMachineRequestOrBuilder
,Cloneable
- Enclosing class:
- Shell.CopyFilesFromMachineRequest
public static final class Shell.CopyFilesFromMachineRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesFromMachineRequest,Shell.CopyFilesFromMachineRequest.Builder>
implements Shell.CopyFilesFromMachineRequestOrBuilder
Protobuf type
viam.service.shell.v1.CopyFilesFromMachineRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionack_last_file is sent only after metadata and after each file has been received.metadata is sent first and only once.boolean
ack_last_file is sent only after metadata and after each file has been received.metadata is sent first and only once.boolean
ack_last_file is sent only after metadata and after each file has been received.boolean
metadata is sent first and only once.metadata is sent first and only once.setAckLastFile
(boolean value) ack_last_file is sent only after metadata and after each file has been received.metadata is sent first and only once.setMetadata
(Shell.CopyFilesFromMachineRequestMetadata.Builder builderForValue) metadata is sent first and only once.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
-
getRequestCase
- Specified by:
getRequestCase
in interfaceShell.CopyFilesFromMachineRequestOrBuilder
-
clearRequest
-
hasMetadata
public boolean hasMetadata()metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceShell.CopyFilesFromMachineRequestOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceShell.CopyFilesFromMachineRequestOrBuilder
- Returns:
- The metadata.
-
setMetadata
public Shell.CopyFilesFromMachineRequest.Builder setMetadata(Shell.CopyFilesFromMachineRequestMetadata value) metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
setMetadata
public Shell.CopyFilesFromMachineRequest.Builder setMetadata(Shell.CopyFilesFromMachineRequestMetadata.Builder builderForValue) metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
mergeMetadata
public Shell.CopyFilesFromMachineRequest.Builder mergeMetadata(Shell.CopyFilesFromMachineRequestMetadata value) metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
clearMetadata
metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
hasAckLastFile
public boolean hasAckLastFile()ack_last_file is sent only after metadata and after each file has been received. The value does not matter.
bool ack_last_file = 2 [json_name = "ackLastFile"];
- Specified by:
hasAckLastFile
in interfaceShell.CopyFilesFromMachineRequestOrBuilder
- Returns:
- Whether the ackLastFile field is set.
-
getAckLastFile
public boolean getAckLastFile()ack_last_file is sent only after metadata and after each file has been received. The value does not matter.
bool ack_last_file = 2 [json_name = "ackLastFile"];
- Specified by:
getAckLastFile
in interfaceShell.CopyFilesFromMachineRequestOrBuilder
- Returns:
- The ackLastFile.
-
setAckLastFile
ack_last_file is sent only after metadata and after each file has been received. The value does not matter.
bool ack_last_file = 2 [json_name = "ackLastFile"];
- Parameters:
value
- The ackLastFile to set.- Returns:
- This builder for chaining.
-
clearAckLastFile
ack_last_file is sent only after metadata and after each file has been received. The value does not matter.
bool ack_last_file = 2 [json_name = "ackLastFile"];
- Returns:
- This builder for chaining.
-