public final class MergeCapacityCommitmentsRequest extends GeneratedMessageV3 implements MergeCapacityCommitmentsRequestOrBuilder
The request for ReservationService.MergeCapacityCommitments.
Protobuf type google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest
Static Fields
CAPACITY_COMMITMENT_IDS_FIELD_NUMBER
public static final int CAPACITY_COMMITMENT_IDS_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MergeCapacityCommitmentsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MergeCapacityCommitmentsRequest.Builder newBuilder()
Returns
newBuilder(MergeCapacityCommitmentsRequest prototype)
public static MergeCapacityCommitmentsRequest.Builder newBuilder(MergeCapacityCommitmentsRequest prototype)
Parameter
Returns
public static MergeCapacityCommitmentsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MergeCapacityCommitmentsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MergeCapacityCommitmentsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MergeCapacityCommitmentsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeCapacityCommitmentsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MergeCapacityCommitmentsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeCapacityCommitmentsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MergeCapacityCommitmentsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MergeCapacityCommitmentsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MergeCapacityCommitmentsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCapacityCommitmentIds(int index)
public 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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The capacityCommitmentIds at the given index.
|
getCapacityCommitmentIdsBytes(int index)
public 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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the capacityCommitmentIds at the given index.
|
getCapacityCommitmentIdsCount()
public 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;
Returns
Type | Description |
int | The count of capacityCommitmentIds.
|
getCapacityCommitmentIdsList()
public 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;
Returns
getDefaultInstanceForType()
public MergeCapacityCommitmentsRequest getDefaultInstanceForType()
Returns
getParent()
public String getParent()
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<MergeCapacityCommitmentsRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MergeCapacityCommitmentsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MergeCapacityCommitmentsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MergeCapacityCommitmentsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions