public static final class ListTagsResponse.Builder extends GeneratedMessageV3.Builder<ListTagsResponse.Builder> implements ListTagsResponseOrBuilder
The response from listing tags.
Protobuf type google.devtools.artifactregistry.v1beta2.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()
Methods
public ListTagsResponse.Builder addAllTags(Iterable<? extends Tag> values)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1beta2.Tag>
|
public ListTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListTagsResponse.Builder addTags(Tag value)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
value | Tag
|
public ListTagsResponse.Builder addTags(Tag.Builder builderForValue)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public ListTagsResponse.Builder addTags(int index, Tag value)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Tag
|
public ListTagsResponse.Builder addTags(int index, Tag.Builder builderForValue)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public Tag.Builder addTagsBuilder()
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public Tag.Builder addTagsBuilder(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListTagsResponse build()
public ListTagsResponse buildPartial()
public ListTagsResponse.Builder clear()
Overrides
public ListTagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListTagsResponse.Builder clearTags()
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public ListTagsResponse.Builder clone()
Overrides
public ListTagsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Tag | |
public Tag.Builder getTagsBuilder(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Tag.Builder> getTagsBuilderList()
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public int getTagsCount()
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Returns |
---|
Type | Description |
int | |
public List<Tag> getTagsList()
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public TagOrBuilder getTagsOrBuilder(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends TagOrBuilder> getTagsOrBuilderList()
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Returns |
---|
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListTagsResponse.Builder mergeFrom(ListTagsResponse other)
public ListTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListTagsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListTagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListTagsResponse.Builder removeTags(int index)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListTagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListTagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ListTagsResponse.Builder setTags(int index, Tag value)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Tag
|
public ListTagsResponse.Builder setTags(int index, Tag.Builder builderForValue)
The tags returned.
repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1;
public final ListTagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides