Interface VersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
public interface VersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()The time when the version was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time when the version was created.StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.com.google.protobuf.StructgetMetadata()Output only.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()Output only.StringgetName()The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".com.google.protobuf.ByteStringgetNameBytes()The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".TaggetRelatedTags(int index)Output only.intgetRelatedTagsCount()Output only.List<Tag>getRelatedTagsList()Output only.TagOrBuildergetRelatedTagsOrBuilder(int index)Output only.List<? extends TagOrBuilder>getRelatedTagsOrBuilderList()Output only.com.google.protobuf.TimestampgetUpdateTime()The time when the version was last updated.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The time when the version was last updated.booleanhasCreateTime()The time when the version was created.booleanhasMetadata()Output only.booleanhasUpdateTime()The time when the version was last updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<Tag> getRelatedTagsList()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
-
getRelatedTags
Tag getRelatedTags(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1beta2.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.v1beta2.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.v1beta2.Tag related_tags = 7;
-
getRelatedTagsOrBuilder
TagOrBuilder getRelatedTagsOrBuilder(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1beta2.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 only resource in use is [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
.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 only resource in use is [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
.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 only resource in use is [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-