Class ListPolicyTagsResponse.Builder (1.8.3)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.v1.PolicyTag>
Returns
TypeDescription
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
NameDescription
valuePolicyTag
Returns
TypeDescription
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
NameDescription
builderForValuePolicyTag.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePolicyTag
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePolicyTag.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PolicyTag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPolicyTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides

build()

public ListPolicyTagsResponse build()
Returns
TypeDescription
ListPolicyTagsResponse

buildPartial()

public ListPolicyTagsResponse buildPartial()
Returns
TypeDescription
ListPolicyTagsResponse

clear()

public ListPolicyTagsResponse.Builder clear()
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPolicyTagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPolicyTagsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPolicyTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListPolicyTagsResponse.Builder

clone()

public ListPolicyTagsResponse.Builder clone()
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPolicyTagsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPolicyTagsResponse

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 results in the list.

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 results in the list.

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getPolicyTagsCount()

public int getPolicyTagsCount()

The policy tags that belong to the taxonomy.

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

Returns
TypeDescription
int

getPolicyTagsList()

public List<PolicyTag> getPolicyTagsList()

The policy tags that belong to the taxonomy.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.datacatalog.v1.PolicyTagOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPolicyTagsResponse other)

public ListPolicyTagsResponse.Builder mergeFrom(ListPolicyTagsResponse other)
Parameter
NameDescription
otherListPolicyTagsResponse
Returns
TypeDescription
ListPolicyTagsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPolicyTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListPolicyTagsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPolicyTagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListPolicyTagsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPolicyTagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePolicyTag
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePolicyTag.Builder
Returns
TypeDescription
ListPolicyTagsResponse.Builder

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

public ListPolicyTagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPolicyTagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPolicyTagsResponse.Builder
Overrides