Package viam.app.agent.v1
Class Agent.DeviceAgentConfigResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Agent.DeviceAgentConfigResponse,Agent.DeviceAgentConfigResponse.Builder>
viam.app.agent.v1.Agent.DeviceAgentConfigResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Agent.DeviceAgentConfigResponseOrBuilder
- Enclosing class:
- Agent
public static final class Agent.DeviceAgentConfigResponse
extends com.google.protobuf.GeneratedMessageLite<Agent.DeviceAgentConfigResponse,Agent.DeviceAgentConfigResponse.Builder>
implements Agent.DeviceAgentConfigResponseOrBuilder
Protobuf type
viam.app.agent.v1.DeviceAgentConfigResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.agent.v1.DeviceAgentConfigResponse
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
FieldsModifier 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
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.protected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.Struct
.google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
com.google.protobuf.Struct
various settings that are passed directly to device Agentupdate info for agent and viam-server, parsed/processed in Appcom.google.protobuf.Duration
how often this request should be repeatedcom.google.protobuf.Struct
.google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
Deprecated.int
Deprecated.Deprecated.getSubsystemConfigsOrDefault
(String key, Agent.DeviceSubsystemConfig defaultValue) Deprecated.Deprecated.com.google.protobuf.Struct
.google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
.viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
boolean
.google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
boolean
various settings that are passed directly to device Agentboolean
update info for agent and viam-server, parsed/processed in Appboolean
how often this request should be repeatedboolean
.google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
boolean
.google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
boolean
.viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
newBuilder
(Agent.DeviceAgentConfigResponse prototype) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Agent.DeviceAgentConfigResponse>
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
-
SUBSYSTEM_CONFIGS_FIELD_NUMBER
public static final int SUBSYSTEM_CONFIGS_FIELD_NUMBER- See Also:
-
CHECK_INTERVAL_FIELD_NUMBER
public static final int CHECK_INTERVAL_FIELD_NUMBER- See Also:
-
AGENT_UPDATE_INFO_FIELD_NUMBER
public static final int AGENT_UPDATE_INFO_FIELD_NUMBER- See Also:
-
VIAM_SERVER_UPDATE_INFO_FIELD_NUMBER
public static final int VIAM_SERVER_UPDATE_INFO_FIELD_NUMBER- See Also:
-
ADVANCED_SETTINGS_FIELD_NUMBER
public static final int ADVANCED_SETTINGS_FIELD_NUMBER- See Also:
-
NETWORK_CONFIGURATION_FIELD_NUMBER
public static final int NETWORK_CONFIGURATION_FIELD_NUMBER- See Also:
-
ADDITIONAL_NETWORKS_FIELD_NUMBER
public static final int ADDITIONAL_NETWORKS_FIELD_NUMBER- See Also:
-
SYSTEM_CONFIGURATION_FIELD_NUMBER
public static final int SYSTEM_CONFIGURATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getSubsystemConfigsCount
Deprecated.Description copied from interface:Agent.DeviceAgentConfigResponseOrBuilder
subsystems to be installed/configured/updated note: previously installed subsystems will be removed from the system if removed from this list DEPRECATED in favor of indidivual update_info and settings fields
map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
- Specified by:
getSubsystemConfigsCount
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
-
containsSubsystemConfigs
Deprecated.subsystems to be installed/configured/updated note: previously installed subsystems will be removed from the system if removed from this list DEPRECATED in favor of indidivual update_info and settings fields
map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
- Specified by:
containsSubsystemConfigs
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
-
getSubsystemConfigs
Deprecated.UsegetSubsystemConfigsMap()
instead.- Specified by:
getSubsystemConfigs
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
-
getSubsystemConfigsMap
Deprecated.subsystems to be installed/configured/updated note: previously installed subsystems will be removed from the system if removed from this list DEPRECATED in favor of indidivual update_info and settings fields
map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
- Specified by:
getSubsystemConfigsMap
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
-
getSubsystemConfigsOrDefault
@Deprecated public Agent.DeviceSubsystemConfig getSubsystemConfigsOrDefault(String key, Agent.DeviceSubsystemConfig defaultValue) Deprecated.subsystems to be installed/configured/updated note: previously installed subsystems will be removed from the system if removed from this list DEPRECATED in favor of indidivual update_info and settings fields
map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
- Specified by:
getSubsystemConfigsOrDefault
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
-
getSubsystemConfigsOrThrow
Deprecated.subsystems to be installed/configured/updated note: previously installed subsystems will be removed from the system if removed from this list DEPRECATED in favor of indidivual update_info and settings fields
map<string, .viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [json_name = "subsystemConfigs", deprecated = true];
- Specified by:
getSubsystemConfigsOrThrow
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
-
hasCheckInterval
public boolean hasCheckInterval()how often this request should be repeated
.google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
- Specified by:
hasCheckInterval
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the checkInterval field is set.
-
getCheckInterval
public com.google.protobuf.Duration getCheckInterval()how often this request should be repeated
.google.protobuf.Duration check_interval = 2 [json_name = "checkInterval"];
- Specified by:
getCheckInterval
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The checkInterval.
-
hasAgentUpdateInfo
public boolean hasAgentUpdateInfo()update info for agent and viam-server, parsed/processed in App
.viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
- Specified by:
hasAgentUpdateInfo
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the agentUpdateInfo field is set.
-
getAgentUpdateInfo
update info for agent and viam-server, parsed/processed in App
.viam.app.agent.v1.UpdateInfo agent_update_info = 3 [json_name = "agentUpdateInfo"];
- Specified by:
getAgentUpdateInfo
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The agentUpdateInfo.
-
hasViamServerUpdateInfo
public boolean hasViamServerUpdateInfo().viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
- Specified by:
hasViamServerUpdateInfo
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the viamServerUpdateInfo field is set.
-
getViamServerUpdateInfo
.viam.app.agent.v1.UpdateInfo viam_server_update_info = 4 [json_name = "viamServerUpdateInfo"];
- Specified by:
getViamServerUpdateInfo
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The viamServerUpdateInfo.
-
hasAdvancedSettings
public boolean hasAdvancedSettings()various settings that are passed directly to device Agent
.google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
- Specified by:
hasAdvancedSettings
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the advancedSettings field is set.
-
getAdvancedSettings
public com.google.protobuf.Struct getAdvancedSettings()various settings that are passed directly to device Agent
.google.protobuf.Struct advanced_settings = 5 [json_name = "advancedSettings"];
- Specified by:
getAdvancedSettings
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The advancedSettings.
-
hasNetworkConfiguration
public boolean hasNetworkConfiguration().google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
- Specified by:
hasNetworkConfiguration
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the networkConfiguration field is set.
-
getNetworkConfiguration
public com.google.protobuf.Struct getNetworkConfiguration().google.protobuf.Struct network_configuration = 6 [json_name = "networkConfiguration"];
- Specified by:
getNetworkConfiguration
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The networkConfiguration.
-
hasAdditionalNetworks
public boolean hasAdditionalNetworks().google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
- Specified by:
hasAdditionalNetworks
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the additionalNetworks field is set.
-
getAdditionalNetworks
public com.google.protobuf.Struct getAdditionalNetworks().google.protobuf.Struct additional_networks = 7 [json_name = "additionalNetworks"];
- Specified by:
getAdditionalNetworks
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The additionalNetworks.
-
hasSystemConfiguration
public boolean hasSystemConfiguration().google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
- Specified by:
hasSystemConfiguration
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- Whether the systemConfiguration field is set.
-
getSystemConfiguration
public com.google.protobuf.Struct getSystemConfiguration().google.protobuf.Struct system_configuration = 8 [json_name = "systemConfiguration"];
- Specified by:
getSystemConfiguration
in interfaceAgent.DeviceAgentConfigResponseOrBuilder
- Returns:
- The systemConfiguration.
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Agent.DeviceAgentConfigResponse parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Agent.DeviceAgentConfigResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Agent.DeviceAgentConfigResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Agent.DeviceAgentConfigResponse.Builder newBuilder(Agent.DeviceAgentConfigResponse prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Agent.DeviceAgentConfigResponse,
Agent.DeviceAgentConfigResponse.Builder>
-
getDefaultInstance
-
parser
-