- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public final class Version extends GeneratedMessageV3 implements VersionOrBuilder
The body of a version resource. A version resource represents a
collection of components, such as files and other data. This may correspond
to a version in many package management schemes.
Protobuf type google.devtools.artifactregistry.v1beta2.Version
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VersionImplements
VersionOrBuilderFields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Type | Description |
int |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
RELATED_TAGS_FIELD_NUMBER
public static final int RELATED_TAGS_FIELD_NUMBER
Type | Description |
int |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
TimestampOrBuilder |
getDefaultInstance()
public static Version getDefaultInstance()
Type | Description |
Version |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
Type | Description |
Version |
getDescription()
public String getDescription()
Optional. Description of the version, as specified in its metadata.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the version, as specified in its metadata.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getName()
public String getName()
The name of the version, for example:
"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the version, for example:
"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<Version> getParserForType()
Type | Description |
Parser<Version> |
getRelatedTags(int index)
public 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;
Name | Description |
index | int |
Type | Description |
Tag |
getRelatedTagsCount()
public 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;
Type | Description |
int |
getRelatedTagsList()
public 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;
Type | Description |
List<Tag> |
getRelatedTagsOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
TagOrBuilder |
getRelatedTagsOrBuilderList()
public 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;
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateTime()
public Timestamp getUpdateTime()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Type | Description |
boolean | Whether the updateTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static Version.Builder newBuilder()
Type | Description |
Version.Builder |
newBuilder(Version prototype)
public static Version.Builder newBuilder(Version prototype)
Name | Description |
prototype | Version |
Type | Description |
Version.Builder |
newBuilderForType()
public Version.Builder newBuilderForType()
Type | Description |
Version.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Version.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Version parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Version |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Version parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Version parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Version parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Version parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Version parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Version parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Version> parser()
Type | Description |
Parser<Version> |
toBuilder()
public Version.Builder toBuilder()
Type | Description |
Version.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |