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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ListPolicyTagsResponse.Builder addPolicyTags(PolicyTag value)
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public PolicyTag.Builder addPolicyTagsBuilder()
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Returns
public PolicyTag.Builder addPolicyTagsBuilder(int index)
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Parameter
Returns
public ListPolicyTagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListPolicyTagsResponse build()
Returns
public ListPolicyTagsResponse buildPartial()
Returns
public ListPolicyTagsResponse.Builder clear()
Returns
Overrides
public ListPolicyTagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListPolicyTagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListPolicyTagsResponse.Builder clearPolicyTags()
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Returns
public ListPolicyTagsResponse.Builder clone()
Returns
Overrides
public ListPolicyTagsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
public PolicyTag getPolicyTags(int index)
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Parameter
Returns
public PolicyTag.Builder getPolicyTagsBuilder(int index)
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Parameter
Returns
public List<PolicyTag.Builder> getPolicyTagsBuilderList()
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Returns
public int getPolicyTagsCount()
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Returns
public List<PolicyTag> getPolicyTagsList()
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Returns
public PolicyTagOrBuilder getPolicyTagsOrBuilder(int index)
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListPolicyTagsResponse.Builder mergeFrom(ListPolicyTagsResponse other)
Parameter
Returns
public ListPolicyTagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListPolicyTagsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListPolicyTagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListPolicyTagsResponse.Builder removePolicyTags(int index)
The policy tags that belong to the taxonomy.
repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1;
Parameter
Returns
public ListPolicyTagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
public ListPolicyTagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListPolicyTagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides