Package viam.app.v1
Class App.UpdateRegistryItemRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateRegistryItemRequest,App.UpdateRegistryItemRequest.Builder>
viam.app.v1.App.UpdateRegistryItemRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.UpdateRegistryItemRequestOrBuilder
- Enclosing class:
- App.UpdateRegistryItemRequest
public static final class App.UpdateRegistryItemRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateRegistryItemRequest,App.UpdateRegistryItemRequest.Builder>
implements App.UpdateRegistryItemRequestOrBuilder
Protobuf type
viam.app.v1.UpdateRegistryItemRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring description = 3 [json_name = "description"];
string item_id = 1 [json_name = "itemId"];
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
clearUrl()
optional string url = 5 [json_name = "url"];
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
string description = 3 [json_name = "description"];
com.google.protobuf.ByteString
string description = 3 [json_name = "description"];
string item_id = 1 [json_name = "itemId"];
com.google.protobuf.ByteString
string item_id = 1 [json_name = "itemId"];
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
getType()
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
int
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
getUrl()
optional string url = 5 [json_name = "url"];
com.google.protobuf.ByteString
optional string url = 5 [json_name = "url"];
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
int
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
boolean
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
boolean
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
boolean
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
boolean
hasUrl()
optional string url = 5 [json_name = "url"];
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
setDescription
(String value) string description = 3 [json_name = "description"];
setDescriptionBytes
(com.google.protobuf.ByteString value) string description = 3 [json_name = "description"];
string item_id = 1 [json_name = "itemId"];
setItemIdBytes
(com.google.protobuf.ByteString value) string item_id = 1 [json_name = "itemId"];
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
setMlModelUpdateMetadata
(App.UpdateMLModelMetadata.Builder builderForValue) .viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
setMlTrainingUpdateMetadata
(App.UpdateMLTrainingMetadata.Builder builderForValue) .viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
setModuleUpdateMetadata
(App.UpdateModuleMetadata.Builder builderForValue) .viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
setType
(Packages.PackageType value) .viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
setTypeValue
(int value) .viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
optional string url = 5 [json_name = "url"];
setUrlBytes
(com.google.protobuf.ByteString value) optional string url = 5 [json_name = "url"];
setVisibility
(App.Visibility value) .viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
setVisibilityValue
(int value) .viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
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
-
getMetadataCase
- Specified by:
getMetadataCase
in interfaceApp.UpdateRegistryItemRequestOrBuilder
-
clearMetadata
-
getItemId
string item_id = 1 [json_name = "itemId"];
- Specified by:
getItemId
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The itemId.
-
getItemIdBytes
public com.google.protobuf.ByteString getItemIdBytes()string item_id = 1 [json_name = "itemId"];
- Specified by:
getItemIdBytes
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The bytes for itemId.
-
setItemId
string item_id = 1 [json_name = "itemId"];
- Parameters:
value
- The itemId to set.- Returns:
- This builder for chaining.
-
clearItemId
string item_id = 1 [json_name = "itemId"];
- Returns:
- This builder for chaining.
-
setItemIdBytes
string item_id = 1 [json_name = "itemId"];
- Parameters:
value
- The bytes for itemId to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
- Specified by:
getTypeValue
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
getType
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
- Specified by:
getType
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The type.
-
setType
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
- Returns:
- This builder for chaining.
-
getDescription
string description = 3 [json_name = "description"];
- Specified by:
getDescription
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 3 [json_name = "description"];
- Specified by:
getDescriptionBytes
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The bytes for description.
-
setDescription
string description = 3 [json_name = "description"];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
string description = 3 [json_name = "description"];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public App.UpdateRegistryItemRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value) string description = 3 [json_name = "description"];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue().viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
- Specified by:
getVisibilityValue
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
- Parameters:
value
- The visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
- Specified by:
getVisibility
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The visibility.
-
setVisibility
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
- Parameters:
value
- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
.viam.app.v1.Visibility visibility = 4 [json_name = "visibility"];
- Returns:
- This builder for chaining.
-
hasUrl
public boolean hasUrl()optional string url = 5 [json_name = "url"];
- Specified by:
hasUrl
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the url field is set.
-
getUrl
optional string url = 5 [json_name = "url"];
- Specified by:
getUrl
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()optional string url = 5 [json_name = "url"];
- Specified by:
getUrlBytes
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The bytes for url.
-
setUrl
optional string url = 5 [json_name = "url"];
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
optional string url = 5 [json_name = "url"];
- Returns:
- This builder for chaining.
-
setUrlBytes
optional string url = 5 [json_name = "url"];
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
hasModuleUpdateMetadata
public boolean hasModuleUpdateMetadata().viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
- Specified by:
hasModuleUpdateMetadata
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the moduleUpdateMetadata field is set.
-
getModuleUpdateMetadata
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
- Specified by:
getModuleUpdateMetadata
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The moduleUpdateMetadata.
-
setModuleUpdateMetadata
public App.UpdateRegistryItemRequest.Builder setModuleUpdateMetadata(App.UpdateModuleMetadata value) .viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
-
setModuleUpdateMetadata
public App.UpdateRegistryItemRequest.Builder setModuleUpdateMetadata(App.UpdateModuleMetadata.Builder builderForValue) .viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
-
mergeModuleUpdateMetadata
public App.UpdateRegistryItemRequest.Builder mergeModuleUpdateMetadata(App.UpdateModuleMetadata value) .viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
-
clearModuleUpdateMetadata
.viam.app.v1.UpdateModuleMetadata module_update_metadata = 6 [json_name = "moduleUpdateMetadata"];
-
hasMlModelUpdateMetadata
public boolean hasMlModelUpdateMetadata().viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
- Specified by:
hasMlModelUpdateMetadata
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the mlModelUpdateMetadata field is set.
-
getMlModelUpdateMetadata
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
- Specified by:
getMlModelUpdateMetadata
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The mlModelUpdateMetadata.
-
setMlModelUpdateMetadata
public App.UpdateRegistryItemRequest.Builder setMlModelUpdateMetadata(App.UpdateMLModelMetadata value) .viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
-
setMlModelUpdateMetadata
public App.UpdateRegistryItemRequest.Builder setMlModelUpdateMetadata(App.UpdateMLModelMetadata.Builder builderForValue) .viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
-
mergeMlModelUpdateMetadata
public App.UpdateRegistryItemRequest.Builder mergeMlModelUpdateMetadata(App.UpdateMLModelMetadata value) .viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
-
clearMlModelUpdateMetadata
.viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7 [json_name = "mlModelUpdateMetadata"];
-
hasMlTrainingUpdateMetadata
public boolean hasMlTrainingUpdateMetadata().viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
- Specified by:
hasMlTrainingUpdateMetadata
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the mlTrainingUpdateMetadata field is set.
-
getMlTrainingUpdateMetadata
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
- Specified by:
getMlTrainingUpdateMetadata
in interfaceApp.UpdateRegistryItemRequestOrBuilder
- Returns:
- The mlTrainingUpdateMetadata.
-
setMlTrainingUpdateMetadata
public App.UpdateRegistryItemRequest.Builder setMlTrainingUpdateMetadata(App.UpdateMLTrainingMetadata value) .viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
-
setMlTrainingUpdateMetadata
public App.UpdateRegistryItemRequest.Builder setMlTrainingUpdateMetadata(App.UpdateMLTrainingMetadata.Builder builderForValue) .viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
-
mergeMlTrainingUpdateMetadata
public App.UpdateRegistryItemRequest.Builder mergeMlTrainingUpdateMetadata(App.UpdateMLTrainingMetadata value) .viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
-
clearMlTrainingUpdateMetadata
.viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8 [json_name = "mlTrainingUpdateMetadata"];
-