Class QueuedResource.QueueingPolicy (2.21.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
TypeDescription
int

VALID_AFTER_TIME_FIELD_NUMBER

public static final int VALID_AFTER_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_INTERVAL_FIELD_NUMBER

public static final int VALID_INTERVAL_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_UNTIL_DURATION_FIELD_NUMBER

public static final int VALID_UNTIL_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_UNTIL_TIME_FIELD_NUMBER

public static final int VALID_UNTIL_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueuedResource.QueueingPolicy getDefaultInstance()
Returns
TypeDescription
QueuedResource.QueueingPolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static QueuedResource.QueueingPolicy.Builder newBuilder()
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder

newBuilder(QueuedResource.QueueingPolicy prototype)

public static QueuedResource.QueueingPolicy.Builder newBuilder(QueuedResource.QueueingPolicy prototype)
Parameter
NameDescription
prototypeQueuedResource.QueueingPolicy
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder

parseDelimitedFrom(InputStream input)

public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueuedResource.QueueingPolicy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueuedResource.QueueingPolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueuedResource.QueueingPolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueuedResource.QueueingPolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResource.QueueingPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

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

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.

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueuedResource.QueueingPolicy.Builder newBuilderForType()
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueuedResource.QueueingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueuedResource.QueueingPolicy.Builder toBuilder()
Returns
TypeDescription
QueuedResource.QueueingPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException