Package viam.app.v1
Class Robot.ComponentConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.ComponentConfig,Robot.ComponentConfig.Builder>
viam.app.v1.Robot.ComponentConfig
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Robot.ComponentConfigOrBuilder
- Enclosing class:
- Robot
public static final class Robot.ComponentConfig
extends com.google.protobuf.GeneratedMessageLite<Robot.ComponentConfig,Robot.ComponentConfig.Builder>
implements Robot.ComponentConfigOrBuilder
Protobuf type
viam.app.v1.ComponentConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.ComponentConfig
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getApi()
string api = 9 [json_name = "api"];
com.google.protobuf.ByteString
string api = 9 [json_name = "api"];
com.google.protobuf.Struct
.google.protobuf.Struct attributes = 8 [json_name = "attributes"];
static Robot.ComponentConfig
getDependsOn
(int index) repeated string depends_on = 6 [json_name = "dependsOn"];
com.google.protobuf.ByteString
getDependsOnBytes
(int index) repeated string depends_on = 6 [json_name = "dependsOn"];
int
repeated string depends_on = 6 [json_name = "dependsOn"];
repeated string depends_on = 6 [json_name = "dependsOn"];
getFrame()
.viam.app.v1.Frame frame = 5 [json_name = "frame"];
.viam.app.v1.LogConfiguration log_configuration = 10 [json_name = "logConfiguration"];
getModel()
string model = 4 [json_name = "model"];
com.google.protobuf.ByteString
string model = 4 [json_name = "model"];
getName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
deprecated; use apicom.google.protobuf.ByteString
deprecated; use apigetServiceConfigs
(int index) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
int
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
getServiceConfigsOrBuilder
(int index) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
List<? extends Robot.ResourceLevelServiceConfigOrBuilder>
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
getType()
deprecated; use apicom.google.protobuf.ByteString
deprecated; use apiboolean
.google.protobuf.Struct attributes = 8 [json_name = "attributes"];
boolean
hasFrame()
.viam.app.v1.Frame frame = 5 [json_name = "frame"];
boolean
.viam.app.v1.LogConfiguration log_configuration = 10 [json_name = "logConfiguration"];
newBuilder
(Robot.ComponentConfig prototype) static Robot.ComponentConfig
parseDelimitedFrom
(InputStream input) static Robot.ComponentConfig
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ComponentConfig
parseFrom
(byte[] data) static Robot.ComponentConfig
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ComponentConfig
parseFrom
(com.google.protobuf.ByteString data) static Robot.ComponentConfig
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ComponentConfig
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.ComponentConfig
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ComponentConfig
parseFrom
(InputStream input) static Robot.ComponentConfig
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ComponentConfig
parseFrom
(ByteBuffer data) static Robot.ComponentConfig
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.ComponentConfig>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
FRAME_FIELD_NUMBER
public static final int FRAME_FIELD_NUMBER- See Also:
-
DEPENDS_ON_FIELD_NUMBER
public static final int DEPENDS_ON_FIELD_NUMBER- See Also:
-
SERVICE_CONFIGS_FIELD_NUMBER
public static final int SERVICE_CONFIGS_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
API_FIELD_NUMBER
public static final int API_FIELD_NUMBER- See Also:
-
LOG_CONFIGURATION_FIELD_NUMBER
public static final int LOG_CONFIGURATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The bytes for name.
-
getNamespace
deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Specified by:
getNamespace
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Specified by:
getNamespaceBytes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The bytes for namespace.
-
getType
deprecated; use api
string type = 3 [json_name = "type"];
- Specified by:
getType
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()deprecated; use api
string type = 3 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The bytes for type.
-
getModel
string model = 4 [json_name = "model"];
- Specified by:
getModel
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()string model = 4 [json_name = "model"];
- Specified by:
getModelBytes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The bytes for model.
-
hasFrame
public boolean hasFrame().viam.app.v1.Frame frame = 5 [json_name = "frame"];
- Specified by:
hasFrame
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- Whether the frame field is set.
-
getFrame
.viam.app.v1.Frame frame = 5 [json_name = "frame"];
- Specified by:
getFrame
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The frame.
-
getDependsOnList
repeated string depends_on = 6 [json_name = "dependsOn"];
- Specified by:
getDependsOnList
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- A list containing the dependsOn.
-
getDependsOnCount
public int getDependsOnCount()repeated string depends_on = 6 [json_name = "dependsOn"];
- Specified by:
getDependsOnCount
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The count of dependsOn.
-
getDependsOn
repeated string depends_on = 6 [json_name = "dependsOn"];
- Specified by:
getDependsOn
in interfaceRobot.ComponentConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The dependsOn at the given index.
-
getDependsOnBytes
public com.google.protobuf.ByteString getDependsOnBytes(int index) repeated string depends_on = 6 [json_name = "dependsOn"];
- Specified by:
getDependsOnBytes
in interfaceRobot.ComponentConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the dependsOn at the given index.
-
getServiceConfigsList
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigsList
in interfaceRobot.ComponentConfigOrBuilder
-
getServiceConfigsOrBuilderList
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
-
getServiceConfigsCount
public int getServiceConfigsCount()repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigsCount
in interfaceRobot.ComponentConfigOrBuilder
-
getServiceConfigs
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigs
in interfaceRobot.ComponentConfigOrBuilder
-
getServiceConfigsOrBuilder
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 7 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
-
hasAttributes
public boolean hasAttributes().google.protobuf.Struct attributes = 8 [json_name = "attributes"];
- Specified by:
hasAttributes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- Whether the attributes field is set.
-
getAttributes
public com.google.protobuf.Struct getAttributes().google.protobuf.Struct attributes = 8 [json_name = "attributes"];
- Specified by:
getAttributes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The attributes.
-
getApi
string api = 9 [json_name = "api"];
- Specified by:
getApi
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The api.
-
getApiBytes
public com.google.protobuf.ByteString getApiBytes()string api = 9 [json_name = "api"];
- Specified by:
getApiBytes
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The bytes for api.
-
hasLogConfiguration
public boolean hasLogConfiguration().viam.app.v1.LogConfiguration log_configuration = 10 [json_name = "logConfiguration"];
- Specified by:
hasLogConfiguration
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- Whether the logConfiguration field is set.
-
getLogConfiguration
.viam.app.v1.LogConfiguration log_configuration = 10 [json_name = "logConfiguration"];
- Specified by:
getLogConfiguration
in interfaceRobot.ComponentConfigOrBuilder
- Returns:
- The logConfiguration.
-
parseFrom
public static Robot.ComponentConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ComponentConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ComponentConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ComponentConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ComponentConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.ComponentConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.ComponentConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.ComponentConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.ComponentConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Robot.ComponentConfig,
Robot.ComponentConfig.Builder>
-
getDefaultInstance
-
parser
-