Package viam.app.v1
Class Robot.ServiceConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.ServiceConfig,Robot.ServiceConfig.Builder>
viam.app.v1.Robot.ServiceConfig
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Robot.ServiceConfigOrBuilder
- Enclosing class:
- Robot
public static final class Robot.ServiceConfig
extends com.google.protobuf.GeneratedMessageLite<Robot.ServiceConfig,Robot.ServiceConfig.Builder>
implements Robot.ServiceConfigOrBuilder
Protobuf type
viam.app.v1.ServiceConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.ServiceConfig
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
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 = 4 [json_name = "attributes"];
static Robot.ServiceConfig
getDependsOn
(int index) repeated string depends_on = 5 [json_name = "dependsOn"];
com.google.protobuf.ByteString
getDependsOnBytes
(int index) repeated string depends_on = 5 [json_name = "dependsOn"];
int
repeated string depends_on = 5 [json_name = "dependsOn"];
repeated string depends_on = 5 [json_name = "dependsOn"];
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
getModel()
string model = 6 [json_name = "model"];
com.google.protobuf.ByteString
string model = 6 [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 = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
int
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
getServiceConfigsOrBuilder
(int index) repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
List<? extends Robot.ResourceLevelServiceConfigOrBuilder>
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
getType()
deprecated; use apicom.google.protobuf.ByteString
deprecated; use apiboolean
.google.protobuf.Struct attributes = 4 [json_name = "attributes"];
boolean
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
static Robot.ServiceConfig.Builder
static Robot.ServiceConfig.Builder
newBuilder
(Robot.ServiceConfig prototype) static Robot.ServiceConfig
parseDelimitedFrom
(InputStream input) static Robot.ServiceConfig
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ServiceConfig
parseFrom
(byte[] data) static Robot.ServiceConfig
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ServiceConfig
parseFrom
(com.google.protobuf.ByteString data) static Robot.ServiceConfig
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ServiceConfig
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.ServiceConfig
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ServiceConfig
parseFrom
(InputStream input) static Robot.ServiceConfig
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.ServiceConfig
parseFrom
(ByteBuffer data) static Robot.ServiceConfig
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.ServiceConfig>
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:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
DEPENDS_ON_FIELD_NUMBER
public static final int DEPENDS_ON_FIELD_NUMBER- See Also:
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
API_FIELD_NUMBER
public static final int API_FIELD_NUMBER- See Also:
-
SERVICE_CONFIGS_FIELD_NUMBER
public static final int SERVICE_CONFIGS_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.ServiceConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for name.
-
getNamespace
deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Specified by:
getNamespace
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()deprecated; use api
string namespace = 2 [json_name = "namespace"];
- Specified by:
getNamespaceBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for namespace.
-
getType
deprecated; use api
string type = 3 [json_name = "type"];
- Specified by:
getType
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()deprecated; use api
string type = 3 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for type.
-
hasAttributes
public boolean hasAttributes().google.protobuf.Struct attributes = 4 [json_name = "attributes"];
- Specified by:
hasAttributes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- Whether the attributes field is set.
-
getAttributes
public com.google.protobuf.Struct getAttributes().google.protobuf.Struct attributes = 4 [json_name = "attributes"];
- Specified by:
getAttributes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The attributes.
-
getDependsOnList
repeated string depends_on = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOnList
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- A list containing the dependsOn.
-
getDependsOnCount
public int getDependsOnCount()repeated string depends_on = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOnCount
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The count of dependsOn.
-
getDependsOn
repeated string depends_on = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOn
in interfaceRobot.ServiceConfigOrBuilder
- 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 = 5 [json_name = "dependsOn"];
- Specified by:
getDependsOnBytes
in interfaceRobot.ServiceConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the dependsOn at the given index.
-
getModel
string model = 6 [json_name = "model"];
- Specified by:
getModel
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()string model = 6 [json_name = "model"];
- Specified by:
getModelBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for model.
-
getApi
string api = 9 [json_name = "api"];
- Specified by:
getApi
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The api.
-
getApiBytes
public com.google.protobuf.ByteString getApiBytes()string api = 9 [json_name = "api"];
- Specified by:
getApiBytes
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The bytes for api.
-
getServiceConfigsList
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigsList
in interfaceRobot.ServiceConfigOrBuilder
-
getServiceConfigsOrBuilderList
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
-
getServiceConfigsCount
public int getServiceConfigsCount()repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigsCount
in interfaceRobot.ServiceConfigOrBuilder
-
getServiceConfigs
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
- Specified by:
getServiceConfigs
in interfaceRobot.ServiceConfigOrBuilder
-
getServiceConfigsOrBuilder
repeated .viam.app.v1.ResourceLevelServiceConfig service_configs = 10 [json_name = "serviceConfigs", (.tagger.v1.tags) = "json:\"service_config\""];
-
hasLogConfiguration
public boolean hasLogConfiguration().viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
- Specified by:
hasLogConfiguration
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- Whether the logConfiguration field is set.
-
getLogConfiguration
.viam.app.v1.LogConfiguration log_configuration = 11 [json_name = "logConfiguration"];
- Specified by:
getLogConfiguration
in interfaceRobot.ServiceConfigOrBuilder
- Returns:
- The logConfiguration.
-
parseFrom
public static Robot.ServiceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ServiceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ServiceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ServiceConfig 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.ServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.ServiceConfig 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.ServiceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.ServiceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.ServiceConfig 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.ServiceConfig,
Robot.ServiceConfig.Builder>
-
getDefaultInstance
-
parser
-