Interface VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
@Generated
public interface VersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.com.google.protobuf.TimestampThe time when the version was created.com.google.protobuf.TimestampOrBuilderThe time when the version was created.Optional.com.google.protobuf.ByteStringOptional.getFingerprints(int index) Output only.intOutput only.Output only.getFingerprintsOrBuilder(int index) Output only.List<? extends HashOrBuilder>Output only.com.google.protobuf.StructOutput only.com.google.protobuf.StructOrBuilderOutput only.getName()The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`.com.google.protobuf.ByteStringThe name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`.getRelatedTags(int index) Output only.intOutput only.Output only.getRelatedTagsOrBuilder(int index) Output only.List<? extends TagOrBuilder>Output only.com.google.protobuf.TimestampThe time when the version was last updated.com.google.protobuf.TimestampOrBuilderThe time when the version was last updated.booleanThe time when the version was created.booleanOutput only.booleanThe time when the version was last updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.
string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()Optional. Description of the version, as specified in its metadata.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the version, as specified in its metadata.
string description = 3;- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()The time when the version was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time when the version was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time when the version was created.
.google.protobuf.Timestamp create_time = 5; -
hasUpdateTime
boolean hasUpdateTime()The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6; -
getRelatedTagsList
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7; -
getRelatedTags
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7; -
getRelatedTagsCount
int getRelatedTagsCount()Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7; -
getRelatedTagsOrBuilderList
List<? extends TagOrBuilder> getRelatedTagsOrBuilderList()Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7; -
getRelatedTagsOrBuilder
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7; -
hasMetadata
boolean hasMetadata()Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: [DockerImage][google.devtools.artifactregistry.v1.DockerImage] [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: [DockerImage][google.devtools.artifactregistry.v1.DockerImage] [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: [DockerImage][google.devtools.artifactregistry.v1.DockerImage] [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAnnotationsCount
int getAnnotationsCount()Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
containsAnnotations
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrDefault
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrThrow
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getFingerprintsList
Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.
repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFingerprints
Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.
repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFingerprintsCount
int getFingerprintsCount()Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.
repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFingerprintsOrBuilderList
List<? extends HashOrBuilder> getFingerprintsOrBuilderList()Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.
repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFingerprintsOrBuilder
Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.
repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-