public final class MergeCapacityCommitmentsRequest extends GeneratedMessageV3 implements MergeCapacityCommitmentsRequestOrBuilder
The request for
ReservationService.MergeCapacityCommitments.
Protobuf type google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CAPACITY_COMMITMENT_IDS_FIELD_NUMBER
public static final int CAPACITY_COMMITMENT_IDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MergeCapacityCommitmentsRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MergeCapacityCommitmentsRequest.Builder newBuilder()
newBuilder(MergeCapacityCommitmentsRequest prototype)
public static MergeCapacityCommitmentsRequest.Builder newBuilder(MergeCapacityCommitmentsRequest prototype)
public static MergeCapacityCommitmentsRequest parseDelimitedFrom(InputStream input)
public static MergeCapacityCommitmentsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MergeCapacityCommitmentsRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MergeCapacityCommitmentsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(CodedInputStream input)
public static MergeCapacityCommitmentsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(InputStream input)
public static MergeCapacityCommitmentsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MergeCapacityCommitmentsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MergeCapacityCommitmentsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MergeCapacityCommitmentsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
getDefaultInstanceForType()
public MergeCapacityCommitmentsRequest getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<MergeCapacityCommitmentsRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MergeCapacityCommitmentsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MergeCapacityCommitmentsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MergeCapacityCommitmentsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides