Class ListReservationsResponse (2.34.0)

public final class ListReservationsResponse extends GeneratedMessageV3 implements ListReservationsResponseOrBuilder

The response for ReservationService.ListReservations.

Protobuf type google.cloud.bigquery.reservation.v1.ListReservationsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

RESERVATIONS_FIELD_NUMBER

public static final int RESERVATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListReservationsResponse getDefaultInstance()
Returns
TypeDescription
ListReservationsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListReservationsResponse prototype)

public static ListReservationsResponse.Builder newBuilder(ListReservationsResponse prototype)
Parameter
NameDescription
prototypeListReservationsResponse
Returns
TypeDescription
ListReservationsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListReservationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReservationsResponse

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getReservations(int index)

public Reservation getReservations(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Reservation

getReservationsCount()

public int getReservationsCount()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
TypeDescription
int

getReservationsList()

public List<Reservation> getReservationsList()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
TypeDescription
List<Reservation>

getReservationsOrBuilder(int index)

public ReservationOrBuilder getReservationsOrBuilder(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReservationOrBuilder

getReservationsOrBuilderList()

public List<? extends ReservationOrBuilder> getReservationsOrBuilderList()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.reservation.v1.ReservationOrBuilder>

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 ListReservationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListReservationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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