Send feedback
Class QueuedResource.QueueingPolicy (2.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.12.0 keyboard_arrow_down
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
VALID_AFTER_TIME_FIELD_NUMBER
public static final int VALID_AFTER_TIME_FIELD_NUMBER
Field Value
VALID_INTERVAL_FIELD_NUMBER
public static final int VALID_INTERVAL_FIELD_NUMBER
Field Value
VALID_UNTIL_DURATION_FIELD_NUMBER
public static final int VALID_UNTIL_DURATION_FIELD_NUMBER
Field Value
VALID_UNTIL_TIME_FIELD_NUMBER
public static final int VALID_UNTIL_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static QueuedResource . QueueingPolicy getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static QueuedResource . QueueingPolicy . Builder newBuilder ()
Returns
newBuilder(QueuedResource.QueueingPolicy prototype)
public static QueuedResource . QueueingPolicy . Builder newBuilder ( QueuedResource . QueueingPolicy prototype )
Parameter
Returns
public static QueuedResource . QueueingPolicy parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static QueuedResource . QueueingPolicy parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static QueuedResource . QueueingPolicy parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource . QueueingPolicy parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static QueuedResource . QueueingPolicy parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource . QueueingPolicy parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static QueuedResource . QueueingPolicy parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static QueuedResource . QueueingPolicy parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static QueuedResource . QueueingPolicy parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static QueuedResource . QueueingPolicy parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static QueuedResource . QueueingPolicy parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource . QueueingPolicy parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<QueuedResource . QueueingPolicy > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public QueuedResource . QueueingPolicy getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<QueuedResource . QueueingPolicy > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getStartTimingConstraintsCase()
public QueuedResource . QueueingPolicy . StartTimingConstraintsCase getStartTimingConstraintsCase ()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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
getValidAfterTime()
public Timestamp getValidAfterTime ()
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Returns
getValidAfterTimeOrBuilder()
public TimestampOrBuilder getValidAfterTimeOrBuilder ()
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Returns
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
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
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public QueuedResource . QueueingPolicy . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueuedResource . QueueingPolicy . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public QueuedResource . QueueingPolicy . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]