Class ListTagsResponse.Builder (1.11.0)

public static final class ListTagsResponse.Builder extends GeneratedMessageV3.Builder<ListTagsResponse.Builder> implements ListTagsResponseOrBuilder

The response from listing tags.

Protobuf type google.devtools.artifactregistry.v1.ListTagsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTags(Iterable<? extends Tag> values)

public ListTagsResponse.Builder addAllTags(Iterable<? extends Tag> values)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.Tag>
Returns
TypeDescription
ListTagsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

addTags(Tag value)

public ListTagsResponse.Builder addTags(Tag value)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
valueTag
Returns
TypeDescription
ListTagsResponse.Builder

addTags(Tag.Builder builderForValue)

public ListTagsResponse.Builder addTags(Tag.Builder builderForValue)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
builderForValueTag.Builder
Returns
TypeDescription
ListTagsResponse.Builder

addTags(int index, Tag value)

public ListTagsResponse.Builder addTags(int index, Tag value)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameters
NameDescription
indexint
valueTag
Returns
TypeDescription
ListTagsResponse.Builder

addTags(int index, Tag.Builder builderForValue)

public ListTagsResponse.Builder addTags(int index, Tag.Builder builderForValue)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameters
NameDescription
indexint
builderForValueTag.Builder
Returns
TypeDescription
ListTagsResponse.Builder

addTagsBuilder()

public Tag.Builder addTagsBuilder()

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Returns
TypeDescription
Tag.Builder

addTagsBuilder(int index)

public Tag.Builder addTagsBuilder(int index)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag.Builder

build()

public ListTagsResponse build()
Returns
TypeDescription
ListTagsResponse

buildPartial()

public ListTagsResponse buildPartial()
Returns
TypeDescription
ListTagsResponse

clear()

public ListTagsResponse.Builder clear()
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

clearNextPageToken()

public ListTagsResponse.Builder clearNextPageToken()

The token to retrieve the next page of tags, or empty if there are no more tags to return.

string next_page_token = 2;

Returns
TypeDescription
ListTagsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

clearTags()

public ListTagsResponse.Builder clearTags()

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Returns
TypeDescription
ListTagsResponse.Builder

clone()

public ListTagsResponse.Builder clone()
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTagsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTagsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The token to retrieve the next page of tags, or empty if there are no more tags to return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token to retrieve the next page of tags, or empty if there are no more tags to return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTags(int index)

public Tag getTags(int index)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag

getTagsBuilder(int index)

public Tag.Builder getTagsBuilder(int index)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag.Builder

getTagsBuilderList()

public List<Tag.Builder> getTagsBuilderList()

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Returns
TypeDescription
List<Builder>

getTagsCount()

public int getTagsCount()

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Returns
TypeDescription
int

getTagsList()

public List<Tag> getTagsList()

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Returns
TypeDescription
List<Tag>

getTagsOrBuilder(int index)

public TagOrBuilder getTagsOrBuilder(int index)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagOrBuilder

getTagsOrBuilderList()

public List<? extends TagOrBuilder> getTagsOrBuilderList()

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Returns
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.TagOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTagsResponse other)

public ListTagsResponse.Builder mergeFrom(ListTagsResponse other)
Parameter
NameDescription
otherListTagsResponse
Returns
TypeDescription
ListTagsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTagsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTagsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

removeTags(int index)

public ListTagsResponse.Builder removeTags(int index)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTagsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

setNextPageToken(String value)

public ListTagsResponse.Builder setNextPageToken(String value)

The token to retrieve the next page of tags, or empty if there are no more tags to return.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListTagsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTagsResponse.Builder setNextPageTokenBytes(ByteString value)

The token to retrieve the next page of tags, or empty if there are no more tags to return.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTagsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListTagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTagsResponse.Builder
Overrides

setTags(int index, Tag value)

public ListTagsResponse.Builder setTags(int index, Tag value)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameters
NameDescription
indexint
valueTag
Returns
TypeDescription
ListTagsResponse.Builder

setTags(int index, Tag.Builder builderForValue)

public ListTagsResponse.Builder setTags(int index, Tag.Builder builderForValue)

The tags returned.

repeated .google.devtools.artifactregistry.v1.Tag tags = 1;

Parameters
NameDescription
indexint
builderForValueTag.Builder
Returns
TypeDescription
ListTagsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTagsResponse.Builder
Overrides