public static final class ListTagsResponse.Builder extends GeneratedMessage.Builder<ListTagsResponse.Builder> implements ListTagsResponseOrBuilderThe response from listing tags.
Protobuf type google.devtools.artifactregistry.v1.ListTagsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListTagsResponse.BuilderImplements
ListTagsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.devtools.artifactregistry.v1.Tag> |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
addTags(Tag value)
public ListTagsResponse.Builder addTags(Tag value)The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Tag |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Tag.Builder |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Tag |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Tag.Builder |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
addTagsBuilder()
public Tag.Builder addTagsBuilder()The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Returns | |
|---|---|
| Type | Description |
Tag.Builder |
|
addTagsBuilder(int index)
public Tag.Builder addTagsBuilder(int index)The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Tag.Builder |
|
build()
public ListTagsResponse build()| Returns | |
|---|---|
| Type | Description |
ListTagsResponse |
|
buildPartial()
public ListTagsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListTagsResponse |
|
clear()
public ListTagsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
This builder for chaining. |
clearTags()
public ListTagsResponse.Builder clearTags()The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
getDefaultInstanceForType()
public ListTagsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListTagsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getTags(int index)
public Tag getTags(int index)The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Tag |
|
getTagsBuilder(int index)
public Tag.Builder getTagsBuilder(int index)The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Tag.Builder |
|
getTagsBuilderList()
public List<Tag.Builder> getTagsBuilderList()The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTagsCount()
public int getTagsCount()The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsList()
public List<Tag> getTagsList()The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Returns | |
|---|---|
| Type | Description |
List<Tag> |
|
getTagsOrBuilder(int index)
public TagOrBuilder getTagsOrBuilder(int index)The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TagOrBuilder |
|
getTagsOrBuilderList()
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListTagsResponse other)
public ListTagsResponse.Builder mergeFrom(ListTagsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListTagsResponse |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListTagsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
removeTags(int index)
public ListTagsResponse.Builder removeTags(int index)The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Tag |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Tag.Builder |
| Returns | |
|---|---|
| Type | Description |
ListTagsResponse.Builder |
|