Class ListLocksResponse (0.24.0)

public final class ListLocksResponse extends GeneratedMessageV3 implements ListLocksResponseOrBuilder

Response message for the ListLocks method.

Protobuf type google.cloud.bigquery.biglake.v1alpha1.ListLocksResponse

Static Fields

LOCKS_FIELD_NUMBER

public static final int LOCKS_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 ListLocksResponse getDefaultInstance()
Returns
TypeDescription
ListLocksResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListLocksResponse prototype)

public static ListLocksResponse.Builder newBuilder(ListLocksResponse prototype)
Parameter
NameDescription
prototypeListLocksResponse
Returns
TypeDescription
ListLocksResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListLocksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLocksResponse

getLocks(int index)

public Lock getLocks(int index)

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Lock

getLocksCount()

public int getLocksCount()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
int

getLocksList()

public List<Lock> getLocksList()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
List<Lock>

getLocksOrBuilder(int index)

public LockOrBuilder getLocksOrBuilder(int index)

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
LockOrBuilder

getLocksOrBuilderList()

public List<? extends LockOrBuilder> getLocksOrBuilderList()

The locks from the specified database.

repeated .google.cloud.bigquery.biglake.v1alpha1.Lock locks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.biglake.v1alpha1.LockOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListLocksResponse> getParserForType()
Returns
TypeDescription
Parser<ListLocksResponse>
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 ListLocksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListLocksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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