Interface MergeCapacityCommitmentsRequestOrBuilder (2.16.0)

public interface MergeCapacityCommitmentsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCapacityCommitmentIds(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The capacityCommitmentIds at the given index.

getCapacityCommitmentIdsBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the capacityCommitmentIds at the given index.

getCapacityCommitmentIdsCount()

public abstract 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
TypeDescription
int

The count of capacityCommitmentIds.

getCapacityCommitmentIdsList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the capacityCommitmentIds.

getParent()

public abstract String getParent()

Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.