Class ListDataPoliciesResponse.Builder (0.42.0)

public static final class ListDataPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListDataPoliciesResponse.Builder> implements ListDataPoliciesResponseOrBuilder

Response message for the ListDataPolicies method.

Protobuf type google.cloud.bigquery.datapolicies.v1beta1.ListDataPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAllDataPolicies(Iterable<? extends DataPolicy> values)

public ListDataPoliciesResponse.Builder addAllDataPolicies(Iterable<? extends DataPolicy> values)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy>
Returns
Type Description
ListDataPoliciesResponse.Builder

addDataPolicies(DataPolicy value)

public ListDataPoliciesResponse.Builder addDataPolicies(DataPolicy value)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
value DataPolicy
Returns
Type Description
ListDataPoliciesResponse.Builder

addDataPolicies(DataPolicy.Builder builderForValue)

public ListDataPoliciesResponse.Builder addDataPolicies(DataPolicy.Builder builderForValue)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
builderForValue DataPolicy.Builder
Returns
Type Description
ListDataPoliciesResponse.Builder

addDataPolicies(int index, DataPolicy value)

public ListDataPoliciesResponse.Builder addDataPolicies(int index, DataPolicy value)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameters
Name Description
index int
value DataPolicy
Returns
Type Description
ListDataPoliciesResponse.Builder

addDataPolicies(int index, DataPolicy.Builder builderForValue)

public ListDataPoliciesResponse.Builder addDataPolicies(int index, DataPolicy.Builder builderForValue)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameters
Name Description
index int
builderForValue DataPolicy.Builder
Returns
Type Description
ListDataPoliciesResponse.Builder

addDataPoliciesBuilder()

public DataPolicy.Builder addDataPoliciesBuilder()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Returns
Type Description
DataPolicy.Builder

addDataPoliciesBuilder(int index)

public DataPolicy.Builder addDataPoliciesBuilder(int index)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataPoliciesResponse build()
Returns
Type Description
ListDataPoliciesResponse

buildPartial()

public ListDataPoliciesResponse buildPartial()
Returns
Type Description
ListDataPoliciesResponse

clear()

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

clearDataPolicies()

public ListDataPoliciesResponse.Builder clearDataPolicies()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Returns
Type Description
ListDataPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDataPoliciesResponse.Builder clearNextPageToken()

Token used to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
Type Description
ListDataPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataPolicies(int index)

public DataPolicy getDataPolicies(int index)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPolicy

getDataPoliciesBuilder(int index)

public DataPolicy.Builder getDataPoliciesBuilder(int index)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPolicy.Builder

getDataPoliciesBuilderList()

public List<DataPolicy.Builder> getDataPoliciesBuilderList()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Returns
Type Description
List<Builder>

getDataPoliciesCount()

public int getDataPoliciesCount()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Returns
Type Description
int

getDataPoliciesList()

public List<DataPolicy> getDataPoliciesList()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Returns
Type Description
List<DataPolicy>

getDataPoliciesOrBuilder(int index)

public DataPolicyOrBuilder getDataPoliciesOrBuilder(int index)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPolicyOrBuilder

getDataPoliciesOrBuilderList()

public List<? extends DataPolicyOrBuilder> getDataPoliciesOrBuilderList()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.datapolicies.v1beta1.DataPolicyOrBuilder>

getDefaultInstanceForType()

public ListDataPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListDataPoliciesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token used to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token used to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataPolicies(int index)

public ListDataPoliciesResponse.Builder removeDataPolicies(int index)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataPoliciesResponse.Builder

setDataPolicies(int index, DataPolicy value)

public ListDataPoliciesResponse.Builder setDataPolicies(int index, DataPolicy value)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameters
Name Description
index int
value DataPolicy
Returns
Type Description
ListDataPoliciesResponse.Builder

setDataPolicies(int index, DataPolicy.Builder builderForValue)

public ListDataPoliciesResponse.Builder setDataPolicies(int index, DataPolicy.Builder builderForValue)

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policies = 1;

Parameters
Name Description
index int
builderForValue DataPolicy.Builder
Returns
Type Description
ListDataPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDataPoliciesResponse.Builder setNextPageToken(String value)

Token used to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDataPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)

Token used to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataPoliciesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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