Package com.google.cloud.tpu.v2alpha1
Class QueuedResource.QueueingPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueuedResource.QueueingPolicy.Builder>
com.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy.Builder
- All Implemented Interfaces:
QueuedResource.QueueingPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueuedResource.QueueingPolicy
public static final class QueuedResource.QueueingPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QueuedResource.QueueingPolicy.Builder>
implements QueuedResource.QueueingPolicyOrBuilder
Defines the policy of the QueuedRequest.Protobuf type
google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A relative time after which resources may be created.An absolute time at which resources may be created.An absolute time interval within which resources may be created.A relative time after which resources should not be created.An absolute time after which resources should not be created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationA relative time after which resources may be created.com.google.protobuf.Duration.BuilderA relative time after which resources may be created.com.google.protobuf.DurationOrBuilderA relative time after which resources may be created.com.google.protobuf.TimestampAn absolute time at which resources may be created.com.google.protobuf.Timestamp.BuilderAn absolute time at which resources may be created.com.google.protobuf.TimestampOrBuilderAn absolute time at which resources may be created.An absolute time interval within which resources may be created.An absolute time interval within which resources may be created.An absolute time interval within which resources may be created.com.google.protobuf.DurationA relative time after which resources should not be created.com.google.protobuf.Duration.BuilderA relative time after which resources should not be created.com.google.protobuf.DurationOrBuilderA relative time after which resources should not be created.com.google.protobuf.TimestampAn absolute time after which resources should not be created.com.google.protobuf.Timestamp.BuilderAn absolute time after which resources should not be created.com.google.protobuf.TimestampOrBuilderAn absolute time after which resources should not be created.booleanA relative time after which resources may be created.booleanAn absolute time at which resources may be created.booleanAn absolute time interval within which resources may be created.booleanA relative time after which resources should not be created.booleanAn absolute time after which resources should not be created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeValidAfterDuration(com.google.protobuf.Duration value) A relative time after which resources may be created.mergeValidAfterTime(com.google.protobuf.Timestamp value) An absolute time at which resources may be created.mergeValidInterval(Interval value) An absolute time interval within which resources may be created.mergeValidUntilDuration(com.google.protobuf.Duration value) A relative time after which resources should not be created.mergeValidUntilTime(com.google.protobuf.Timestamp value) An absolute time after which resources should not be created.setValidAfterDuration(com.google.protobuf.Duration value) A relative time after which resources may be created.setValidAfterDuration(com.google.protobuf.Duration.Builder builderForValue) A relative time after which resources may be created.setValidAfterTime(com.google.protobuf.Timestamp value) An absolute time at which resources may be created.setValidAfterTime(com.google.protobuf.Timestamp.Builder builderForValue) An absolute time at which resources may be created.setValidInterval(Interval value) An absolute time interval within which resources may be created.setValidInterval(Interval.Builder builderForValue) An absolute time interval within which resources may be created.setValidUntilDuration(com.google.protobuf.Duration value) A relative time after which resources should not be created.setValidUntilDuration(com.google.protobuf.Duration.Builder builderForValue) A relative time after which resources should not be created.setValidUntilTime(com.google.protobuf.Timestamp value) An absolute time after which resources should not be created.setValidUntilTime(com.google.protobuf.Timestamp.Builder builderForValue) An absolute time after which resources should not be created.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<QueuedResource.QueueingPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QueuedResource.QueueingPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QueuedResource.QueueingPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueuedResource.QueueingPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QueuedResource.QueueingPolicy.Builder>
-
mergeFrom
public QueuedResource.QueueingPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueuedResource.QueueingPolicy.Builder>- Throws:
IOException
-
getStartTimingConstraintsCase
- Specified by:
getStartTimingConstraintsCasein interfaceQueuedResource.QueueingPolicyOrBuilder
-
clearStartTimingConstraints
-
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;- Specified by:
hasValidUntilDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validUntilDuration field is set.
-
getValidUntilDuration
public com.google.protobuf.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;- Specified by:
getValidUntilDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validUntilDuration.
-
setValidUntilDuration
public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(com.google.protobuf.Duration value) 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; -
setValidUntilDuration
public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeValidUntilDuration
public QueuedResource.QueueingPolicy.Builder mergeValidUntilDuration(com.google.protobuf.Duration value) 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; -
clearValidUntilDuration
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; -
getValidUntilDurationBuilder
public com.google.protobuf.Duration.Builder getValidUntilDurationBuilder()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; -
getValidUntilDurationOrBuilder
public com.google.protobuf.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;- Specified by:
getValidUntilDurationOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
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;- Specified by:
hasValidUntilTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validUntilTime field is set.
-
getValidUntilTime
public com.google.protobuf.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;- Specified by:
getValidUntilTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validUntilTime.
-
setValidUntilTime
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; -
setValidUntilTime
public QueuedResource.QueueingPolicy.Builder setValidUntilTime(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeValidUntilTime
public QueuedResource.QueueingPolicy.Builder mergeValidUntilTime(com.google.protobuf.Timestamp value) 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; -
clearValidUntilTime
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; -
getValidUntilTimeBuilder
public com.google.protobuf.Timestamp.Builder getValidUntilTimeBuilder()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; -
getValidUntilTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getValidUntilTimeOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidAfterDuration
public boolean hasValidAfterDuration()A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;- Specified by:
hasValidAfterDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validAfterDuration field is set.
-
getValidAfterDuration
public com.google.protobuf.Duration getValidAfterDuration()A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;- Specified by:
getValidAfterDurationin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validAfterDuration.
-
setValidAfterDuration
public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(com.google.protobuf.Duration value) A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3; -
setValidAfterDuration
public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(com.google.protobuf.Duration.Builder builderForValue) A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3; -
mergeValidAfterDuration
public QueuedResource.QueueingPolicy.Builder mergeValidAfterDuration(com.google.protobuf.Duration value) A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3; -
clearValidAfterDuration
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3; -
getValidAfterDurationBuilder
public com.google.protobuf.Duration.Builder getValidAfterDurationBuilder()A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3; -
getValidAfterDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getValidAfterDurationOrBuilder()A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;- Specified by:
getValidAfterDurationOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidAfterTime
public boolean hasValidAfterTime()An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;- Specified by:
hasValidAfterTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validAfterTime field is set.
-
getValidAfterTime
public com.google.protobuf.Timestamp getValidAfterTime()An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;- Specified by:
getValidAfterTimein interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validAfterTime.
-
setValidAfterTime
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4; -
setValidAfterTime
public QueuedResource.QueueingPolicy.Builder setValidAfterTime(com.google.protobuf.Timestamp.Builder builderForValue) An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4; -
mergeValidAfterTime
public QueuedResource.QueueingPolicy.Builder mergeValidAfterTime(com.google.protobuf.Timestamp value) An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4; -
clearValidAfterTime
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4; -
getValidAfterTimeBuilder
public com.google.protobuf.Timestamp.Builder getValidAfterTimeBuilder()An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4; -
getValidAfterTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getValidAfterTimeOrBuilder()An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;- Specified by:
getValidAfterTimeOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-
hasValidInterval
public boolean hasValidInterval()An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;- Specified by:
hasValidIntervalin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- Whether the validInterval field is set.
-
getValidInterval
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;- Specified by:
getValidIntervalin interfaceQueuedResource.QueueingPolicyOrBuilder- Returns:
- The validInterval.
-
setValidInterval
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5; -
setValidInterval
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5; -
mergeValidInterval
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5; -
clearValidInterval
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5; -
getValidIntervalBuilder
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5; -
getValidIntervalOrBuilder
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;- Specified by:
getValidIntervalOrBuilderin interfaceQueuedResource.QueueingPolicyOrBuilder
-