Class ListTagsResponse.Builder (1.9.3)

Stay organized with collections Save and categorize content based on your preferences.
public static final class ListTagsResponse.Builder extends GeneratedMessageV3.Builder<ListTagsResponse.Builder> implements ListTagsResponseOrBuilder

Response message for ListTags.

Protobuf type google.cloud.datacatalog.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)

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.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)

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Parameter
NameDescription
valueTag
Returns
TypeDescription
ListTagsResponse.Builder

addTags(Tag.Builder builderForValue)

public ListTagsResponse.Builder addTags(Tag.Builder builderForValue)

Tag details.

repeated .google.cloud.datacatalog.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)

Tag details.

repeated .google.cloud.datacatalog.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)

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Parameters
NameDescription
indexint
builderForValueTag.Builder
Returns
TypeDescription
ListTagsResponse.Builder

addTagsBuilder()

public Tag.Builder addTagsBuilder()

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Returns
TypeDescription
Tag.Builder

addTagsBuilder(int index)

public Tag.Builder addTagsBuilder(int index)

Tag details.

repeated .google.cloud.datacatalog.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()

Pagination token of the next results page. Empty if there are no more items in results.

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()

Tag details.

repeated .google.cloud.datacatalog.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()

Pagination token of the next results page. Empty if there are no more items in results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token of the next results page. Empty if there are no more items in results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTags(int index)

public Tag getTags(int index)

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag

getTagsBuilder(int index)

public Tag.Builder getTagsBuilder(int index)

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Tag.Builder

getTagsBuilderList()

public List<Tag.Builder> getTagsBuilderList()

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Returns
TypeDescription
List<Builder>

getTagsCount()

public int getTagsCount()

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Returns
TypeDescription
int

getTagsList()

public List<Tag> getTagsList()

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Returns
TypeDescription
List<Tag>

getTagsOrBuilder(int index)

public TagOrBuilder getTagsOrBuilder(int index)

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TagOrBuilder

getTagsOrBuilderList()

public List<? extends TagOrBuilder> getTagsOrBuilderList()

Tag details.

repeated .google.cloud.datacatalog.v1.Tag tags = 1;

Returns
TypeDescription
List<? extends com.google.cloud.datacatalog.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)

Tag details.

repeated .google.cloud.datacatalog.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)

Pagination token of the next results page. Empty if there are no more items in results.

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)

Pagination token of the next results page. Empty if there are no more items in results.

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)

Tag details.

repeated .google.cloud.datacatalog.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)

Tag details.

repeated .google.cloud.datacatalog.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