Class SplitCapacityCommitmentResponse.Builder (2.17.0)

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

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()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SplitCapacityCommitmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public SplitCapacityCommitmentResponse build()
Returns
TypeDescription
SplitCapacityCommitmentResponse

buildPartial()

public SplitCapacityCommitmentResponse buildPartial()
Returns
TypeDescription
SplitCapacityCommitmentResponse

clear()

public SplitCapacityCommitmentResponse.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public SplitCapacityCommitmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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)
Parameter
NameDescription
oneofOneofDescriptor
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()
Returns
TypeDescription
SplitCapacityCommitmentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFirst()

public CapacityCommitment getFirst()

First capacity commitment, result of a split.

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

Returns
TypeDescription
CapacityCommitment

The first.

getFirstBuilder()

public CapacityCommitment.Builder getFirstBuilder()

First capacity commitment, result of a split.

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

Returns
TypeDescription
CapacityCommitment.Builder

getFirstOrBuilder()

public CapacityCommitmentOrBuilder getFirstOrBuilder()

First capacity commitment, result of a split.

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

Returns
TypeDescription
CapacityCommitmentOrBuilder

getSecond()

public CapacityCommitment getSecond()

Second capacity commitment, result of a split.

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

Returns
TypeDescription
CapacityCommitment

The second.

getSecondBuilder()

public CapacityCommitment.Builder getSecondBuilder()

Second capacity commitment, result of a split.

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

Returns
TypeDescription
CapacityCommitment.Builder

getSecondOrBuilder()

public CapacityCommitmentOrBuilder getSecondOrBuilder()

Second capacity commitment, result of a split.

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

Returns
TypeDescription
CapacityCommitmentOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
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
NameDescription
valueCapacityCommitment

mergeFrom(SplitCapacityCommitmentResponse other)

public SplitCapacityCommitmentResponse.Builder mergeFrom(SplitCapacityCommitmentResponse other)
Parameter
NameDescription
otherSplitCapacityCommitmentResponse

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SplitCapacityCommitmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SplitCapacityCommitmentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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
NameDescription
valueCapacityCommitment

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SplitCapacityCommitmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SplitCapacityCommitmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueCapacityCommitment

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
NameDescription
builderForValueCapacityCommitment.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SplitCapacityCommitmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
valueCapacityCommitment

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
NameDescription
builderForValueCapacityCommitment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SplitCapacityCommitmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides