Class QueuedResource.QueueingPolicy (2.46.0)

public static final class QueuedResource.QueueingPolicy extends GeneratedMessageV3 implements QueuedResource.QueueingPolicyOrBuilder

Defines the policy of the QueuedRequest.

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

Static Fields

VALID_AFTER_DURATION_FIELD_NUMBER

public static final int VALID_AFTER_DURATION_FIELD_NUMBER
Field Value
Type Description
int

VALID_AFTER_TIME_FIELD_NUMBER

public static final int VALID_AFTER_TIME_FIELD_NUMBER
Field Value
Type Description
int

VALID_INTERVAL_FIELD_NUMBER

public static final int VALID_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

VALID_UNTIL_DURATION_FIELD_NUMBER

public static final int VALID_UNTIL_DURATION_FIELD_NUMBER
Field Value
Type Description
int

VALID_UNTIL_TIME_FIELD_NUMBER

public static final int VALID_UNTIL_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueuedResource.QueueingPolicy getDefaultInstance()
Returns
Type Description
QueuedResource.QueueingPolicy

getDescriptor()

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

newBuilder()

public static QueuedResource.QueueingPolicy.Builder newBuilder()
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

newBuilder(QueuedResource.QueueingPolicy prototype)

public static QueuedResource.QueueingPolicy.Builder newBuilder(QueuedResource.QueueingPolicy prototype)
Parameter
Name Description
prototype QueuedResource.QueueingPolicy
Returns
Type Description
QueuedResource.QueueingPolicy.Builder

parseDelimitedFrom(InputStream input)

public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueuedResource.QueueingPolicy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueuedResource.QueueingPolicy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueuedResource.QueueingPolicy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueuedResource.QueueingPolicy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResource.QueueingPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueuedResource.QueueingPolicy> parser()
Returns
Type Description
Parser<QueueingPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<QueuedResource.QueueingPolicy> getParserForType()
Returns
Type Description
Parser<QueueingPolicy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueuedResource.QueueingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueuedResource.QueueingPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException