- 1.50.0 (latest)
- 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 Tag extends GeneratedMessageV3 implements TagOrBuilder
Tags point to a version and represent an alternative name that can be used to access the version.
Protobuf type google.devtools.artifactregistry.v1beta2.Tag
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TagImplements
TagOrBuilderFields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Tag getDefaultInstance()
Type | Description |
Tag |
getDefaultInstanceForType()
public Tag getDefaultInstanceForType()
Type | Description |
Tag |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getName()
public String getName()
The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<Tag> getParserForType()
Type | Description |
Parser<Tag> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getVersion()
public String getVersion()
The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
string version = 2;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
string version = 2;
Type | Description |
ByteString | The bytes for version. |
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 Tag.Builder newBuilder()
Type | Description |
Tag.Builder |
newBuilder(Tag prototype)
public static Tag.Builder newBuilder(Tag prototype)
Name | Description |
prototype | Tag |
Type | Description |
Tag.Builder |
newBuilderForType()
public Tag.Builder newBuilderForType()
Type | Description |
Tag.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Tag.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Tag.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Tag parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Tag |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tag parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Tag |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Tag parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Tag |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tag parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Tag |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Tag parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Tag |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tag parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Tag |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Tag parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Tag |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Tag parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Tag |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Tag parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Tag |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tag parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Tag |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Tag parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Tag |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Tag parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Tag |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Tag> parser()
Type | Description |
Parser<Tag> |
toBuilder()
public Tag.Builder toBuilder()
Type | Description |
Tag.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |