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.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"];
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
hasUrl()
optional string url = 5 [json_name = "url"];
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"];
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
-
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.
-