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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static QueuedResource.QueueingPolicy.Builder newBuilder()
newBuilder(QueuedResource.QueueingPolicy prototype)
public static QueuedResource.QueueingPolicy.Builder newBuilder(QueuedResource.QueueingPolicy prototype)
public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input)
public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static QueuedResource.QueueingPolicy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource.QueueingPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static QueuedResource.QueueingPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource.QueueingPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource.QueueingPolicy parseFrom(CodedInputStream input)
public static QueuedResource.QueueingPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueuedResource.QueueingPolicy parseFrom(InputStream input)
public static QueuedResource.QueueingPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<QueuedResource.QueueingPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public QueuedResource.QueueingPolicy getDefaultInstanceForType()
getParserForType()
public Parser<QueuedResource.QueueingPolicy> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStartTimingConstraintsCase()
public QueuedResource.QueueingPolicy.StartTimingConstraintsCase getStartTimingConstraintsCase()
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;
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;
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;
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public QueuedResource.QueueingPolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueuedResource.QueueingPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public QueuedResource.QueueingPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides