public static final class MergeCapacityCommitmentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder> implements MergeCapacityCommitmentsRequestOrBuilder
The request for [ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments].Protobuf type
google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest| Modifier and Type | Method and Description |
|---|---|
MergeCapacityCommitmentsRequest.Builder |
addAllCapacityCommitmentIds(Iterable<String> values)
Ids of capacity commitments to merge.
|
MergeCapacityCommitmentsRequest.Builder |
addCapacityCommitmentIds(String value)
Ids of capacity commitments to merge.
|
MergeCapacityCommitmentsRequest.Builder |
addCapacityCommitmentIdsBytes(com.google.protobuf.ByteString value)
Ids of capacity commitments to merge.
|
MergeCapacityCommitmentsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MergeCapacityCommitmentsRequest |
build() |
MergeCapacityCommitmentsRequest |
buildPartial() |
MergeCapacityCommitmentsRequest.Builder |
clear() |
MergeCapacityCommitmentsRequest.Builder |
clearCapacityCommitmentIds()
Ids of capacity commitments to merge.
|
MergeCapacityCommitmentsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MergeCapacityCommitmentsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MergeCapacityCommitmentsRequest.Builder |
clearParent()
Parent resource that identifies admin project and location e.g.,
`projects/myproject/locations/us`
|
MergeCapacityCommitmentsRequest.Builder |
clone() |
String |
getCapacityCommitmentIds(int index)
Ids of capacity commitments to merge.
|
com.google.protobuf.ByteString |
getCapacityCommitmentIdsBytes(int index)
Ids of capacity commitments to merge.
|
int |
getCapacityCommitmentIdsCount()
Ids of capacity commitments to merge.
|
com.google.protobuf.ProtocolStringList |
getCapacityCommitmentIdsList()
Ids of capacity commitments to merge.
|
MergeCapacityCommitmentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getParent()
Parent resource that identifies admin project and location e.g.,
`projects/myproject/locations/us`
|
com.google.protobuf.ByteString |
getParentBytes()
Parent resource that identifies admin project and location e.g.,
`projects/myproject/locations/us`
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MergeCapacityCommitmentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MergeCapacityCommitmentsRequest.Builder |
mergeFrom(MergeCapacityCommitmentsRequest other) |
MergeCapacityCommitmentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
MergeCapacityCommitmentsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MergeCapacityCommitmentsRequest.Builder |
setCapacityCommitmentIds(int index,
String value)
Ids of capacity commitments to merge.
|
MergeCapacityCommitmentsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MergeCapacityCommitmentsRequest.Builder |
setParent(String value)
Parent resource that identifies admin project and location e.g.,
`projects/myproject/locations/us`
|
MergeCapacityCommitmentsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Parent resource that identifies admin project and location e.g.,
`projects/myproject/locations/us`
|
MergeCapacityCommitmentsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MergeCapacityCommitmentsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MergeCapacityCommitmentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MergeCapacityCommitmentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MergeCapacityCommitmentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder mergeFrom(MergeCapacityCommitmentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public MergeCapacityCommitmentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MergeCapacityCommitmentsRequest.Builder>IOExceptionpublic String getParent()
Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`
string parent = 1 [(.google.api.resource_reference) = { ... }getParent in interface MergeCapacityCommitmentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`
string parent = 1 [(.google.api.resource_reference) = { ... }getParentBytes in interface MergeCapacityCommitmentsRequestOrBuilderpublic MergeCapacityCommitmentsRequest.Builder setParent(String value)
Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`
string parent = 1 [(.google.api.resource_reference) = { ... }value - The parent to set.public MergeCapacityCommitmentsRequest.Builder clearParent()
Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`
string parent = 1 [(.google.api.resource_reference) = { ... }public MergeCapacityCommitmentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Parent resource that identifies admin project and location e.g., `projects/myproject/locations/us`
string parent = 1 [(.google.api.resource_reference) = { ... }value - The bytes for parent to set.public com.google.protobuf.ProtocolStringList getCapacityCommitmentIdsList()
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;getCapacityCommitmentIdsList in interface MergeCapacityCommitmentsRequestOrBuilderpublic int getCapacityCommitmentIdsCount()
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;getCapacityCommitmentIdsCount in interface MergeCapacityCommitmentsRequestOrBuilderpublic String getCapacityCommitmentIds(int index)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;getCapacityCommitmentIds in interface MergeCapacityCommitmentsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCapacityCommitmentIdsBytes(int index)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;getCapacityCommitmentIdsBytes in interface MergeCapacityCommitmentsRequestOrBuilderindex - The index of the value to return.public MergeCapacityCommitmentsRequest.Builder setCapacityCommitmentIds(int index, String value)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;index - The index to set the value at.value - The capacityCommitmentIds to set.public MergeCapacityCommitmentsRequest.Builder addCapacityCommitmentIds(String value)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;value - The capacityCommitmentIds to add.public MergeCapacityCommitmentsRequest.Builder addAllCapacityCommitmentIds(Iterable<String> values)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;values - The capacityCommitmentIds to add.public MergeCapacityCommitmentsRequest.Builder clearCapacityCommitmentIds()
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;public MergeCapacityCommitmentsRequest.Builder addCapacityCommitmentIdsBytes(com.google.protobuf.ByteString value)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;value - The bytes of the capacityCommitmentIds to add.public final MergeCapacityCommitmentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>public final MergeCapacityCommitmentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.