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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type viam.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

    Fields
    Modifier and Type
    Field
    Description
    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
     
    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 Type
    Method
    Description
    protected 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\""];
     
    dns_name part name used for fqdn and local fqdn.
    com.google.protobuf.ByteString
    dns_name part name used for fqdn and local fqdn.
    string fqdn = 9 [json_name = "fqdn"];
    com.google.protobuf.ByteString
    string fqdn = 9 [json_name = "fqdn"];
    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 updated
    string 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\""];
    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\""];
    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.
    List of secrets allowed for authentication.
    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 updated
    boolean
    .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\""];
     
     
     
    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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<App.RobotPart>
     

    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

  • Method Details

    • getId

      public String getId()
      string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
      Specified by:
      getId in interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The bytes for id.
    • getName

      public String getName()
      string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];
      Specified by:
      getName in interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The bytes for name.
    • getDnsName

      public String 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 interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The bytes for dnsName.
    • getSecret

      public String getSecret()
      string secret = 3 [json_name = "secret", (.tagger.v1.tags) = "bson:\"secret\" json:\"secret,omitempty\""];
      Specified by:
      getSecret in interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The bytes for secret.
    • getRobot

      public String getRobot()
      string robot = 4 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
      Specified by:
      getRobot in interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The bytes for robot.
    • getLocationId

      public String 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 interface App.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 interface App.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 interface App.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 interface App.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 interface App.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 interface App.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 interface App.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 interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The mainPart.
    • getFqdn

      public String getFqdn()
      string fqdn = 9 [json_name = "fqdn"];
      Specified by:
      getFqdn in interface App.RobotPartOrBuilder
      Returns:
      The fqdn.
    • getFqdnBytes

      public com.google.protobuf.ByteString getFqdnBytes()
      string fqdn = 9 [json_name = "fqdn"];
      Specified by:
      getFqdnBytes in interface App.RobotPartOrBuilder
      Returns:
      The bytes for fqdn.
    • getLocalFqdn

      public String getLocalFqdn()
      string local_fqdn = 11 [json_name = "localFqdn"];
      Specified by:
      getLocalFqdn in interface App.RobotPartOrBuilder
      Returns:
      The localFqdn.
    • getLocalFqdnBytes

      public com.google.protobuf.ByteString getLocalFqdnBytes()
      string local_fqdn = 11 [json_name = "localFqdn"];
      Specified by:
      getLocalFqdnBytes in interface App.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 interface App.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 interface App.RobotPartOrBuilder
      Returns:
      The createdOn.
    • getSecretsList

      public List<App.SharedSecret> 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 interface App.RobotPartOrBuilder
    • getSecretsOrBuilderList

      public List<? extends App.SharedSecretOrBuilder> 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 interface App.RobotPartOrBuilder
    • getSecrets

      public App.SharedSecret getSecrets(int index)
       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 interface App.RobotPartOrBuilder
    • getSecretsOrBuilder

      public App.SharedSecretOrBuilder getSecretsOrBuilder(int index)
       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 interface App.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 interface App.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

      public static App.RobotPart parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.RobotPart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static App.RobotPart parseDelimitedFrom(InputStream input) throws IOException
      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

      public static App.RobotPart.Builder newBuilder()
    • newBuilder

      public static App.RobotPart.Builder newBuilder(App.RobotPart prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<App.RobotPart,App.RobotPart.Builder>
    • getDefaultInstance

      public static App.RobotPart getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<App.RobotPart> parser()