Package viam.app.v1
Class App.UpdateFragmentRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateFragmentRequest,App.UpdateFragmentRequest.Builder>
viam.app.v1.App.UpdateFragmentRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.UpdateFragmentRequestOrBuilder
- Enclosing class:
- App.UpdateFragmentRequest
public static final class App.UpdateFragmentRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateFragmentRequest,App.UpdateFragmentRequest.Builder>
implements App.UpdateFragmentRequestOrBuilder
Protobuf type
viam.app.v1.UpdateFragmentRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct config = 3 [json_name = "config"];
clearId()
string id = 1 [json_name = "id"];
string name = 2 [json_name = "name"];
optional bool public = 4 [json_name = "public"];
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
com.google.protobuf.Struct
.google.protobuf.Struct config = 3 [json_name = "config"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
getName()
string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
string name = 2 [json_name = "name"];
boolean
optional bool public = 4 [json_name = "public"];
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
int
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
boolean
.google.protobuf.Struct config = 3 [json_name = "config"];
boolean
optional bool public = 4 [json_name = "public"];
boolean
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
mergeConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct config = 3 [json_name = "config"];
setConfig
(com.google.protobuf.Struct value) .google.protobuf.Struct config = 3 [json_name = "config"];
setConfig
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct config = 3 [json_name = "config"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
string name = 2 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 2 [json_name = "name"];
setPublic
(boolean value) optional bool public = 4 [json_name = "public"];
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
setVisibilityValue
(int value) optional .viam.app.v1.FragmentVisibility visibility = 5 [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
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig().google.protobuf.Struct config = 3 [json_name = "config"];
- Specified by:
hasConfig
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
public com.google.protobuf.Struct getConfig().google.protobuf.Struct config = 3 [json_name = "config"];
- Specified by:
getConfig
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The config.
-
setConfig
.google.protobuf.Struct config = 3 [json_name = "config"];
-
setConfig
public App.UpdateFragmentRequest.Builder setConfig(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct config = 3 [json_name = "config"];
-
mergeConfig
.google.protobuf.Struct config = 3 [json_name = "config"];
-
clearConfig
.google.protobuf.Struct config = 3 [json_name = "config"];
-
hasPublic
public boolean hasPublic()optional bool public = 4 [json_name = "public"];
- Specified by:
hasPublic
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- Whether the public field is set.
-
getPublic
public boolean getPublic()optional bool public = 4 [json_name = "public"];
- Specified by:
getPublic
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The public.
-
setPublic
optional bool public = 4 [json_name = "public"];
- Parameters:
value
- The public to set.- Returns:
- This builder for chaining.
-
clearPublic
optional bool public = 4 [json_name = "public"];
- Returns:
- This builder for chaining.
-
hasVisibility
public boolean hasVisibility()optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- Specified by:
hasVisibility
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- Whether the visibility field is set.
-
getVisibilityValue
public int getVisibilityValue()optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- Specified by:
getVisibilityValue
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- Parameters:
value
- The visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- Specified by:
getVisibility
in interfaceApp.UpdateFragmentRequestOrBuilder
- Returns:
- The visibility.
-
setVisibility
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- Parameters:
value
- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- Returns:
- This builder for chaining.
-