Class ListDataPoliciesResponse (0.32.0)

public final class ListDataPoliciesResponse extends GeneratedMessageV3 implements ListDataPoliciesResponseOrBuilder

Response message for the ListDataPolicies method.

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

Static Fields

DATA_POLICIES_FIELD_NUMBER

public static final int DATA_POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDataPoliciesResponse getDefaultInstance()
Returns
TypeDescription
ListDataPoliciesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDataPoliciesResponse.Builder newBuilder()
Returns
TypeDescription
ListDataPoliciesResponse.Builder

newBuilder(ListDataPoliciesResponse prototype)

public static ListDataPoliciesResponse.Builder newBuilder(ListDataPoliciesResponse prototype)
Parameter
NameDescription
prototypeListDataPoliciesResponse
Returns
TypeDescription
ListDataPoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDataPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDataPoliciesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDataPoliciesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDataPoliciesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDataPoliciesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDataPoliciesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDataPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDataPoliciesResponse> parser()
Returns
TypeDescription
Parser<ListDataPoliciesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataPolicies(int index)

public DataPolicy getDataPolicies(int index)

Data policies that belong to the requested project.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DataPolicy

getDataPoliciesCount()

public int getDataPoliciesCount()

Data policies that belong to the requested project.

repeated .google.cloud.bigquery.datapolicies.v1.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.v1.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.v1.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.v1.DataPolicy data_policies = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.datapolicies.v1.DataPolicyOrBuilder>

getDefaultInstanceForType()

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

getParserForType()

public Parser<ListDataPoliciesResponse> getParserForType()
Returns
TypeDescription
Parser<ListDataPoliciesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDataPoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDataPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDataPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDataPoliciesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDataPoliciesResponse.Builder toBuilder()
Returns
TypeDescription
ListDataPoliciesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException