public static final class SplitCapacityCommitmentResponse.Builder extends GeneratedMessageV3.Builder<SplitCapacityCommitmentResponse.Builder> implements SplitCapacityCommitmentResponseOrBuilder
The response for ReservationService.SplitCapacityCommitment.
Protobuf type google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SplitCapacityCommitmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SplitCapacityCommitmentResponse build()
Returns
buildPartial()
public SplitCapacityCommitmentResponse buildPartial()
Returns
clear()
public SplitCapacityCommitmentResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SplitCapacityCommitmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFirst()
public SplitCapacityCommitmentResponse.Builder clearFirst()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SplitCapacityCommitmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecond()
public SplitCapacityCommitmentResponse.Builder clearSecond()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Returns
clone()
public SplitCapacityCommitmentResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SplitCapacityCommitmentResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFirst()
public CapacityCommitment getFirst()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Returns
getFirstBuilder()
public CapacityCommitment.Builder getFirstBuilder()
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
getSecond()
public CapacityCommitment getSecond()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Returns
getSecondBuilder()
public CapacityCommitment.Builder getSecondBuilder()
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFirst(CapacityCommitment value)
public SplitCapacityCommitmentResponse.Builder mergeFirst(CapacityCommitment value)
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Parameter
Returns
mergeFrom(SplitCapacityCommitmentResponse other)
public SplitCapacityCommitmentResponse.Builder mergeFrom(SplitCapacityCommitmentResponse other)
Parameter
Returns
public SplitCapacityCommitmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SplitCapacityCommitmentResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSecond(CapacityCommitment value)
public SplitCapacityCommitmentResponse.Builder mergeSecond(CapacityCommitment value)
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SplitCapacityCommitmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SplitCapacityCommitmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFirst(CapacityCommitment value)
public SplitCapacityCommitmentResponse.Builder setFirst(CapacityCommitment value)
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Parameter
Returns
setFirst(CapacityCommitment.Builder builderForValue)
public SplitCapacityCommitmentResponse.Builder setFirst(CapacityCommitment.Builder builderForValue)
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SplitCapacityCommitmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSecond(CapacityCommitment value)
public SplitCapacityCommitmentResponse.Builder setSecond(CapacityCommitment value)
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Parameter
Returns
setSecond(CapacityCommitment.Builder builderForValue)
public SplitCapacityCommitmentResponse.Builder setSecond(CapacityCommitment.Builder builderForValue)
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SplitCapacityCommitmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides