Send feedback
Class ListTagsResponse.Builder (1.27.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.27.0 keyboard_arrow_down
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 ()
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 >
public ListTagsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ListTagsResponse . Builder addTags ( Tag value )
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter Name Description value
Tag
public ListTagsResponse . Builder addTags ( Tag . Builder builderForValue )
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
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
public ListTagsResponse . Builder addTags ( int index , Tag . Builder builderForValue )
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
public Tag . Builder addTagsBuilder ()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
public Tag . Builder addTagsBuilder ( int index )
The tags returned.
repeated .google.devtools.artifactregistry.v1.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.v1.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.v1.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.v1.Tag tags = 1;
Parameter Name Description index
int
public List<Tag . Builder > getTagsBuilderList ()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
public int getTagsCount ()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Returns Type Description int
public List<Tag> getTagsList ()
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
public TagOrBuilder getTagsOrBuilder ( int index )
The tags returned.
repeated .google.devtools.artifactregistry.v1.Tag tags = 1;
Parameter Name Description index
int
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 ()
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.v1.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.v1.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.v1.Tag tags = 1;
public final ListTagsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]