Package viam.app.v1
Class AppOuterClass.UploadModuleFileRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UploadModuleFileRequest,AppOuterClass.UploadModuleFileRequest.Builder>
viam.app.v1.AppOuterClass.UploadModuleFileRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.UploadModuleFileRequestOrBuilder
- Enclosing class:
- AppOuterClass.UploadModuleFileRequest
public static final class AppOuterClass.UploadModuleFileRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UploadModuleFileRequest,AppOuterClass.UploadModuleFileRequest.Builder>
implements AppOuterClass.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
(AppOuterClass.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 interfaceAppOuterClass.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 interfaceAppOuterClass.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 interfaceAppOuterClass.UploadModuleFileRequestOrBuilder
- Returns:
- The moduleFileInfo.
-
setModuleFileInfo
public AppOuterClass.UploadModuleFileRequest.Builder setModuleFileInfo(AppOuterClass.ModuleFileInfo value) The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
-
setModuleFileInfo
public AppOuterClass.UploadModuleFileRequest.Builder setModuleFileInfo(AppOuterClass.ModuleFileInfo.Builder builderForValue) The information about the module file being uploaded
.viam.app.v1.ModuleFileInfo module_file_info = 1 [json_name = "moduleFileInfo"];
-
mergeModuleFileInfo
public AppOuterClass.UploadModuleFileRequest.Builder mergeModuleFileInfo(AppOuterClass.ModuleFileInfo value) 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 interfaceAppOuterClass.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 interfaceAppOuterClass.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.
-