- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.2.6
public static final class QueuedResource.QueueingPolicy.Builder extends GeneratedMessageV3.Builder<QueuedResource.QueueingPolicy.Builder> implements QueuedResource.QueueingPolicyOrBuilder
Defines the policy of the QueuedRequest.
Protobuf type google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueuedResource.QueueingPolicy.BuilderImplements
QueuedResource.QueueingPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.QueueingPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
build()
public QueuedResource.QueueingPolicy build()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy |
buildPartial()
public QueuedResource.QueueingPolicy buildPartial()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy |
clear()
public QueuedResource.QueueingPolicy.Builder clear()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueuedResource.QueueingPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueuedResource.QueueingPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearStartTimingConstraints()
public QueuedResource.QueueingPolicy.Builder clearStartTimingConstraints()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearValidAfterDuration()
public QueuedResource.QueueingPolicy.Builder clearValidAfterDuration()
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearValidAfterTime()
public QueuedResource.QueueingPolicy.Builder clearValidAfterTime()
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearValidInterval()
public QueuedResource.QueueingPolicy.Builder clearValidInterval()
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearValidUntilDuration()
public QueuedResource.QueueingPolicy.Builder 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;
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clearValidUntilTime()
public QueuedResource.QueueingPolicy.Builder 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;
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
clone()
public QueuedResource.QueueingPolicy.Builder clone()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
getDefaultInstanceForType()
public QueuedResource.QueueingPolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getStartTimingConstraintsCase()
public QueuedResource.QueueingPolicy.StartTimingConstraintsCase getStartTimingConstraintsCase()
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.StartTimingConstraintsCase |
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. |
getValidAfterDurationBuilder()
public Duration.Builder getValidAfterDurationBuilder()
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;
Returns | |
---|---|
Type | Description |
Builder |
getValidAfterDurationOrBuilder()
public DurationOrBuilder getValidAfterDurationOrBuilder()
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
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. |
getValidAfterTimeBuilder()
public Timestamp.Builder getValidAfterTimeBuilder()
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
getValidAfterTimeOrBuilder()
public TimestampOrBuilder getValidAfterTimeOrBuilder()
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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. |
getValidIntervalBuilder()
public Interval.Builder getValidIntervalBuilder()
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;
Returns | |
---|---|
Type | Description |
com.google.type.Interval.Builder |
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. |
getValidUntilDurationBuilder()
public 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;
Returns | |
---|---|
Type | Description |
Builder |
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 | |
---|---|
Type | Description |
DurationOrBuilder |
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. |
getValidUntilTimeBuilder()
public 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;
Returns | |
---|---|
Type | Description |
Builder |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(QueuedResource.QueueingPolicy other)
public QueuedResource.QueueingPolicy.Builder mergeFrom(QueuedResource.QueueingPolicy other)
Parameter | |
---|---|
Name | Description |
other |
QueuedResource.QueueingPolicy |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueuedResource.QueueingPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QueuedResource.QueueingPolicy.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.QueueingPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeValidAfterDuration(Duration value)
public QueuedResource.QueueingPolicy.Builder mergeValidAfterDuration(Duration value)
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeValidAfterTime(Timestamp value)
public QueuedResource.QueueingPolicy.Builder mergeValidAfterTime(Timestamp value)
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeValidInterval(Interval value)
public QueuedResource.QueueingPolicy.Builder mergeValidInterval(Interval value)
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Interval |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeValidUntilDuration(Duration value)
public QueuedResource.QueueingPolicy.Builder mergeValidUntilDuration(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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
mergeValidUntilTime(Timestamp value)
public QueuedResource.QueueingPolicy.Builder mergeValidUntilTime(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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.QueueingPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueuedResource.QueueingPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.QueueingPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidAfterDuration(Duration value)
public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(Duration value)
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidAfterDuration(Duration.Builder builderForValue)
public QueuedResource.QueueingPolicy.Builder setValidAfterDuration(Duration.Builder builderForValue)
A relative time after which resources may be created.
.google.protobuf.Duration valid_after_duration = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidAfterTime(Timestamp value)
public QueuedResource.QueueingPolicy.Builder setValidAfterTime(Timestamp value)
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidAfterTime(Timestamp.Builder builderForValue)
public QueuedResource.QueueingPolicy.Builder setValidAfterTime(Timestamp.Builder builderForValue)
An absolute time at which resources may be created.
.google.protobuf.Timestamp valid_after_time = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidInterval(Interval value)
public QueuedResource.QueueingPolicy.Builder setValidInterval(Interval value)
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Interval |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidInterval(Interval.Builder builderForValue)
public QueuedResource.QueueingPolicy.Builder setValidInterval(Interval.Builder builderForValue)
An absolute time interval within which resources may be created.
.google.type.Interval valid_interval = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Interval.Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidUntilDuration(Duration value)
public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(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;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidUntilDuration(Duration.Builder builderForValue)
public QueuedResource.QueueingPolicy.Builder setValidUntilDuration(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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidUntilTime(Timestamp value)
public QueuedResource.QueueingPolicy.Builder setValidUntilTime(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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |
setValidUntilTime(Timestamp.Builder builderForValue)
public QueuedResource.QueueingPolicy.Builder setValidUntilTime(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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicy.Builder |