Class SplitCapacityCommitmentResponse (2.16.0)

public final class SplitCapacityCommitmentResponse extends GeneratedMessageV3 implements SplitCapacityCommitmentResponseOrBuilder

The response for ReservationService.SplitCapacityCommitment.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SplitCapacityCommitmentResponse

Static Fields

FIRST_FIELD_NUMBER

public static final int FIRST_FIELD_NUMBER
Field Value
TypeDescription
int

SECOND_FIELD_NUMBER

public static final int SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SplitCapacityCommitmentResponse getDefaultInstance()
Returns
TypeDescription
SplitCapacityCommitmentResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SplitCapacityCommitmentResponse prototype)

public static SplitCapacityCommitmentResponse.Builder newBuilder(SplitCapacityCommitmentResponse prototype)
Parameter
NameDescription
prototypeSplitCapacityCommitmentResponse
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SplitCapacityCommitmentResponse getDefaultInstanceForType()
Returns
TypeDescription
SplitCapacityCommitmentResponse

getFirst()

public CapacityCommitment getFirst()

First capacity commitment, result of a split.

.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;

Returns
TypeDescription
CapacityCommitment

The first.

getFirstOrBuilder()

public CapacityCommitmentOrBuilder getFirstOrBuilder()

First capacity commitment, result of a split.

.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;

Returns
TypeDescription
CapacityCommitmentOrBuilder

getParserForType()

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

getSecond()

public CapacityCommitment getSecond()

Second capacity commitment, result of a split.

.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;

Returns
TypeDescription
CapacityCommitment

The second.

getSecondOrBuilder()

public CapacityCommitmentOrBuilder getSecondOrBuilder()

Second capacity commitment, result of a split.

.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;

Returns
TypeDescription
CapacityCommitmentOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasFirst()

public boolean hasFirst()

First capacity commitment, result of a split.

.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;

Returns
TypeDescription
boolean

Whether the first field is set.

hasSecond()

public boolean hasSecond()

Second capacity commitment, result of a split.

.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;

Returns
TypeDescription
boolean

Whether the second 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 SplitCapacityCommitmentResponse.Builder newBuilderForType()
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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