Package viam.app.v1
Class App.RobotPart
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<App.RobotPart,App.RobotPart.Builder>
viam.app.v1.App.RobotPart
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,App.RobotPartOrBuilder
- Enclosing class:
- App
public static final class App.RobotPart
extends com.google.protobuf.GeneratedMessageLite<App.RobotPart,App.RobotPart.Builder>
implements App.RobotPartOrBuilder
Protobuf type
viam.app.v1.RobotPart
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.RobotPart
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
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) com.google.protobuf.Timestamp
.google.protobuf.Timestamp created_on = 13 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
static App.RobotPart
dns_name part name used for fqdn and local fqdn.com.google.protobuf.ByteString
dns_name part name used for fqdn and local fqdn.getFqdn()
string fqdn = 9 [json_name = "fqdn"];
com.google.protobuf.ByteString
string fqdn = 9 [json_name = "fqdn"];
getId()
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
com.google.protobuf.ByteString
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp last_access = 6 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];
com.google.protobuf.Timestamp
latest timestamp when a robot part was updatedstring local_fqdn = 11 [json_name = "localFqdn"];
com.google.protobuf.ByteString
string local_fqdn = 11 [json_name = "localFqdn"];
Store the location_id to allow for unique indexes across parts and locations.com.google.protobuf.ByteString
Store the location_id to allow for unique indexes across parts and locations.boolean
bool main_part = 8 [json_name = "mainPart", (.tagger.v1.tags) = "bson:\"main_part\" json:\"main_part\""];
getName()
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
com.google.protobuf.ByteString
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
getRobot()
string robot = 4 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
com.google.protobuf.ByteString
string robot = 4 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
com.google.protobuf.Struct
.google.protobuf.Struct robot_config = 5 [json_name = "robotConfig", (.tagger.v1.tags) = "bson:\"config\" json:\"robot_config\""];
string secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];
com.google.protobuf.ByteString
string secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];
getSecrets
(int index) List of secrets allowed for authentication.int
List of secrets allowed for authentication.List of secrets allowed for authentication.getSecretsOrBuilder
(int index) List of secrets allowed for authentication.List<? extends App.SharedSecretOrBuilder>
List of secrets allowed for authentication.com.google.protobuf.Struct
.google.protobuf.Struct user_supplied_info = 7 [json_name = "userSuppliedInfo", (.tagger.v1.tags) = "bson:\"user_supplied_info\" json:\"user_supplied_info\""];
boolean
.google.protobuf.Timestamp created_on = 13 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
boolean
.google.protobuf.Timestamp last_access = 6 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];
boolean
latest timestamp when a robot part was updatedboolean
.google.protobuf.Struct robot_config = 5 [json_name = "robotConfig", (.tagger.v1.tags) = "bson:\"config\" json:\"robot_config\""];
boolean
.google.protobuf.Struct user_supplied_info = 7 [json_name = "userSuppliedInfo", (.tagger.v1.tags) = "bson:\"user_supplied_info\" json:\"user_supplied_info\""];
static App.RobotPart.Builder
static App.RobotPart.Builder
newBuilder
(App.RobotPart prototype) static App.RobotPart
parseDelimitedFrom
(InputStream input) static App.RobotPart
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RobotPart
parseFrom
(byte[] data) static App.RobotPart
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RobotPart
parseFrom
(com.google.protobuf.ByteString data) static App.RobotPart
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RobotPart
parseFrom
(com.google.protobuf.CodedInputStream input) static App.RobotPart
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RobotPart
parseFrom
(InputStream input) static App.RobotPart
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RobotPart
parseFrom
(ByteBuffer data) static App.RobotPart
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<App.RobotPart>
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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DNS_NAME_FIELD_NUMBER
public static final int DNS_NAME_FIELD_NUMBER- See Also:
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER- See Also:
-
ROBOT_FIELD_NUMBER
public static final int ROBOT_FIELD_NUMBER- See Also:
-
LOCATION_ID_FIELD_NUMBER
public static final int LOCATION_ID_FIELD_NUMBER- See Also:
-
ROBOT_CONFIG_FIELD_NUMBER
public static final int ROBOT_CONFIG_FIELD_NUMBER- See Also:
-
LAST_ACCESS_FIELD_NUMBER
public static final int LAST_ACCESS_FIELD_NUMBER- See Also:
-
USER_SUPPLIED_INFO_FIELD_NUMBER
public static final int USER_SUPPLIED_INFO_FIELD_NUMBER- See Also:
-
MAIN_PART_FIELD_NUMBER
public static final int MAIN_PART_FIELD_NUMBER- See Also:
-
FQDN_FIELD_NUMBER
public static final int FQDN_FIELD_NUMBER- See Also:
-
LOCAL_FQDN_FIELD_NUMBER
public static final int LOCAL_FQDN_FIELD_NUMBER- See Also:
-
CREATED_ON_FIELD_NUMBER
public static final int CREATED_ON_FIELD_NUMBER- See Also:
-
SECRETS_FIELD_NUMBER
public static final int SECRETS_FIELD_NUMBER- See Also:
-
LAST_UPDATED_FIELD_NUMBER
public static final int LAST_UPDATED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
- Specified by:
getId
in interfaceApp.RobotPartOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
- Specified by:
getIdBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for id.
-
getName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
- Specified by:
getName
in interfaceApp.RobotPartOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
- Specified by:
getNameBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for name.
-
getDnsName
dns_name part name used for fqdn and local fqdn. Anytime the Name is updated this should be sanitized and updated as well.
string dns_name = 10 [json_name = "dnsName", (.tagger.v1.tags) = "bson:\"dns_name\" json:\"dns_name\""];
- Specified by:
getDnsName
in interfaceApp.RobotPartOrBuilder
- Returns:
- The dnsName.
-
getDnsNameBytes
public com.google.protobuf.ByteString getDnsNameBytes()dns_name part name used for fqdn and local fqdn. Anytime the Name is updated this should be sanitized and updated as well.
string dns_name = 10 [json_name = "dnsName", (.tagger.v1.tags) = "bson:\"dns_name\" json:\"dns_name\""];
- Specified by:
getDnsNameBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for dnsName.
-
getSecret
string secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];
- Specified by:
getSecret
in interfaceApp.RobotPartOrBuilder
- Returns:
- The secret.
-
getSecretBytes
public com.google.protobuf.ByteString getSecretBytes()string secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];
- Specified by:
getSecretBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for secret.
-
getRobot
string robot = 4 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
- Specified by:
getRobot
in interfaceApp.RobotPartOrBuilder
- Returns:
- The robot.
-
getRobotBytes
public com.google.protobuf.ByteString getRobotBytes()string robot = 4 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
- Specified by:
getRobotBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for robot.
-
getLocationId
Store the location_id to allow for unique indexes across parts and locations. This filed MUST be updated each time the robots location changes.
string location_id = 12 [json_name = "locationId", (.tagger.v1.tags) = "bson:\"location_id\" json:\"-\""];
- Specified by:
getLocationId
in interfaceApp.RobotPartOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()Store the location_id to allow for unique indexes across parts and locations. This filed MUST be updated each time the robots location changes.
string location_id = 12 [json_name = "locationId", (.tagger.v1.tags) = "bson:\"location_id\" json:\"-\""];
- Specified by:
getLocationIdBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for locationId.
-
hasRobotConfig
public boolean hasRobotConfig().google.protobuf.Struct robot_config = 5 [json_name = "robotConfig", (.tagger.v1.tags) = "bson:\"config\" json:\"robot_config\""];
- Specified by:
hasRobotConfig
in interfaceApp.RobotPartOrBuilder
- Returns:
- Whether the robotConfig field is set.
-
getRobotConfig
public com.google.protobuf.Struct getRobotConfig().google.protobuf.Struct robot_config = 5 [json_name = "robotConfig", (.tagger.v1.tags) = "bson:\"config\" json:\"robot_config\""];
- Specified by:
getRobotConfig
in interfaceApp.RobotPartOrBuilder
- Returns:
- The robotConfig.
-
hasLastAccess
public boolean hasLastAccess().google.protobuf.Timestamp last_access = 6 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];
- Specified by:
hasLastAccess
in interfaceApp.RobotPartOrBuilder
- Returns:
- Whether the lastAccess field is set.
-
getLastAccess
public com.google.protobuf.Timestamp getLastAccess().google.protobuf.Timestamp last_access = 6 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];
- Specified by:
getLastAccess
in interfaceApp.RobotPartOrBuilder
- Returns:
- The lastAccess.
-
hasUserSuppliedInfo
public boolean hasUserSuppliedInfo().google.protobuf.Struct user_supplied_info = 7 [json_name = "userSuppliedInfo", (.tagger.v1.tags) = "bson:\"user_supplied_info\" json:\"user_supplied_info\""];
- Specified by:
hasUserSuppliedInfo
in interfaceApp.RobotPartOrBuilder
- Returns:
- Whether the userSuppliedInfo field is set.
-
getUserSuppliedInfo
public com.google.protobuf.Struct getUserSuppliedInfo().google.protobuf.Struct user_supplied_info = 7 [json_name = "userSuppliedInfo", (.tagger.v1.tags) = "bson:\"user_supplied_info\" json:\"user_supplied_info\""];
- Specified by:
getUserSuppliedInfo
in interfaceApp.RobotPartOrBuilder
- Returns:
- The userSuppliedInfo.
-
getMainPart
public boolean getMainPart()bool main_part = 8 [json_name = "mainPart", (.tagger.v1.tags) = "bson:\"main_part\" json:\"main_part\""];
- Specified by:
getMainPart
in interfaceApp.RobotPartOrBuilder
- Returns:
- The mainPart.
-
getFqdn
string fqdn = 9 [json_name = "fqdn"];
- Specified by:
getFqdn
in interfaceApp.RobotPartOrBuilder
- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()string fqdn = 9 [json_name = "fqdn"];
- Specified by:
getFqdnBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for fqdn.
-
getLocalFqdn
string local_fqdn = 11 [json_name = "localFqdn"];
- Specified by:
getLocalFqdn
in interfaceApp.RobotPartOrBuilder
- Returns:
- The localFqdn.
-
getLocalFqdnBytes
public com.google.protobuf.ByteString getLocalFqdnBytes()string local_fqdn = 11 [json_name = "localFqdn"];
- Specified by:
getLocalFqdnBytes
in interfaceApp.RobotPartOrBuilder
- Returns:
- The bytes for localFqdn.
-
hasCreatedOn
public boolean hasCreatedOn().google.protobuf.Timestamp created_on = 13 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
- Specified by:
hasCreatedOn
in interfaceApp.RobotPartOrBuilder
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn().google.protobuf.Timestamp created_on = 13 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];
- Specified by:
getCreatedOn
in interfaceApp.RobotPartOrBuilder
- Returns:
- The createdOn.
-
getSecretsList
List of secrets allowed for authentication.
repeated .viam.app.v1.SharedSecret secrets = 14 [json_name = "secrets", (.tagger.v1.tags) = "bson:\"secrets\""];
- Specified by:
getSecretsList
in interfaceApp.RobotPartOrBuilder
-
getSecretsOrBuilderList
List of secrets allowed for authentication.
repeated .viam.app.v1.SharedSecret secrets = 14 [json_name = "secrets", (.tagger.v1.tags) = "bson:\"secrets\""];
-
getSecretsCount
public int getSecretsCount()List of secrets allowed for authentication.
repeated .viam.app.v1.SharedSecret secrets = 14 [json_name = "secrets", (.tagger.v1.tags) = "bson:\"secrets\""];
- Specified by:
getSecretsCount
in interfaceApp.RobotPartOrBuilder
-
getSecrets
List of secrets allowed for authentication.
repeated .viam.app.v1.SharedSecret secrets = 14 [json_name = "secrets", (.tagger.v1.tags) = "bson:\"secrets\""];
- Specified by:
getSecrets
in interfaceApp.RobotPartOrBuilder
-
getSecretsOrBuilder
List of secrets allowed for authentication.
repeated .viam.app.v1.SharedSecret secrets = 14 [json_name = "secrets", (.tagger.v1.tags) = "bson:\"secrets\""];
-
hasLastUpdated
public boolean hasLastUpdated()latest timestamp when a robot part was updated
.google.protobuf.Timestamp last_updated = 15 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""];
- Specified by:
hasLastUpdated
in interfaceApp.RobotPartOrBuilder
- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()latest timestamp when a robot part was updated
.google.protobuf.Timestamp last_updated = 15 [json_name = "lastUpdated", (.tagger.v1.tags) = "bson:\"last_updated_at\""];
- Specified by:
getLastUpdated
in interfaceApp.RobotPartOrBuilder
- Returns:
- The lastUpdated.
-
parseFrom
public static App.RobotPart parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.RobotPart parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.RobotPart parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.RobotPart parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.RobotPart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static App.RobotPart parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static App.RobotPart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static App.RobotPart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static App.RobotPart parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static App.RobotPart 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<App.RobotPart,
App.RobotPart.Builder>
-
getDefaultInstance
-
parser
-