Class SplitCapacityCommitmentResponse.Builder (2.1.4)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SplitCapacityCommitmentResponse build()
Returns
TypeDescription
SplitCapacityCommitmentResponse

buildPartial()

public SplitCapacityCommitmentResponse buildPartial()
Returns
TypeDescription
SplitCapacityCommitmentResponse

clear()

public SplitCapacityCommitmentResponse.Builder clear()
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SplitCapacityCommitmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder
Overrides

clearFirst()

public SplitCapacityCommitmentResponse.Builder clearFirst()

First capacity commitment, result of a split.

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

Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SplitCapacityCommitmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder
Overrides

clearSecond()

public SplitCapacityCommitmentResponse.Builder clearSecond()

Second capacity commitment, result of a split.

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

Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder

clone()

public SplitCapacityCommitmentResponse.Builder clone()
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder
Overrides

getDefaultInstanceForType()

public SplitCapacityCommitmentResponse getDefaultInstanceForType()
Returns
TypeDescription
SplitCapacityCommitmentResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
Returns
TypeDescription
SplitCapacityCommitmentResponse.Builder

mergeFrom(SplitCapacityCommitmentResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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