Class QueuedResource.QueueingPolicy.Builder (2.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueuedResource.QueueingPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

build()

public QueuedResource.QueueingPolicy build()
Returns
TypeDescription
QueuedResource.QueueingPolicy

buildPartial()

public QueuedResource.QueueingPolicy buildPartial()
Returns
TypeDescription
QueuedResource.QueueingPolicy

clear()

public QueuedResource.QueueingPolicy.Builder clear()
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueuedResource.QueueingPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueuedResource.QueueingPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

clearStartTimingConstraints()

public QueuedResource.QueueingPolicy.Builder clearStartTimingConstraints()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
QueuedResource.QueueingPolicy.Builder

clone()

public QueuedResource.QueueingPolicy.Builder clone()
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

getDefaultInstanceForType()

public QueuedResource.QueueingPolicy getDefaultInstanceForType()
Returns
TypeDescription
QueuedResource.QueueingPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStartTimingConstraintsCase()

public QueuedResource.QueueingPolicy.StartTimingConstraintsCase getStartTimingConstraintsCase()
Returns
TypeDescription
QueuedResource.QueueingPolicy.StartTimingConstraintsCase

getValidAfterDuration()

public Duration getValidAfterDuration()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
TypeDescription
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
TypeDescription
Builder

getValidAfterDurationOrBuilder()

public DurationOrBuilder getValidAfterDurationOrBuilder()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
TypeDescription
DurationOrBuilder

getValidAfterTime()

public Timestamp getValidAfterTime()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
TypeDescription
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
TypeDescription
Builder

getValidAfterTimeOrBuilder()

public TimestampOrBuilder getValidAfterTimeOrBuilder()

An absolute time at which resources may be created.

.google.protobuf.Timestamp valid_after_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getValidInterval()

public Interval getValidInterval()

An absolute time interval within which resources may be created.

.google.type.Interval valid_interval = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

hasValidAfterDuration()

public boolean hasValidAfterDuration()

A relative time after which resources may be created.

.google.protobuf.Duration valid_after_duration = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the validUntilTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueuedResource.QueueingPolicy other)

public QueuedResource.QueueingPolicy.Builder mergeFrom(QueuedResource.QueueingPolicy other)
Parameter
NameDescription
otherQueuedResource.QueueingPolicy
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueuedResource.QueueingPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueuedResource.QueueingPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResource.QueueingPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResource.QueueingPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResource.QueueingPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Interval.Builder
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder