Interface QueuedResource.GuaranteedOrBuilder (2.18.0)

public static interface QueuedResource.GuaranteedOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMinDuration()

public abstract 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
TypeDescription
Duration

The minDuration.

getMinDurationOrBuilder()

public abstract 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];

Returns
TypeDescription
DurationOrBuilder

getReserved()

public abstract boolean getReserved()

Optional. Specifies the request should be scheduled on reserved capacity.

bool reserved = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The reserved.

hasMinDuration()

public abstract 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
TypeDescription
boolean

Whether the minDuration field is set.