Class QueuedResource.QueueingPolicy.Builder (2.56.0)

public static final class QueuedResource.QueueingPolicy.Builder extends GeneratedMessageV3.Builder<QueuedResource.QueueingPolicy.Builder> implements QueuedResource.QueueingPolicyOrBuilder

Defines the policy of the QueuedRequest.

Protobuf type google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueuedResource.QueueingPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

build()

public QueuedResource.QueueingPolicy build()
Returns
Type Description
QueuedResource.QueueingPolicy

buildPartial()

public QueuedResource.QueueingPolicy buildPartial()
Returns
Type Description
QueuedResource.QueueingPolicy

clear()

public QueuedResource.QueueingPolicy.Builder clear()
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueuedResource.QueueingPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueuedResource.QueueingPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

clearStartTimingConstraints()

public QueuedResource.QueueingPolicy.Builder clearStartTimingConstraints()
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

clearValidAfterDuration()

public QueuedResource.QueueingPolicy.Builder clearValidAfterDuration()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
Type Description
QueuedResource.QueueingPolicy.Builder

clearValidAfterTime()

public QueuedResource.QueueingPolicy.Builder clearValidAfterTime()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
Type Description
QueuedResource.QueueingPolicy.Builder

clearValidInterval()

public QueuedResource.QueueingPolicy.Builder clearValidInterval()

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Returns
Type Description
QueuedResource.QueueingPolicy.Builder

clearValidUntilDuration()

public QueuedResource.QueueingPolicy.Builder clearValidUntilDuration()

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Returns
Type Description
QueuedResource.QueueingPolicy.Builder

clearValidUntilTime()

public QueuedResource.QueueingPolicy.Builder clearValidUntilTime()

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Returns
Type Description
QueuedResource.QueueingPolicy.Builder

clone()

public QueuedResource.QueueingPolicy.Builder clone()
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

getDefaultInstanceForType()

public QueuedResource.QueueingPolicy getDefaultInstanceForType()
Returns
Type Description
QueuedResource.QueueingPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStartTimingConstraintsCase()

public QueuedResource.QueueingPolicy.StartTimingConstraintsCase getStartTimingConstraintsCase()
Returns
Type Description
QueuedResource.QueueingPolicy.StartTimingConstraintsCase

getValidAfterDuration()

public Duration getValidAfterDuration()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
Type Description
Duration

The validAfterDuration.

getValidAfterDurationBuilder()

public Duration.Builder getValidAfterDurationBuilder()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
Type Description
Builder

getValidAfterDurationOrBuilder()

public DurationOrBuilder getValidAfterDurationOrBuilder()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
Type Description
DurationOrBuilder

getValidAfterTime()

public Timestamp getValidAfterTime()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
Type Description
Timestamp

The validAfterTime.

getValidAfterTimeBuilder()

public Timestamp.Builder getValidAfterTimeBuilder()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
Type Description
Builder

getValidAfterTimeOrBuilder()

public TimestampOrBuilder getValidAfterTimeOrBuilder()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
Type Description
TimestampOrBuilder

getValidInterval()

public Interval getValidInterval()

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Returns
Type Description
com.google.type.Interval

The validInterval.

getValidIntervalBuilder()

public Interval.Builder getValidIntervalBuilder()

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Returns
Type Description
com.google.type.Interval.Builder

getValidIntervalOrBuilder()

public IntervalOrBuilder getValidIntervalOrBuilder()

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Returns
Type Description
com.google.type.IntervalOrBuilder

getValidUntilDuration()

public Duration getValidUntilDuration()

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Returns
Type Description
Duration

The validUntilDuration.

getValidUntilDurationBuilder()

public Duration.Builder getValidUntilDurationBuilder()

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Returns
Type Description
Builder

getValidUntilDurationOrBuilder()

public DurationOrBuilder getValidUntilDurationOrBuilder()

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Returns
Type Description
DurationOrBuilder

getValidUntilTime()

public Timestamp getValidUntilTime()

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Returns
Type Description
Timestamp

The validUntilTime.

getValidUntilTimeBuilder()

public Timestamp.Builder getValidUntilTimeBuilder()

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Returns
Type Description
Builder

getValidUntilTimeOrBuilder()

public TimestampOrBuilder getValidUntilTimeOrBuilder()

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Returns
Type Description
TimestampOrBuilder

hasValidAfterDuration()

public boolean hasValidAfterDuration()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
Type Description
boolean

Whether the validAfterDuration field is set.

hasValidAfterTime()

public boolean hasValidAfterTime()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
Type Description
boolean

Whether the validAfterTime field is set.

hasValidInterval()

public boolean hasValidInterval()

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Returns
Type Description
boolean

Whether the validInterval field is set.

hasValidUntilDuration()

public boolean hasValidUntilDuration()

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Returns
Type Description
boolean

Whether the validUntilDuration field is set.

hasValidUntilTime()

public boolean hasValidUntilTime()

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Returns
Type Description
boolean

Whether the validUntilTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueuedResource.QueueingPolicy other)

public QueuedResource.QueueingPolicy.Builder mergeFrom(QueuedResource.QueueingPolicy other)
Parameter
Name Description
other QueuedResource.QueueingPolicy
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueuedResource.QueueingPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueuedResource.QueueingPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResource.QueueingPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

mergeValidAfterDuration(Duration value)

public QueuedResource.QueueingPolicy.Builder mergeValidAfterDuration(Duration value)

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Parameter
Name Description
value Duration
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

mergeValidAfterTime(Timestamp value)

public QueuedResource.QueueingPolicy.Builder mergeValidAfterTime(Timestamp value)

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

mergeValidInterval(Interval value)

public QueuedResource.QueueingPolicy.Builder mergeValidInterval(Interval value)

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

mergeValidUntilDuration(Duration value)

public QueuedResource.QueueingPolicy.Builder mergeValidUntilDuration(Duration value)

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

mergeValidUntilTime(Timestamp value)

public QueuedResource.QueueingPolicy.Builder mergeValidUntilTime(Timestamp value)

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResource.QueueingPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueuedResource.QueueingPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResource.QueueingPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

setValidAfterDuration(Duration value)

public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(Duration value)

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Parameter
Name Description
value Duration
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidAfterDuration(Duration.Builder builderForValue)

public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(Duration.Builder builderForValue)

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidAfterTime(Timestamp value)

public QueuedResource.QueueingPolicy.Builder setValidAfterTime(Timestamp value)

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidAfterTime(Timestamp.Builder builderForValue)

public QueuedResource.QueueingPolicy.Builder setValidAfterTime(Timestamp.Builder builderForValue)

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidInterval(Interval value)

public QueuedResource.QueueingPolicy.Builder setValidInterval(Interval value)

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidInterval(Interval.Builder builderForValue)

public QueuedResource.QueueingPolicy.Builder setValidInterval(Interval.Builder builderForValue)

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidUntilDuration(Duration value)

public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(Duration value)

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidUntilDuration(Duration.Builder builderForValue)

public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(Duration.Builder builderForValue)

A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Duration valid_until_duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidUntilTime(Timestamp value)

public QueuedResource.QueueingPolicy.Builder setValidUntilTime(Timestamp value)

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

setValidUntilTime(Timestamp.Builder builderForValue)

public QueuedResource.QueueingPolicy.Builder setValidUntilTime(Timestamp.Builder builderForValue)

An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

.google.protobuf.Timestamp valid_until_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QueuedResource.QueueingPolicy.Builder