Package com.google.cloud.tpu.v2
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.v2.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.v2.QueuedResource.QueueingPolicy-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.Optional.Optional.com.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.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) Optional.mergeValidAfterTime(com.google.protobuf.Timestamp value) Optional.mergeValidInterval(Interval value) Optional.mergeValidUntilDuration(com.google.protobuf.Duration value) Optional.mergeValidUntilTime(com.google.protobuf.Timestamp value) Optional.setValidAfterDuration(com.google.protobuf.Duration value) Optional.setValidAfterDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.setValidAfterTime(com.google.protobuf.Timestamp value) Optional.setValidAfterTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.setValidInterval(Interval value) Optional.setValidInterval(Interval.Builder builderForValue) Optional.setValidUntilDuration(com.google.protobuf.Duration value) Optional.setValidUntilDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.setValidUntilTime(com.google.protobuf.Timestamp value) Optional.setValidUntilTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.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()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.
-
setValidUntilDuration
public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(com.google.protobuf.Duration value) 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]; -
setValidUntilDuration
public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(com.google.protobuf.Duration.Builder builderForValue) 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]; -
mergeValidUntilDuration
public QueuedResource.QueueingPolicy.Builder mergeValidUntilDuration(com.google.protobuf.Duration value) 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]; -
clearValidUntilDuration
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]; -
getValidUntilDurationBuilder
public com.google.protobuf.Duration.Builder getValidUntilDurationBuilder()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]; -
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.
-
setValidUntilTime
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]; -
setValidUntilTime
public QueuedResource.QueueingPolicy.Builder setValidUntilTime(com.google.protobuf.Timestamp.Builder builderForValue) 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]; -
mergeValidUntilTime
public QueuedResource.QueueingPolicy.Builder mergeValidUntilTime(com.google.protobuf.Timestamp value) 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]; -
clearValidUntilTime
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]; -
getValidUntilTimeBuilder
public com.google.protobuf.Timestamp.Builder getValidUntilTimeBuilder()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]; -
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.
-
setValidAfterDuration
public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(com.google.protobuf.Duration value) Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setValidAfterDuration
public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(com.google.protobuf.Duration.Builder builderForValue) Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeValidAfterDuration
public QueuedResource.QueueingPolicy.Builder mergeValidAfterDuration(com.google.protobuf.Duration value) Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearValidAfterDuration
Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getValidAfterDurationBuilder
public com.google.protobuf.Duration.Builder getValidAfterDurationBuilder()Optional. A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3 [(.google.api.field_behavior) = OPTIONAL]; -
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.
-
setValidAfterTime
Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setValidAfterTime
public QueuedResource.QueueingPolicy.Builder setValidAfterTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeValidAfterTime
public QueuedResource.QueueingPolicy.Builder mergeValidAfterTime(com.google.protobuf.Timestamp value) Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearValidAfterTime
Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getValidAfterTimeBuilder
public com.google.protobuf.Timestamp.Builder getValidAfterTimeBuilder()Optional. An absolute time after which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4 [(.google.api.field_behavior) = OPTIONAL]; -
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.
-
setValidInterval
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setValidInterval
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeValidInterval
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearValidInterval
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getValidIntervalBuilder
Optional. An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5 [(.google.api.field_behavior) = OPTIONAL]; -
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
-