Package com.google.cloud.tpu.v2alpha1
Interface QueuedResource.GuaranteedOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueuedResource.Guaranteed
,QueuedResource.Guaranteed.Builder
- Enclosing class:
- QueuedResource
public static interface QueuedResource.GuaranteedOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getMinDuration()
Optional.com.google.protobuf.DurationOrBuilder
getMinDurationOrBuilder()
Optional.boolean
getReserved()
Optional.boolean
hasMinDuration()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMinDuration
boolean hasMinDuration()
Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration.
.google.protobuf.Duration min_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the minDuration field is set.
-
getMinDuration
com.google.protobuf.Duration getMinDuration()
Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration.
.google.protobuf.Duration min_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The minDuration.
-
getMinDurationOrBuilder
com.google.protobuf.DurationOrBuilder getMinDurationOrBuilder()
Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration.
.google.protobuf.Duration min_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
-
getReserved
boolean getReserved()
Optional. Specifies the request should be scheduled on reserved capacity.
bool reserved = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The reserved.
-
-