Interface MergeCapacityCommitmentsRequestOrBuilder (2.47.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
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 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
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 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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.