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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SplitCapacityCommitmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SplitCapacityCommitmentResponse build()
buildPartial()
public SplitCapacityCommitmentResponse buildPartial()
clear()
public SplitCapacityCommitmentResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SplitCapacityCommitmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFirst()
public SplitCapacityCommitmentResponse.Builder clearFirst()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SplitCapacityCommitmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecond()
public SplitCapacityCommitmentResponse.Builder clearSecond()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
clone()
public SplitCapacityCommitmentResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SplitCapacityCommitmentResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFirst()
public CapacityCommitment getFirst()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
getFirstBuilder()
public CapacityCommitment.Builder getFirstBuilder()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
getFirstOrBuilder()
public CapacityCommitmentOrBuilder getFirstOrBuilder()
First capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment first = 1;
getSecond()
public CapacityCommitment getSecond()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
getSecondBuilder()
public CapacityCommitment.Builder getSecondBuilder()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
getSecondOrBuilder()
public CapacityCommitmentOrBuilder getSecondOrBuilder()
Second capacity commitment, result of a split.
.google.cloud.bigquery.reservation.v1.CapacityCommitment second = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(SplitCapacityCommitmentResponse other)
public SplitCapacityCommitmentResponse.Builder mergeFrom(SplitCapacityCommitmentResponse other)
public SplitCapacityCommitmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SplitCapacityCommitmentResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SplitCapacityCommitmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SplitCapacityCommitmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SplitCapacityCommitmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SplitCapacityCommitmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides