public final class SplitCapacityCommitmentResponse extends GeneratedMessageV3 implements SplitCapacityCommitmentResponseOrBuilder
The response for ReservationService.SplitCapacityCommitment.
Protobuf type google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse
Fields
FIRST_FIELD_NUMBER
public static final int FIRST_FIELD_NUMBER
Field Value
SECOND_FIELD_NUMBER
public static final int SECOND_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static SplitCapacityCommitmentResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public SplitCapacityCommitmentResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getFirst()
public CapacityCommitment getFirst()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Returns
getFirstOrBuilder()
public CapacityCommitmentOrBuilder getFirstOrBuilder()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Returns
getParserForType()
public Parser<SplitCapacityCommitmentResponse> getParserForType()
Returns
Overrides
getSecond()
public CapacityCommitment getSecond()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Returns
getSecondOrBuilder()
public CapacityCommitmentOrBuilder getSecondOrBuilder()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static SplitCapacityCommitmentResponse.Builder newBuilder()
Returns
newBuilder(SplitCapacityCommitmentResponse prototype)
public static SplitCapacityCommitmentResponse.Builder newBuilder(SplitCapacityCommitmentResponse prototype)
Parameter
Returns
newBuilderForType()
public SplitCapacityCommitmentResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SplitCapacityCommitmentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SplitCapacityCommitmentResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SplitCapacityCommitmentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SplitCapacityCommitmentResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SplitCapacityCommitmentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SplitCapacityCommitmentResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SplitCapacityCommitmentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SplitCapacityCommitmentResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SplitCapacityCommitmentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SplitCapacityCommitmentResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SplitCapacityCommitmentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SplitCapacityCommitmentResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SplitCapacityCommitmentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SplitCapacityCommitmentResponse> parser()
Returns
toBuilder()
public SplitCapacityCommitmentResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions