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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListTagsResponse.Builder addAllTags(Iterable<? extends Tag> values)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1.Tag>
|
Returns
public ListTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListTagsResponse.Builder addTags(Tag value)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public ListTagsResponse.Builder addTags(Tag.Builder builderForValue)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public ListTagsResponse.Builder addTags(int index, Tag value)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameters
Name | Description |
index | int
|
value | Tag
|
Returns
public ListTagsResponse.Builder addTags(int index, Tag.Builder builderForValue)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameters
Returns
public Tag.Builder addTagsBuilder()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns
public Tag.Builder addTagsBuilder(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public ListTagsResponse build()
Returns
public ListTagsResponse buildPartial()
Returns
public ListTagsResponse.Builder clear()
Returns
Overrides
public ListTagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListTagsResponse.Builder clearTags()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns
public ListTagsResponse.Builder clone()
Returns
Overrides
public ListTagsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
public Tag getTags(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public Tag.Builder getTagsBuilder(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public List<Tag.Builder> getTagsBuilderList()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns
public int getTagsCount()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns
public List<Tag> getTagsList()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns
public TagOrBuilder getTagsOrBuilder(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public List<? extends TagOrBuilder> getTagsOrBuilderList()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.TagOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListTagsResponse.Builder mergeFrom(ListTagsResponse other)
Parameter
Returns
public ListTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListTagsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListTagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListTagsResponse.Builder removeTags(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter
Returns
public ListTagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListTagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ListTagsResponse.Builder setTags(int index, Tag value)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameters
Name | Description |
index | int
|
value | Tag
|
Returns
public ListTagsResponse.Builder setTags(int index, Tag.Builder builderForValue)
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameters
Returns
public final ListTagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides