Class ListDataPoliciesResponse (0.48.0)

public final class ListDataPoliciesResponse extends GeneratedMessageV3 implements ListDataPoliciesResponseOrBuilder

Response message for the ListDataPolicies method.

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

Static Fields

DATA_POLICIES_FIELD_NUMBER

public static final int DATA_POLICIES_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListDataPoliciesResponse getDefaultInstance()
Returns
Type Description
ListDataPoliciesResponse

getDescriptor()

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

newBuilder()

public static ListDataPoliciesResponse.Builder newBuilder()
Returns
Type Description
ListDataPoliciesResponse.Builder

newBuilder(ListDataPoliciesResponse prototype)

public static ListDataPoliciesResponse.Builder newBuilder(ListDataPoliciesResponse prototype)
Parameter
Name Description
prototype ListDataPoliciesResponse
Returns
Type Description
ListDataPoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDataPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListDataPoliciesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDataPoliciesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDataPoliciesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListDataPoliciesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListDataPoliciesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListDataPoliciesResponse> parser()
Returns
Type Description
Parser<ListDataPoliciesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

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.

getParserForType()

public Parser<ListDataPoliciesResponse> getParserForType()
Returns
Type Description
Parser<ListDataPoliciesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListDataPoliciesResponse.Builder newBuilderForType()
Returns
Type Description
ListDataPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDataPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListDataPoliciesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListDataPoliciesResponse.Builder toBuilder()
Returns
Type Description
ListDataPoliciesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException