Class ListPolicyTagsResponse.Builder (1.48.0)

public static final class ListPolicyTagsResponse.Builder extends GeneratedMessageV3.Builder<ListPolicyTagsResponse.Builder> implements ListPolicyTagsResponseOrBuilder

Response message for ListPolicyTags.

Protobuf type google.cloud.datacatalog.v1.ListPolicyTagsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPolicyTags(Iterable<? extends PolicyTag> values)

public ListPolicyTagsResponse.Builder addAllPolicyTags(Iterable<? extends PolicyTag> values)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datacatalog.v1.PolicyTag>
Returns
Type Description
ListPolicyTagsResponse.Builder

addPolicyTags(PolicyTag value)

public ListPolicyTagsResponse.Builder addPolicyTags(PolicyTag value)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
value PolicyTag
Returns
Type Description
ListPolicyTagsResponse.Builder

addPolicyTags(PolicyTag.Builder builderForValue)

public ListPolicyTagsResponse.Builder addPolicyTags(PolicyTag.Builder builderForValue)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
builderForValue PolicyTag.Builder
Returns
Type Description
ListPolicyTagsResponse.Builder

addPolicyTags(int index, PolicyTag value)

public ListPolicyTagsResponse.Builder addPolicyTags(int index, PolicyTag value)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameters
Name Description
index int
value PolicyTag
Returns
Type Description
ListPolicyTagsResponse.Builder

addPolicyTags(int index, PolicyTag.Builder builderForValue)

public ListPolicyTagsResponse.Builder addPolicyTags(int index, PolicyTag.Builder builderForValue)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameters
Name Description
index int
builderForValue PolicyTag.Builder
Returns
Type Description
ListPolicyTagsResponse.Builder

addPolicyTagsBuilder()

public PolicyTag.Builder addPolicyTagsBuilder()

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Returns
Type Description
PolicyTag.Builder

addPolicyTagsBuilder(int index)

public PolicyTag.Builder addPolicyTagsBuilder(int index)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyTag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPolicyTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

build()

public ListPolicyTagsResponse build()
Returns
Type Description
ListPolicyTagsResponse

buildPartial()

public ListPolicyTagsResponse buildPartial()
Returns
Type Description
ListPolicyTagsResponse

clear()

public ListPolicyTagsResponse.Builder clear()
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPolicyTagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

clearNextPageToken()

public ListPolicyTagsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListPolicyTagsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPolicyTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

clearPolicyTags()

public ListPolicyTagsResponse.Builder clearPolicyTags()

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Returns
Type Description
ListPolicyTagsResponse.Builder

clone()

public ListPolicyTagsResponse.Builder clone()
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPolicyTagsResponse getDefaultInstanceForType()
Returns
Type Description
ListPolicyTagsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPolicyTags(int index)

public PolicyTag getPolicyTags(int index)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyTag

getPolicyTagsBuilder(int index)

public PolicyTag.Builder getPolicyTagsBuilder(int index)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyTag.Builder

getPolicyTagsBuilderList()

public List<PolicyTag.Builder> getPolicyTagsBuilderList()

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Returns
Type Description
List<Builder>

getPolicyTagsCount()

public int getPolicyTagsCount()

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Returns
Type Description
int

getPolicyTagsList()

public List<PolicyTag> getPolicyTagsList()

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Returns
Type Description
List<PolicyTag>

getPolicyTagsOrBuilder(int index)

public PolicyTagOrBuilder getPolicyTagsOrBuilder(int index)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyTagOrBuilder

getPolicyTagsOrBuilderList()

public List<? extends PolicyTagOrBuilder> getPolicyTagsOrBuilderList()

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPolicyTagsResponse other)

public ListPolicyTagsResponse.Builder mergeFrom(ListPolicyTagsResponse other)
Parameter
Name Description
other ListPolicyTagsResponse
Returns
Type Description
ListPolicyTagsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPolicyTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListPolicyTagsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPolicyTagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

removePolicyTags(int index)

public ListPolicyTagsResponse.Builder removePolicyTags(int index)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPolicyTagsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPolicyTagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

setNextPageToken(String value)

public ListPolicyTagsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPolicyTagsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPolicyTagsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPolicyTagsResponse.Builder

This builder for chaining.

setPolicyTags(int index, PolicyTag value)

public ListPolicyTagsResponse.Builder setPolicyTags(int index, PolicyTag value)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameters
Name Description
index int
value PolicyTag
Returns
Type Description
ListPolicyTagsResponse.Builder

setPolicyTags(int index, PolicyTag.Builder builderForValue)

public ListPolicyTagsResponse.Builder setPolicyTags(int index, PolicyTag.Builder builderForValue)

The policy tags that belong to the taxonomy.

repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;

Parameters
Name Description
index int
builderForValue PolicyTag.Builder
Returns
Type Description
ListPolicyTagsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListPolicyTagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPolicyTagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListPolicyTagsResponse.Builder
Overrides