Package viam.app.v1

Class App.RegistryItem

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<App.RegistryItem,App.RegistryItem.Builder>
viam.app.v1.App.RegistryItem
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, App.RegistryItemOrBuilder
Enclosing class:
App

public static final class App.RegistryItem extends com.google.protobuf.GeneratedMessageLite<App.RegistryItem,App.RegistryItem.Builder> implements App.RegistryItemOrBuilder
Protobuf type viam.app.v1.RegistryItem
  • Field Details

    • ITEM_ID_FIELD_NUMBER

      public static final int ITEM_ID_FIELD_NUMBER
      See Also:
    • ORGANIZATION_ID_FIELD_NUMBER

      public static final int ORGANIZATION_ID_FIELD_NUMBER
      See Also:
    • PUBLIC_NAMESPACE_FIELD_NUMBER

      public static final int PUBLIC_NAMESPACE_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • VISIBILITY_FIELD_NUMBER

      public static final int VISIBILITY_FIELD_NUMBER
      See Also:
    • URL_FIELD_NUMBER

      public static final int URL_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • TOTAL_ROBOT_USAGE_FIELD_NUMBER

      public static final int TOTAL_ROBOT_USAGE_FIELD_NUMBER
      See Also:
    • TOTAL_EXTERNAL_ROBOT_USAGE_FIELD_NUMBER

      public static final int TOTAL_EXTERNAL_ROBOT_USAGE_FIELD_NUMBER
      See Also:
    • TOTAL_ORGANIZATION_USAGE_FIELD_NUMBER

      public static final int TOTAL_ORGANIZATION_USAGE_FIELD_NUMBER
      See Also:
    • TOTAL_EXTERNAL_ORGANIZATION_USAGE_FIELD_NUMBER

      public static final int TOTAL_EXTERNAL_ORGANIZATION_USAGE_FIELD_NUMBER
      See Also:
    • MODULE_METADATA_FIELD_NUMBER

      public static final int MODULE_METADATA_FIELD_NUMBER
      See Also:
    • ML_MODEL_METADATA_FIELD_NUMBER

      public static final int ML_MODEL_METADATA_FIELD_NUMBER
      See Also:
    • ML_TRAINING_METADATA_FIELD_NUMBER

      public static final int ML_TRAINING_METADATA_FIELD_NUMBER
      See Also:
    • CREATED_AT_FIELD_NUMBER

      public static final int CREATED_AT_FIELD_NUMBER
      See Also:
    • UPDATED_AT_FIELD_NUMBER

      public static final int UPDATED_AT_FIELD_NUMBER
      See Also:
  • Method Details

    • getMetadataCase

      public App.RegistryItem.MetadataCase getMetadataCase()
      Specified by:
      getMetadataCase in interface App.RegistryItemOrBuilder
    • getItemId

      public String getItemId()
       The id of the item, containing either:
       namespace:item_name when a namespace exists on the org.
       org_id:item_name when a namespace does not exist.
       
      string item_id = 1 [json_name = "itemId"];
      Specified by:
      getItemId in interface App.RegistryItemOrBuilder
      Returns:
      The itemId.
    • getItemIdBytes

      public com.google.protobuf.ByteString getItemIdBytes()
       The id of the item, containing either:
       namespace:item_name when a namespace exists on the org.
       org_id:item_name when a namespace does not exist.
       
      string item_id = 1 [json_name = "itemId"];
      Specified by:
      getItemIdBytes in interface App.RegistryItemOrBuilder
      Returns:
      The bytes for itemId.
    • getOrganizationId

      public String getOrganizationId()
       The id of the organization that owns the item
       
      string organization_id = 2 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.RegistryItemOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       The id of the organization that owns the item
       
      string organization_id = 2 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface App.RegistryItemOrBuilder
      Returns:
      The bytes for organizationId.
    • getPublicNamespace

      public String getPublicNamespace()
       The public namespace of the organization that owns the module
       This is empty if no public namespace is set
       
      string public_namespace = 3 [json_name = "publicNamespace"];
      Specified by:
      getPublicNamespace in interface App.RegistryItemOrBuilder
      Returns:
      The publicNamespace.
    • getPublicNamespaceBytes

      public com.google.protobuf.ByteString getPublicNamespaceBytes()
       The public namespace of the organization that owns the module
       This is empty if no public namespace is set
       
      string public_namespace = 3 [json_name = "publicNamespace"];
      Specified by:
      getPublicNamespaceBytes in interface App.RegistryItemOrBuilder
      Returns:
      The bytes for publicNamespace.
    • getName

      public String getName()
       The name of the registry item
       
      string name = 4 [json_name = "name"];
      Specified by:
      getName in interface App.RegistryItemOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the registry item
       
      string name = 4 [json_name = "name"];
      Specified by:
      getNameBytes in interface App.RegistryItemOrBuilder
      Returns:
      The bytes for name.
    • getTypeValue

      public int getTypeValue()
       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 5 [json_name = "type"];
      Specified by:
      getTypeValue in interface App.RegistryItemOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public Packages.PackageType getType()
       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 5 [json_name = "type"];
      Specified by:
      getType in interface App.RegistryItemOrBuilder
      Returns:
      The type.
    • getVisibilityValue

      public int getVisibilityValue()
       The visibility of the registry item
       
      .viam.app.v1.Visibility visibility = 6 [json_name = "visibility"];
      Specified by:
      getVisibilityValue in interface App.RegistryItemOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • getVisibility

      public App.Visibility getVisibility()
       The visibility of the registry item
       
      .viam.app.v1.Visibility visibility = 6 [json_name = "visibility"];
      Specified by:
      getVisibility in interface App.RegistryItemOrBuilder
      Returns:
      The visibility.
    • getUrl

      public String getUrl()
       The url to reference for documentation, code, etc.
       
      string url = 7 [json_name = "url"];
      Specified by:
      getUrl in interface App.RegistryItemOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       The url to reference for documentation, code, etc.
       
      string url = 7 [json_name = "url"];
      Specified by:
      getUrlBytes in interface App.RegistryItemOrBuilder
      Returns:
      The bytes for url.
    • getDescription

      public String getDescription()
       A short description of the item that explains its purpose
       
      string description = 8 [json_name = "description"];
      Specified by:
      getDescription in interface App.RegistryItemOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A short description of the item that explains its purpose
       
      string description = 8 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface App.RegistryItemOrBuilder
      Returns:
      The bytes for description.
    • getTotalRobotUsage

      public long getTotalRobotUsage()
       The total number of robots using this item
       
      int64 total_robot_usage = 9 [json_name = "totalRobotUsage"];
      Specified by:
      getTotalRobotUsage in interface App.RegistryItemOrBuilder
      Returns:
      The totalRobotUsage.
    • getTotalExternalRobotUsage

      public long getTotalExternalRobotUsage()
       The total number of robots using this item outside of the owning org
       
      int64 total_external_robot_usage = 13 [json_name = "totalExternalRobotUsage"];
      Specified by:
      getTotalExternalRobotUsage in interface App.RegistryItemOrBuilder
      Returns:
      The totalExternalRobotUsage.
    • getTotalOrganizationUsage

      public long getTotalOrganizationUsage()
       The total number of organizations using this item
       
      int64 total_organization_usage = 10 [json_name = "totalOrganizationUsage"];
      Specified by:
      getTotalOrganizationUsage in interface App.RegistryItemOrBuilder
      Returns:
      The totalOrganizationUsage.
    • getTotalExternalOrganizationUsage

      public long getTotalExternalOrganizationUsage()
       The total number of organizations using this item outside of the owning org
       
      int64 total_external_organization_usage = 14 [json_name = "totalExternalOrganizationUsage"];
      Specified by:
      getTotalExternalOrganizationUsage in interface App.RegistryItemOrBuilder
      Returns:
      The totalExternalOrganizationUsage.
    • hasModuleMetadata

      public boolean hasModuleMetadata()
      .viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];
      Specified by:
      hasModuleMetadata in interface App.RegistryItemOrBuilder
      Returns:
      Whether the moduleMetadata field is set.
    • getModuleMetadata

      public App.ModuleMetadata getModuleMetadata()
      .viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];
      Specified by:
      getModuleMetadata in interface App.RegistryItemOrBuilder
      Returns:
      The moduleMetadata.
    • hasMlModelMetadata

      public boolean hasMlModelMetadata()
      .viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];
      Specified by:
      hasMlModelMetadata in interface App.RegistryItemOrBuilder
      Returns:
      Whether the mlModelMetadata field is set.
    • getMlModelMetadata

      public App.MLModelMetadata getMlModelMetadata()
      .viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];
      Specified by:
      getMlModelMetadata in interface App.RegistryItemOrBuilder
      Returns:
      The mlModelMetadata.
    • hasMlTrainingMetadata

      public boolean hasMlTrainingMetadata()
      .viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];
      Specified by:
      hasMlTrainingMetadata in interface App.RegistryItemOrBuilder
      Returns:
      Whether the mlTrainingMetadata field is set.
    • getMlTrainingMetadata

      public App.MLTrainingMetadata getMlTrainingMetadata()
      .viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];
      Specified by:
      getMlTrainingMetadata in interface App.RegistryItemOrBuilder
      Returns:
      The mlTrainingMetadata.
    • hasCreatedAt

      public boolean hasCreatedAt()
       When the item was created
       
      .google.protobuf.Timestamp created_at = 15 [json_name = "createdAt"];
      Specified by:
      hasCreatedAt in interface App.RegistryItemOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
       When the item was created
       
      .google.protobuf.Timestamp created_at = 15 [json_name = "createdAt"];
      Specified by:
      getCreatedAt in interface App.RegistryItemOrBuilder
      Returns:
      The createdAt.
    • hasUpdatedAt

      public boolean hasUpdatedAt()
       When the item was last updated, either through an update or upload.
       
      .google.protobuf.Timestamp updated_at = 16 [json_name = "updatedAt"];
      Specified by:
      hasUpdatedAt in interface App.RegistryItemOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
       When the item was last updated, either through an update or upload.
       
      .google.protobuf.Timestamp updated_at = 16 [json_name = "updatedAt"];
      Specified by:
      getUpdatedAt in interface App.RegistryItemOrBuilder
      Returns:
      The updatedAt.
    • parseFrom

      public static App.RegistryItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.RegistryItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.RegistryItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.RegistryItem 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.RegistryItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static App.RegistryItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static App.RegistryItem parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static App.RegistryItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static App.RegistryItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

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

      public static App.RegistryItem.Builder newBuilder(App.RegistryItem 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.RegistryItem,App.RegistryItem.Builder>
    • getDefaultInstance

      public static App.RegistryItem getDefaultInstance()
    • parser

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