Package com.viam.service.shell.v1
Class Shell.CopyFilesToMachineRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesToMachineRequest,Shell.CopyFilesToMachineRequest.Builder>
com.viam.service.shell.v1.Shell.CopyFilesToMachineRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Shell.CopyFilesToMachineRequestOrBuilder
,Cloneable
- Enclosing class:
- Shell.CopyFilesToMachineRequest
public static final class Shell.CopyFilesToMachineRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Shell.CopyFilesToMachineRequest,Shell.CopyFilesToMachineRequest.Builder>
implements Shell.CopyFilesToMachineRequestOrBuilder
Protobuf type
viam.service.shell.v1.CopyFilesToMachineRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionfile_data is sent only after metadata.metadata is sent first and only once.file_data is sent only after metadata.metadata is sent first and only once.boolean
file_data is sent only after metadata.boolean
metadata is sent first and only once.mergeFileData
(Shell.FileData value) file_data is sent only after metadata.metadata is sent first and only once.setFileData
(Shell.FileData value) file_data is sent only after metadata.setFileData
(Shell.FileData.Builder builderForValue) file_data is sent only after metadata.metadata is sent first and only once.setMetadata
(Shell.CopyFilesToMachineRequestMetadata.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.CopyFilesToMachineRequestOrBuilder
-
clearRequest
-
hasMetadata
public boolean hasMetadata()metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceShell.CopyFilesToMachineRequestOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceShell.CopyFilesToMachineRequestOrBuilder
- Returns:
- The metadata.
-
setMetadata
public Shell.CopyFilesToMachineRequest.Builder setMetadata(Shell.CopyFilesToMachineRequestMetadata value) metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
setMetadata
public Shell.CopyFilesToMachineRequest.Builder setMetadata(Shell.CopyFilesToMachineRequestMetadata.Builder builderForValue) metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
mergeMetadata
public Shell.CopyFilesToMachineRequest.Builder mergeMetadata(Shell.CopyFilesToMachineRequestMetadata value) metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
clearMetadata
metadata is sent first and only once.
.viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1 [json_name = "metadata"];
-
hasFileData
public boolean hasFileData()file_data is sent only after metadata. All data MUST be sent in order per-file.
.viam.service.shell.v1.FileData file_data = 2 [json_name = "fileData"];
- Specified by:
hasFileData
in interfaceShell.CopyFilesToMachineRequestOrBuilder
- Returns:
- Whether the fileData field is set.
-
getFileData
file_data is sent only after metadata. All data MUST be sent in order per-file.
.viam.service.shell.v1.FileData file_data = 2 [json_name = "fileData"];
- Specified by:
getFileData
in interfaceShell.CopyFilesToMachineRequestOrBuilder
- Returns:
- The fileData.
-
setFileData
file_data is sent only after metadata. All data MUST be sent in order per-file.
.viam.service.shell.v1.FileData file_data = 2 [json_name = "fileData"];
-
setFileData
file_data is sent only after metadata. All data MUST be sent in order per-file.
.viam.service.shell.v1.FileData file_data = 2 [json_name = "fileData"];
-
mergeFileData
file_data is sent only after metadata. All data MUST be sent in order per-file.
.viam.service.shell.v1.FileData file_data = 2 [json_name = "fileData"];
-
clearFileData
file_data is sent only after metadata. All data MUST be sent in order per-file.
.viam.service.shell.v1.FileData file_data = 2 [json_name = "fileData"];
-