Interface SplitCapacityCommitmentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SplitCapacityCommitmentRequest
,SplitCapacityCommitmentRequest.Builder
public interface SplitCapacityCommitmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.long
getSlotCount()
Number of slots in the capacity commitment after the split.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getSlotCount
long getSlotCount()
Number of slots in the capacity commitment after the split.
int64 slot_count = 2;
- Returns:
- The slotCount.
-
-