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.Timestamp
getCreateTime()
The time when the version was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time when the version was created.String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.com.google.protobuf.Struct
getMetadata()
Output only.com.google.protobuf.StructOrBuilder
getMetadataOrBuilder()
Output only.String
getName()
The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".com.google.protobuf.ByteString
getNameBytes()
The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".Tag
getRelatedTags(int index)
Output only.int
getRelatedTagsCount()
Output only.List<Tag>
getRelatedTagsList()
Output only.TagOrBuilder
getRelatedTagsOrBuilder(int index)
Output only.List<? extends TagOrBuilder>
getRelatedTagsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
The time when the version was last updated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
The time when the version was last updated.boolean
hasCreateTime()
The time when the version was created.boolean
hasMetadata()
Output only.boolean
hasUpdateTime()
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.v1.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.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
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.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];
-
-