Class SplitCapacityCommitmentResponse (2.50.0)

See more code actions.
public final class SplitCapacityCommitmentResponse extends GeneratedMessageV3 implements SplitCapacityCommitmentResponseOrBuilder

The response for ReservationService.SplitCapacityCommitment.

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

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SplitCapacityCommitmentResponse
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

FIRST_FIELD_NUMBER

public static final int FIRST_FIELD_NUMBER
Field Value
Type Description
int

SECOND_FIELD_NUMBER

public static final int SECOND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SplitCapacityCommitmentResponse getDefaultInstance()
Returns
Type Description
SplitCapacityCommitmentResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SplitCapacityCommitmentResponse.Builder newBuilder()
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

newBuilder(SplitCapacityCommitmentResponse prototype)

public static SplitCapacityCommitmentResponse.Builder newBuilder(SplitCapacityCommitmentResponse prototype)
Parameter
Name Description
prototype SplitCapacityCommitmentResponse
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

parseDelimitedFrom(InputStream input)

public static SplitCapacityCommitmentResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SplitCapacityCommitmentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SplitCapacityCommitmentResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SplitCapacityCommitmentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SplitCapacityCommitmentResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SplitCapacityCommitmentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SplitCapacityCommitmentResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SplitCapacityCommitmentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SplitCapacityCommitmentResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SplitCapacityCommitmentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SplitCapacityCommitmentResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SplitCapacityCommitmentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SplitCapacityCommitmentResponse> parser()
Returns
Type Description
Parser<SplitCapacityCommitmentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SplitCapacityCommitmentResponse getDefaultInstanceForType()
Returns
Type Description
SplitCapacityCommitmentResponse

getFirst()

public CapacityCommitment getFirst()

First capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitment

The first.

getFirstOrBuilder()

public CapacityCommitmentOrBuilder getFirstOrBuilder()

First capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitmentOrBuilder

getParserForType()

public Parser<SplitCapacityCommitmentResponse> getParserForType()
Returns
Type Description
Parser<SplitCapacityCommitmentResponse>
Overrides

getSecond()

public CapacityCommitment getSecond()

Second capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitment

The second.

getSecondOrBuilder()

public CapacityCommitmentOrBuilder getSecondOrBuilder()

Second capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitmentOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFirst()

public boolean hasFirst()

First capacity commitment, result of a split.

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

Returns
Type Description
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
Type Description
boolean

Whether the second field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SplitCapacityCommitmentResponse.Builder newBuilderForType()
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SplitCapacityCommitmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SplitCapacityCommitmentResponse.Builder toBuilder()
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException