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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.RegistryItem
static enum
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
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
When the item was createdstatic App.RegistryItem
A short description of the item that explains its purposecom.google.protobuf.ByteString
A short description of the item that explains its purposeThe id of the item, containing either: namespace:item_name when a namespace exists on the org.com.google.protobuf.ByteString
The id of the item, containing either: namespace:item_name when a namespace exists on the org..viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];
.viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];
.viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];
getName()
The name of the registry itemcom.google.protobuf.ByteString
The name of the registry itemThe id of the organization that owns the itemcom.google.protobuf.ByteString
The id of the organization that owns the itemThe public namespace of the organization that owns the module This is empty if no public namespace is setcom.google.protobuf.ByteString
The public namespace of the organization that owns the module This is empty if no public namespace is setlong
The total number of organizations using this item outside of the owning orglong
The total number of robots using this item outside of the owning orglong
The total number of organizations using this itemlong
The total number of robots using this itemgetType()
The type of the item in the registryint
The type of the item in the registrycom.google.protobuf.Timestamp
When the item was last updated, either through an update or upload.getUrl()
The url to reference for documentation, code, etc.com.google.protobuf.ByteString
The url to reference for documentation, code, etc.The visibility of the registry itemint
The visibility of the registry itemboolean
When the item was createdboolean
.viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];
boolean
.viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];
boolean
.viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];
boolean
When the item was last updated, either through an update or upload.static App.RegistryItem.Builder
static App.RegistryItem.Builder
newBuilder
(App.RegistryItem prototype) static App.RegistryItem
parseDelimitedFrom
(InputStream input) static App.RegistryItem
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RegistryItem
parseFrom
(byte[] data) static App.RegistryItem
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RegistryItem
parseFrom
(com.google.protobuf.ByteString data) static App.RegistryItem
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RegistryItem
parseFrom
(com.google.protobuf.CodedInputStream input) static App.RegistryItem
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RegistryItem
parseFrom
(InputStream input) static App.RegistryItem
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static App.RegistryItem
parseFrom
(ByteBuffer data) static App.RegistryItem
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<App.RegistryItem>
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
-
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
- Specified by:
getMetadataCase
in interfaceApp.RegistryItemOrBuilder
-
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 interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The bytes for itemId.
-
getOrganizationId
The id of the organization that owns the item
string organization_id = 2 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The bytes for organizationId.
-
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 interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The bytes for publicNamespace.
-
getName
The name of the registry item
string name = 4 [json_name = "name"];
- Specified by:
getName
in interfaceApp.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 interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
The type of the item in the registry
.viam.app.packages.v1.PackageType type = 5 [json_name = "type"];
- Specified by:
getType
in interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
getVisibility
The visibility of the registry item
.viam.app.v1.Visibility visibility = 6 [json_name = "visibility"];
- Specified by:
getVisibility
in interfaceApp.RegistryItemOrBuilder
- Returns:
- The visibility.
-
getUrl
The url to reference for documentation, code, etc.
string url = 7 [json_name = "url"];
- Specified by:
getUrl
in interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The bytes for url.
-
getDescription
A short description of the item that explains its purpose
string description = 8 [json_name = "description"];
- Specified by:
getDescription
in interfaceApp.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 interfaceApp.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 interfaceApp.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 interfaceApp.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 interfaceApp.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 interfaceApp.RegistryItemOrBuilder
- Returns:
- The totalExternalOrganizationUsage.
-
hasModuleMetadata
public boolean hasModuleMetadata().viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];
- Specified by:
hasModuleMetadata
in interfaceApp.RegistryItemOrBuilder
- Returns:
- Whether the moduleMetadata field is set.
-
getModuleMetadata
.viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];
- Specified by:
getModuleMetadata
in interfaceApp.RegistryItemOrBuilder
- Returns:
- The moduleMetadata.
-
hasMlModelMetadata
public boolean hasMlModelMetadata().viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];
- Specified by:
hasMlModelMetadata
in interfaceApp.RegistryItemOrBuilder
- Returns:
- Whether the mlModelMetadata field is set.
-
getMlModelMetadata
.viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];
- Specified by:
getMlModelMetadata
in interfaceApp.RegistryItemOrBuilder
- Returns:
- The mlModelMetadata.
-
hasMlTrainingMetadata
public boolean hasMlTrainingMetadata().viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];
- Specified by:
hasMlTrainingMetadata
in interfaceApp.RegistryItemOrBuilder
- Returns:
- Whether the mlTrainingMetadata field is set.
-
getMlTrainingMetadata
.viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];
- Specified by:
getMlTrainingMetadata
in interfaceApp.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 interfaceApp.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 interfaceApp.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 interfaceApp.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 interfaceApp.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
- Throws:
IOException
-
parseFrom
public static App.RegistryItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
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.RegistryItem,
App.RegistryItem.Builder>
-
getDefaultInstance
-
parser
-