Package viam.app.v1
Class Robot.ResourceLevelServiceConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.ResourceLevelServiceConfig,Robot.ResourceLevelServiceConfig.Builder>
viam.app.v1.Robot.ResourceLevelServiceConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.ResourceLevelServiceConfigOrBuilder
- Enclosing class:
- Robot.ResourceLevelServiceConfig
public static final class Robot.ResourceLevelServiceConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.ResourceLevelServiceConfig,Robot.ResourceLevelServiceConfig.Builder>
implements Robot.ResourceLevelServiceConfigOrBuilder
A ResourceLevelServiceConfig describes component or remote configuration for a service.Protobuf type
viam.app.v1.ResourceLevelServiceConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionTODO(adam): Should this be move to a structured type as defined in the typescript frontend.string type = 1 [json_name = "type"];
com.google.protobuf.Struct
TODO(adam): Should this be move to a structured type as defined in the typescript frontend.getType()
string type = 1 [json_name = "type"];
com.google.protobuf.ByteString
string type = 1 [json_name = "type"];
boolean
TODO(adam): Should this be move to a structured type as defined in the typescript frontend.mergeAttributes
(com.google.protobuf.Struct value) TODO(adam): Should this be move to a structured type as defined in the typescript frontend.setAttributes
(com.google.protobuf.Struct value) TODO(adam): Should this be move to a structured type as defined in the typescript frontend.setAttributes
(com.google.protobuf.Struct.Builder builderForValue) TODO(adam): Should this be move to a structured type as defined in the typescript frontend.string type = 1 [json_name = "type"];
setTypeBytes
(com.google.protobuf.ByteString value) string type = 1 [json_name = "type"];
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
-
getType
string type = 1 [json_name = "type"];
- Specified by:
getType
in interfaceRobot.ResourceLevelServiceConfigOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 1 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceRobot.ResourceLevelServiceConfigOrBuilder
- Returns:
- The bytes for type.
-
setType
string type = 1 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
string type = 1 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
string type = 1 [json_name = "type"];
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasAttributes
public boolean hasAttributes()TODO(adam): Should this be move to a structured type as defined in the typescript frontend.
.google.protobuf.Struct attributes = 2 [json_name = "attributes"];
- Specified by:
hasAttributes
in interfaceRobot.ResourceLevelServiceConfigOrBuilder
- Returns:
- Whether the attributes field is set.
-
getAttributes
public com.google.protobuf.Struct getAttributes()TODO(adam): Should this be move to a structured type as defined in the typescript frontend.
.google.protobuf.Struct attributes = 2 [json_name = "attributes"];
- Specified by:
getAttributes
in interfaceRobot.ResourceLevelServiceConfigOrBuilder
- Returns:
- The attributes.
-
setAttributes
TODO(adam): Should this be move to a structured type as defined in the typescript frontend.
.google.protobuf.Struct attributes = 2 [json_name = "attributes"];
-
setAttributes
public Robot.ResourceLevelServiceConfig.Builder setAttributes(com.google.protobuf.Struct.Builder builderForValue) TODO(adam): Should this be move to a structured type as defined in the typescript frontend.
.google.protobuf.Struct attributes = 2 [json_name = "attributes"];
-
mergeAttributes
TODO(adam): Should this be move to a structured type as defined in the typescript frontend.
.google.protobuf.Struct attributes = 2 [json_name = "attributes"];
-
clearAttributes
TODO(adam): Should this be move to a structured type as defined in the typescript frontend.
.google.protobuf.Struct attributes = 2 [json_name = "attributes"];
-