Interface SplitCapacityCommitmentRequestOrBuilder (2.31.0)

public interface SplitCapacityCommitmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getSlotCount()

public abstract long getSlotCount()

Number of slots in the capacity commitment after the split.

int64 slot_count = 2;

Returns
TypeDescription
long

The slotCount.