Interface QueuedResource.GuaranteedOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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.