Interface QueuedResource.GuaranteedOrBuilder (2.56.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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the minDuration field is set.