Package com.google.cloud.tpu.v2
Class QueuedResource.QueueingPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tpu.v2.QueuedResource.QueueingPolicy
- All Implemented Interfaces:
QueuedResource.QueueingPolicyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- QueuedResource
public static final class QueuedResource.QueueingPolicy
extends com.google.protobuf.GeneratedMessage
implements QueuedResource.QueueingPolicyOrBuilder
Defines the policy of the QueuedRequest.Protobuf type
google.cloud.tpu.v2.QueuedResource.QueueingPolicy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines the policy of the QueuedRequest.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<QueuedResource.QueueingPolicy>intcom.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.Optional.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(QueuedResource.QueueingPolicy prototype) protected QueuedResource.QueueingPolicy.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueuedResource.QueueingPolicy>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VALID_UNTIL_DURATION_FIELD_NUMBER
public static final int VALID_UNTIL_DURATION_FIELD_NUMBER- See Also:
-
VALID_UNTIL_TIME_FIELD_NUMBER
public static final int VALID_UNTIL_TIME_FIELD_NUMBER- See Also:
-
VALID_AFTER_DURATION_FIELD_NUMBER
public static final int VALID_AFTER_DURATION_FIELD_NUMBER- See Also:
-
VALID_AFTER_TIME_FIELD_NUMBER
public static final int VALID_AFTER_TIME_FIELD_NUMBER- See Also:
-
VALID_INTERVAL_FIELD_NUMBER
public static final int VALID_INTERVAL_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStartTimingConstraintsCase
- Specified by:
getStartTimingConstraintsCasein interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidUntilDuration
public boolean hasValidUntilDuration()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasValidUntilDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validUntilDuration field is set.
-
getValidUntilDuration
public com.google.protobuf.Duration getValidUntilDuration()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidUntilDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validUntilDuration.
-
getValidUntilDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getValidUntilDurationOrBuilder()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidUntilDurationOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidUntilTime
public boolean hasValidUntilTime()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasValidUntilTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validUntilTime field is set.
-
getValidUntilTime
public com.google.protobuf.Timestamp getValidUntilTime()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidUntilTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validUntilTime.
-
getValidUntilTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getValidUntilTimeOrBuilder()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidUntilTimeOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidAfterDuration
public boolean hasValidAfterDuration()Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasValidAfterDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validAfterDuration field is set.
-
getValidAfterDuration
public com.google.protobuf.Duration getValidAfterDuration()Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidAfterDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validAfterDuration.
-
getValidAfterDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getValidAfterDurationOrBuilder()Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidAfterDurationOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidAfterTime
public boolean hasValidAfterTime()Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasValidAfterTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validAfterTime field is set.
-
getValidAfterTime
public com.google.protobuf.Timestamp getValidAfterTime()Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidAfterTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validAfterTime.
-
getValidAfterTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getValidAfterTimeOrBuilder()Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidAfterTimeOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidInterval
public boolean hasValidInterval()Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasValidIntervalin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validInterval field is set.
-
getValidInterval
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidIntervalin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validInterval.
-
getValidIntervalOrBuilder
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getValidIntervalOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static QueuedResource.QueueingPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QueuedResource.QueueingPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static QueuedResource.QueueingPolicy.Builder newBuilder(QueuedResource.QueueingPolicy prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueuedResource.QueueingPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-