Class ListDataPoliciesResponse.Builder (0.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datapolicies.v1beta1.DataPolicy>
Returns
TypeDescription
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
NameDescription
valueDataPolicy
Returns
TypeDescription
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
NameDescription
builderForValueDataPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataPolicy.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataPoliciesResponse build()
Returns
TypeDescription
ListDataPoliciesResponse

buildPartial()

public ListDataPoliciesResponse buildPartial()
Returns
TypeDescription
ListDataPoliciesResponse

clear()

public ListDataPoliciesResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListDataPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDataPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDataPoliciesResponse.Builder
Overrides

clone()

public ListDataPoliciesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.bigquery.datapolicies.v1beta1.DataPolicyOrBuilder>

getDefaultInstanceForType()

public ListDataPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataPoliciesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataPoliciesResponse other)

public ListDataPoliciesResponse.Builder mergeFrom(ListDataPoliciesResponse other)
Parameter
NameDescription
otherListDataPoliciesResponse
Returns
TypeDescription
ListDataPoliciesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDataPoliciesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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