Package viam.app.v1
Class AppOuterClass.RobotPart
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<AppOuterClass.RobotPart,AppOuterClass.RobotPart.Builder>
viam.app.v1.AppOuterClass.RobotPart
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,AppOuterClass.RobotPartOrBuilder
- Enclosing class:
- AppOuterClass
public static final class AppOuterClass.RobotPart
extends com.google.protobuf.GeneratedMessageLite<AppOuterClass.RobotPart,AppOuterClass.RobotPart.Builder>
implements AppOuterClass.RobotPartOrBuilder
Protobuf type
viam.app.v1.RobotPart-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.app.v1.RobotPartNested 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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(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 AppOuterClass.RobotPartdns_name part name used for fqdn and local fqdn.com.google.protobuf.ByteStringdns_name part name used for fqdn and local fqdn.getFqdn()string fqdn = 9 [json_name = "fqdn"];com.google.protobuf.ByteStringstring fqdn = 9 [json_name = "fqdn"];getId()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];com.google.protobuf.ByteStringstring 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.Timestamplatest timestamp when a robot part was updatedstring local_fqdn = 11 [json_name = "localFqdn"];com.google.protobuf.ByteStringstring local_fqdn = 11 [json_name = "localFqdn"];Store the location_id to allow for unique indexes across parts and locations.com.google.protobuf.ByteStringStore the location_id to allow for unique indexes across parts and locations.booleanbool 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.ByteStringstring 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.ByteStringstring 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.ByteStringstring secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];getSecrets(int index) List of secrets allowed for authentication.intList of secrets allowed for authentication.List of secrets allowed for authentication.getSecretsOrBuilder(int index) List of secrets allowed for authentication.List<? extends AppOuterClass.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\""];booleanlatest 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\""];newBuilder(AppOuterClass.RobotPart prototype) static AppOuterClass.RobotPartparseDelimitedFrom(InputStream input) static AppOuterClass.RobotPartparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RobotPartparseFrom(byte[] data) static AppOuterClass.RobotPartparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RobotPartparseFrom(com.google.protobuf.ByteString data) static AppOuterClass.RobotPartparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RobotPartparseFrom(com.google.protobuf.CodedInputStream input) static AppOuterClass.RobotPartparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RobotPartparseFrom(InputStream input) static AppOuterClass.RobotPartparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RobotPartparseFrom(ByteBuffer data) static AppOuterClass.RobotPartparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppOuterClass.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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getIdin interfaceAppOuterClass.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:
getIdBytesin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The bytes for id.
-
getName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Specified by:
getNamein interfaceAppOuterClass.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:
getNameBytesin interfaceAppOuterClass.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:
getDnsNamein interfaceAppOuterClass.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:
getDnsNameBytesin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The bytes for dnsName.
-
getSecret
string secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];- Specified by:
getSecretin interfaceAppOuterClass.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:
getSecretBytesin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The bytes for secret.
-
getRobot
string robot = 4 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];- Specified by:
getRobotin interfaceAppOuterClass.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:
getRobotBytesin interfaceAppOuterClass.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:
getLocationIdin interfaceAppOuterClass.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:
getLocationIdBytesin interfaceAppOuterClass.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:
hasRobotConfigin interfaceAppOuterClass.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:
getRobotConfigin interfaceAppOuterClass.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:
hasLastAccessin interfaceAppOuterClass.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:
getLastAccessin interfaceAppOuterClass.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:
hasUserSuppliedInfoin interfaceAppOuterClass.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:
getUserSuppliedInfoin interfaceAppOuterClass.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:
getMainPartin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The mainPart.
-
getFqdn
string fqdn = 9 [json_name = "fqdn"];- Specified by:
getFqdnin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()string fqdn = 9 [json_name = "fqdn"];- Specified by:
getFqdnBytesin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The bytes for fqdn.
-
getLocalFqdn
string local_fqdn = 11 [json_name = "localFqdn"];- Specified by:
getLocalFqdnin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The localFqdn.
-
getLocalFqdnBytes
public com.google.protobuf.ByteString getLocalFqdnBytes()string local_fqdn = 11 [json_name = "localFqdn"];- Specified by:
getLocalFqdnBytesin interfaceAppOuterClass.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:
hasCreatedOnin interfaceAppOuterClass.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:
getCreatedOnin interfaceAppOuterClass.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:
getSecretsListin interfaceAppOuterClass.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:
getSecretsCountin interfaceAppOuterClass.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:
getSecretsin interfaceAppOuterClass.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:
hasLastUpdatedin interfaceAppOuterClass.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:
getLastUpdatedin interfaceAppOuterClass.RobotPartOrBuilder- Returns:
- The lastUpdated.
-
parseFrom
public static AppOuterClass.RobotPart parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RobotPart parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RobotPart parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.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 AppOuterClass.RobotPart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.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 AppOuterClass.RobotPart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AppOuterClass.RobotPart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.RobotPart parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<AppOuterClass.RobotPart,AppOuterClass.RobotPart.Builder>
-
getDefaultInstance
-
parser
-