Class SplitCapacityCommitmentResponse.Builder (2.54.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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SplitCapacityCommitmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

build()

public SplitCapacityCommitmentResponse build()
Returns
Type Description
SplitCapacityCommitmentResponse

buildPartial()

public SplitCapacityCommitmentResponse buildPartial()
Returns
Type Description
SplitCapacityCommitmentResponse

clear()

public SplitCapacityCommitmentResponse.Builder clear()
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SplitCapacityCommitmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

clearFirst()

public SplitCapacityCommitmentResponse.Builder clearFirst()

First capacity commitment, result of a split.

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

Returns
Type Description
SplitCapacityCommitmentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SplitCapacityCommitmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

clearSecond()

public SplitCapacityCommitmentResponse.Builder clearSecond()

Second capacity commitment, result of a split.

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

Returns
Type Description
SplitCapacityCommitmentResponse.Builder

clone()

public SplitCapacityCommitmentResponse.Builder clone()
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

getDefaultInstanceForType()

public SplitCapacityCommitmentResponse getDefaultInstanceForType()
Returns
Type Description
SplitCapacityCommitmentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFirstBuilder()

public CapacityCommitment.Builder getFirstBuilder()

First capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitment.Builder

getFirstOrBuilder()

public CapacityCommitmentOrBuilder getFirstOrBuilder()

First capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitmentOrBuilder

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.

getSecondBuilder()

public CapacityCommitment.Builder getSecondBuilder()

Second capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitment.Builder

getSecondOrBuilder()

public CapacityCommitmentOrBuilder getSecondOrBuilder()

Second capacity commitment, result of a split.

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

Returns
Type Description
CapacityCommitmentOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value CapacityCommitment
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

mergeFrom(SplitCapacityCommitmentResponse other)

public SplitCapacityCommitmentResponse.Builder mergeFrom(SplitCapacityCommitmentResponse other)
Parameter
Name Description
other SplitCapacityCommitmentResponse
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SplitCapacityCommitmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SplitCapacityCommitmentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
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
Name Description
value CapacityCommitment
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SplitCapacityCommitmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SplitCapacityCommitmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
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
Name Description
value CapacityCommitment
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

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
Name Description
builderForValue CapacityCommitment.Builder
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

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

public SplitCapacityCommitmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
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
Name Description
value CapacityCommitment
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

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
Name Description
builderForValue CapacityCommitment.Builder
Returns
Type Description
SplitCapacityCommitmentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SplitCapacityCommitmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SplitCapacityCommitmentResponse.Builder
Overrides