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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Optional.
    com.google.protobuf.DurationOrBuilder
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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];