Package viam.app.v1
Class AppOuterClass.RegistryItem
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<AppOuterClass.RegistryItem,AppOuterClass.RegistryItem.Builder>
viam.app.v1.AppOuterClass.RegistryItem
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,AppOuterClass.RegistryItemOrBuilder
- Enclosing class:
- AppOuterClass
public static final class AppOuterClass.RegistryItem
extends com.google.protobuf.GeneratedMessageLite<AppOuterClass.RegistryItem,AppOuterClass.RegistryItem.Builder>
implements AppOuterClass.RegistryItemOrBuilder
Protobuf type
viam.app.v1.RegistryItem-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.app.v1.RegistryItemstatic enumNested 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 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.TimestampWhen the item was createdstatic AppOuterClass.RegistryItemA short description of the item that explains its purposecom.google.protobuf.ByteStringA 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.ByteStringThe 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.ByteStringThe name of the registry itemThe id of the organization that owns the itemcom.google.protobuf.ByteStringThe 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.ByteStringThe public namespace of the organization that owns the module This is empty if no public namespace is setlongThe total number of organizations using this item outside of the owning orglongThe total number of robots using this item outside of the owning orglongThe total number of organizations using this itemlongThe total number of robots using this itemgetType()The type of the item in the registryintThe type of the item in the registrycom.google.protobuf.TimestampWhen the item was last updated, either through an update or upload.getUrl()The url to reference for documentation, code, etc.com.google.protobuf.ByteStringThe url to reference for documentation, code, etc.The visibility of the registry itemintThe visibility of the registry itembooleanWhen 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"];booleanWhen the item was last updated, either through an update or upload.newBuilder(AppOuterClass.RegistryItem prototype) static AppOuterClass.RegistryItemparseDelimitedFrom(InputStream input) static AppOuterClass.RegistryItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RegistryItemparseFrom(byte[] data) static AppOuterClass.RegistryItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RegistryItemparseFrom(com.google.protobuf.ByteString data) static AppOuterClass.RegistryItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RegistryItemparseFrom(com.google.protobuf.CodedInputStream input) static AppOuterClass.RegistryItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RegistryItemparseFrom(InputStream input) static AppOuterClass.RegistryItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppOuterClass.RegistryItemparseFrom(ByteBuffer data) static AppOuterClass.RegistryItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppOuterClass.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, 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
-
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:
getMetadataCasein interfaceAppOuterClass.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:
getItemIdin interfaceAppOuterClass.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:
getItemIdBytesin interfaceAppOuterClass.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:
getOrganizationIdin interfaceAppOuterClass.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:
getOrganizationIdBytesin interfaceAppOuterClass.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:
getPublicNamespacein interfaceAppOuterClass.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:
getPublicNamespaceBytesin interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The bytes for publicNamespace.
-
getName
The name of the registry item
string name = 4 [json_name = "name"];- Specified by:
getNamein interfaceAppOuterClass.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:
getNameBytesin interfaceAppOuterClass.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:
getTypeValuein interfaceAppOuterClass.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:
getTypein interfaceAppOuterClass.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:
getVisibilityValuein interfaceAppOuterClass.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:
getVisibilityin interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The visibility.
-
getUrl
The url to reference for documentation, code, etc.
string url = 7 [json_name = "url"];- Specified by:
getUrlin interfaceAppOuterClass.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:
getUrlBytesin interfaceAppOuterClass.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:
getDescriptionin interfaceAppOuterClass.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:
getDescriptionBytesin interfaceAppOuterClass.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:
getTotalRobotUsagein interfaceAppOuterClass.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:
getTotalExternalRobotUsagein interfaceAppOuterClass.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:
getTotalOrganizationUsagein interfaceAppOuterClass.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:
getTotalExternalOrganizationUsagein interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The totalExternalOrganizationUsage.
-
hasModuleMetadata
public boolean hasModuleMetadata().viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];- Specified by:
hasModuleMetadatain interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- Whether the moduleMetadata field is set.
-
getModuleMetadata
.viam.app.v1.ModuleMetadata module_metadata = 11 [json_name = "moduleMetadata"];- Specified by:
getModuleMetadatain interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The moduleMetadata.
-
hasMlModelMetadata
public boolean hasMlModelMetadata().viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];- Specified by:
hasMlModelMetadatain interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- Whether the mlModelMetadata field is set.
-
getMlModelMetadata
.viam.app.v1.MLModelMetadata ml_model_metadata = 12 [json_name = "mlModelMetadata"];- Specified by:
getMlModelMetadatain interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The mlModelMetadata.
-
hasMlTrainingMetadata
public boolean hasMlTrainingMetadata().viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];- Specified by:
hasMlTrainingMetadatain interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- Whether the mlTrainingMetadata field is set.
-
getMlTrainingMetadata
.viam.app.v1.MLTrainingMetadata ml_training_metadata = 18 [json_name = "mlTrainingMetadata"];- Specified by:
getMlTrainingMetadatain interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The mlTrainingMetadata.
-
hasCreatedAt
public boolean hasCreatedAt()When the item was created
.google.protobuf.Timestamp created_at = 15 [json_name = "createdAt"];- Specified by:
hasCreatedAtin interfaceAppOuterClass.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:
getCreatedAtin interfaceAppOuterClass.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:
hasUpdatedAtin interfaceAppOuterClass.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:
getUpdatedAtin interfaceAppOuterClass.RegistryItemOrBuilder- Returns:
- The updatedAt.
-
parseFrom
public static AppOuterClass.RegistryItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.RegistryItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.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 AppOuterClass.RegistryItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppOuterClass.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 AppOuterClass.RegistryItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AppOuterClass.RegistryItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.RegistryItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AppOuterClass.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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<AppOuterClass.RegistryItem,AppOuterClass.RegistryItem.Builder>
-
getDefaultInstance
-
parser
-