Package viam.app.v1
Class AppOuterClass.UpdateRegistryItemRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateRegistryItemRequest,AppOuterClass.UpdateRegistryItemRequest.Builder>
viam.app.v1.AppOuterClass.UpdateRegistryItemRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.UpdateRegistryItemRequestOrBuilder
- Enclosing class:
- AppOuterClass.UpdateRegistryItemRequest
public static final class AppOuterClass.UpdateRegistryItemRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateRegistryItemRequest,AppOuterClass.UpdateRegistryItemRequest.Builder>
implements AppOuterClass.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"];
optional string markdown_description = 9 [json_name = "markdownDescription"];
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
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"];
optional string markdown_description = 9 [json_name = "markdownDescription"];
com.google.protobuf.ByteString
optional string markdown_description = 9 [json_name = "markdownDescription"];
getType()
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
int
.viam.app.packages.v1.PackageType type = 2 [json_name = "type"];
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
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
optional string markdown_description = 9 [json_name = "markdownDescription"];
boolean
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
boolean
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
boolean
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
boolean
hasUrl()
optional string url = 5 [json_name = "url"];
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
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"];
setMarkdownDescription
(String value) optional string markdown_description = 9 [json_name = "markdownDescription"];
setMarkdownDescriptionBytes
(com.google.protobuf.ByteString value) optional string markdown_description = 9 [json_name = "markdownDescription"];
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"];
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
setUpdateMlModelMetadata
(AppOuterClass.UpdateMLModelMetadata.Builder builderForValue) .viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
setUpdateModuleMetadata
(AppOuterClass.UpdateModuleMetadata.Builder builderForValue) .viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
optional string url = 5 [json_name = "url"];
setUrlBytes
(com.google.protobuf.ByteString value) optional string url = 5 [json_name = "url"];
.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 interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
-
clearMetadata
-
getItemId
string item_id = 1 [json_name = "itemId"];
- Specified by:
getItemId
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The itemId.
-
getItemIdBytes
public com.google.protobuf.ByteString getItemIdBytes()string item_id = 1 [json_name = "itemId"];
- Specified by:
getItemIdBytes
in interfaceAppOuterClass.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
public AppOuterClass.UpdateRegistryItemRequest.Builder setItemIdBytes(com.google.protobuf.ByteString value) 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 interfaceAppOuterClass.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 interfaceAppOuterClass.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 interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 3 [json_name = "description"];
- Specified by:
getDescriptionBytes
in interfaceAppOuterClass.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 AppOuterClass.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 interfaceAppOuterClass.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 interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The visibility.
-
setVisibility
public AppOuterClass.UpdateRegistryItemRequest.Builder setVisibility(AppOuterClass.Visibility value) .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 interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the url field is set.
-
getUrl
optional string url = 5 [json_name = "url"];
- Specified by:
getUrl
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()optional string url = 5 [json_name = "url"];
- Specified by:
getUrlBytes
in interfaceAppOuterClass.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
public AppOuterClass.UpdateRegistryItemRequest.Builder setUrlBytes(com.google.protobuf.ByteString value) optional string url = 5 [json_name = "url"];
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
hasUpdateModuleMetadata
public boolean hasUpdateModuleMetadata().viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
- Specified by:
hasUpdateModuleMetadata
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the updateModuleMetadata field is set.
-
getUpdateModuleMetadata
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
- Specified by:
getUpdateModuleMetadata
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The updateModuleMetadata.
-
setUpdateModuleMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder setUpdateModuleMetadata(AppOuterClass.UpdateModuleMetadata value) .viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
-
setUpdateModuleMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder setUpdateModuleMetadata(AppOuterClass.UpdateModuleMetadata.Builder builderForValue) .viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
-
mergeUpdateModuleMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder mergeUpdateModuleMetadata(AppOuterClass.UpdateModuleMetadata value) .viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
-
clearUpdateModuleMetadata
.viam.app.v1.UpdateModuleMetadata update_module_metadata = 6 [json_name = "updateModuleMetadata"];
-
hasUpdateMlModelMetadata
public boolean hasUpdateMlModelMetadata().viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
- Specified by:
hasUpdateMlModelMetadata
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the updateMlModelMetadata field is set.
-
getUpdateMlModelMetadata
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
- Specified by:
getUpdateMlModelMetadata
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The updateMlModelMetadata.
-
setUpdateMlModelMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder setUpdateMlModelMetadata(AppOuterClass.UpdateMLModelMetadata value) .viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
-
setUpdateMlModelMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder setUpdateMlModelMetadata(AppOuterClass.UpdateMLModelMetadata.Builder builderForValue) .viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
-
mergeUpdateMlModelMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder mergeUpdateMlModelMetadata(AppOuterClass.UpdateMLModelMetadata value) .viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
-
clearUpdateMlModelMetadata
.viam.app.v1.UpdateMLModelMetadata update_ml_model_metadata = 7 [json_name = "updateMlModelMetadata"];
-
hasUpdateMlTrainingMetadata
public boolean hasUpdateMlTrainingMetadata().viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
- Specified by:
hasUpdateMlTrainingMetadata
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the updateMlTrainingMetadata field is set.
-
getUpdateMlTrainingMetadata
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
- Specified by:
getUpdateMlTrainingMetadata
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The updateMlTrainingMetadata.
-
setUpdateMlTrainingMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder setUpdateMlTrainingMetadata(AppOuterClass.UpdateMLTrainingMetadata value) .viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
-
setUpdateMlTrainingMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder setUpdateMlTrainingMetadata(AppOuterClass.UpdateMLTrainingMetadata.Builder builderForValue) .viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
-
mergeUpdateMlTrainingMetadata
public AppOuterClass.UpdateRegistryItemRequest.Builder mergeUpdateMlTrainingMetadata(AppOuterClass.UpdateMLTrainingMetadata value) .viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
-
clearUpdateMlTrainingMetadata
.viam.app.v1.UpdateMLTrainingMetadata update_ml_training_metadata = 8 [json_name = "updateMlTrainingMetadata"];
-
hasMarkdownDescription
public boolean hasMarkdownDescription()optional string markdown_description = 9 [json_name = "markdownDescription"];
- Specified by:
hasMarkdownDescription
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- Whether the markdownDescription field is set.
-
getMarkdownDescription
optional string markdown_description = 9 [json_name = "markdownDescription"];
- Specified by:
getMarkdownDescription
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The markdownDescription.
-
getMarkdownDescriptionBytes
public com.google.protobuf.ByteString getMarkdownDescriptionBytes()optional string markdown_description = 9 [json_name = "markdownDescription"];
- Specified by:
getMarkdownDescriptionBytes
in interfaceAppOuterClass.UpdateRegistryItemRequestOrBuilder
- Returns:
- The bytes for markdownDescription.
-
setMarkdownDescription
optional string markdown_description = 9 [json_name = "markdownDescription"];
- Parameters:
value
- The markdownDescription to set.- Returns:
- This builder for chaining.
-
clearMarkdownDescription
optional string markdown_description = 9 [json_name = "markdownDescription"];
- Returns:
- This builder for chaining.
-
setMarkdownDescriptionBytes
public AppOuterClass.UpdateRegistryItemRequest.Builder setMarkdownDescriptionBytes(com.google.protobuf.ByteString value) optional string markdown_description = 9 [json_name = "markdownDescription"];
- Parameters:
value
- The bytes for markdownDescription to set.- Returns:
- This builder for chaining.
-