Class UpdateBiReservationRequest (2.14.0)

public final class UpdateBiReservationRequest extends GeneratedMessageV3 implements UpdateBiReservationRequestOrBuilder

A request to update a BI reservation.

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

Static Fields

BI_RESERVATION_FIELD_NUMBER

public static final int BI_RESERVATION_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateBiReservationRequest getDefaultInstance()
Returns
TypeDescription
UpdateBiReservationRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateBiReservationRequest prototype)

public static UpdateBiReservationRequest.Builder newBuilder(UpdateBiReservationRequest prototype)
Parameter
NameDescription
prototypeUpdateBiReservationRequest
Returns
TypeDescription
UpdateBiReservationRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBiReservation()

public BiReservation getBiReservation()

A reservation to update.

.google.cloud.bigquery.reservation.v1.BiReservation bi_reservation = 1;

Returns
TypeDescription
BiReservation

The biReservation.

getBiReservationOrBuilder()

public BiReservationOrBuilder getBiReservationOrBuilder()

A reservation to update.

.google.cloud.bigquery.reservation.v1.BiReservation bi_reservation = 1;

Returns
TypeDescription
BiReservationOrBuilder

getDefaultInstanceForType()

public UpdateBiReservationRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateBiReservationRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

A list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

A list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasBiReservation()

public boolean hasBiReservation()

A reservation to update.

.google.cloud.bigquery.reservation.v1.BiReservation bi_reservation = 1;

Returns
TypeDescription
boolean

Whether the biReservation field is set.

hasUpdateMask()

public boolean hasUpdateMask()

A list of fields to be updated in this request.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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