Package viam.app.v1
Class App.UploadModuleFileRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.UploadModuleFileRequest,App.UploadModuleFileRequest.Builder>
viam.app.v1.App.UploadModuleFileRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.UploadModuleFileRequestOrBuilder
- Enclosing class:
- App.UploadModuleFileRequest
public static final class App.UploadModuleFileRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.UploadModuleFileRequest,App.UploadModuleFileRequest.Builder>
implements App.UploadModuleFileRequestOrBuilder
Protobuf type
viam.app.v1.UploadModuleFileRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe file contents to be uploadedThe information about the module file being uploadedcom.google.protobuf.ByteString
getFile()
The file contents to be uploadedThe information about the module file being uploadedboolean
hasFile()
The file contents to be uploadedboolean
The information about the module file being uploadedThe information about the module file being uploadedsetFile
(com.google.protobuf.ByteString value) The file contents to be uploadedThe information about the module file being uploadedsetModuleFileInfo
(App.ModuleFileInfo.Builder builderForValue) The information about the module file being uploadedMethods 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
-
getModuleFileCase
- Specified by:
getModuleFileCase
in interfaceApp.UploadModuleFileRequestOrBuilder
-
clearModuleFile
-
hasModuleFileInfo
public boolean hasModuleFileInfo()The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
- Specified by:
hasModuleFileInfo
in interfaceApp.UploadModuleFileRequestOrBuilder
- Returns:
- Whether the moduleFileInfo field is set.
-
getModuleFileInfo
The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
- Specified by:
getModuleFileInfo
in interfaceApp.UploadModuleFileRequestOrBuilder
- Returns:
- The moduleFileInfo.
-
setModuleFileInfo
The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
-
setModuleFileInfo
public App.UploadModuleFileRequest.Builder setModuleFileInfo(App.ModuleFileInfo.Builder builderForValue) The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
-
mergeModuleFileInfo
The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
-
clearModuleFileInfo
The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
-
hasFile
public boolean hasFile()The file contents to be uploaded
bytes file = 2 [json_name = "file"];
- Specified by:
hasFile
in interfaceApp.UploadModuleFileRequestOrBuilder
- Returns:
- Whether the file field is set.
-
getFile
public com.google.protobuf.ByteString getFile()The file contents to be uploaded
bytes file = 2 [json_name = "file"];
- Specified by:
getFile
in interfaceApp.UploadModuleFileRequestOrBuilder
- Returns:
- The file.
-
setFile
The file contents to be uploaded
bytes file = 2 [json_name = "file"];
- Parameters:
value
- The file to set.- Returns:
- This builder for chaining.
-
clearFile
The file contents to be uploaded
bytes file = 2 [json_name = "file"];
- Returns:
- This builder for chaining.
-