- 2.77.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 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.Builder extends GeneratedMessageV3.Builder<QueuedResource.Builder> implements QueuedResourceOrBuilderA QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.
Protobuf type google.cloud.tpu.v2alpha1.QueuedResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueuedResource.BuilderImplements
QueuedResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| QueuedResource.Builder |
build()
public QueuedResource build()| Type | Description |
| QueuedResource |
buildPartial()
public QueuedResource buildPartial()| Type | Description |
| QueuedResource |
clear()
public QueuedResource.Builder clear()| Type | Description |
| QueuedResource.Builder |
clearBestEffort()
public QueuedResource.Builder clearBestEffort()The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Type | Description |
| QueuedResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueuedResource.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| QueuedResource.Builder |
clearGuaranteed()
public QueuedResource.Builder clearGuaranteed()The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Type | Description |
| QueuedResource.Builder |
clearName()
public QueuedResource.Builder clearName()Output only. Immutable. The name of the QueuedResource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
| QueuedResource.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueuedResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| QueuedResource.Builder |
clearQueueingPolicy()
public QueuedResource.Builder clearQueueingPolicy()The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Type | Description |
| QueuedResource.Builder |
clearResource()
public QueuedResource.Builder clearResource()| Type | Description |
| QueuedResource.Builder |
clearState()
public QueuedResource.Builder clearState()Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| QueuedResource.Builder |
clearTier()
public QueuedResource.Builder clearTier()| Type | Description |
| QueuedResource.Builder |
clearTpu()
public QueuedResource.Builder clearTpu()Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Type | Description |
| QueuedResource.Builder |
clone()
public QueuedResource.Builder clone()| Type | Description |
| QueuedResource.Builder |
getBestEffort()
public QueuedResource.BestEffort getBestEffort()The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Type | Description |
| QueuedResource.BestEffort | The bestEffort. |
getBestEffortBuilder()
public QueuedResource.BestEffort.Builder getBestEffortBuilder()The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Type | Description |
| QueuedResource.BestEffort.Builder |
getBestEffortOrBuilder()
public QueuedResource.BestEffortOrBuilder getBestEffortOrBuilder()The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Type | Description |
| QueuedResource.BestEffortOrBuilder |
getDefaultInstanceForType()
public QueuedResource getDefaultInstanceForType()| Type | Description |
| QueuedResource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getGuaranteed()
public QueuedResource.Guaranteed getGuaranteed()The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Type | Description |
| QueuedResource.Guaranteed | The guaranteed. |
getGuaranteedBuilder()
public QueuedResource.Guaranteed.Builder getGuaranteedBuilder()The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Type | Description |
| QueuedResource.Guaranteed.Builder |
getGuaranteedOrBuilder()
public QueuedResource.GuaranteedOrBuilder getGuaranteedOrBuilder()The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Type | Description |
| QueuedResource.GuaranteedOrBuilder |
getName()
public String getName()Output only. Immutable. The name of the QueuedResource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes()Output only. Immutable. The name of the QueuedResource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
| ByteString | The bytes for name. |
getQueueingPolicy()
public QueuedResource.QueueingPolicy getQueueingPolicy()The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Type | Description |
| QueuedResource.QueueingPolicy | The queueingPolicy. |
getQueueingPolicyBuilder()
public QueuedResource.QueueingPolicy.Builder getQueueingPolicyBuilder()The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Type | Description |
| QueuedResource.QueueingPolicy.Builder |
getQueueingPolicyOrBuilder()
public QueuedResource.QueueingPolicyOrBuilder getQueueingPolicyOrBuilder()The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Type | Description |
| QueuedResource.QueueingPolicyOrBuilder |
getResourceCase()
public QueuedResource.ResourceCase getResourceCase()| Type | Description |
| QueuedResource.ResourceCase |
getState()
public QueuedResourceState getState()Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| QueuedResourceState | The state. |
getStateBuilder()
public QueuedResourceState.Builder getStateBuilder()Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| QueuedResourceState.Builder |
getStateOrBuilder()
public QueuedResourceStateOrBuilder getStateOrBuilder()Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| QueuedResourceStateOrBuilder |
getTierCase()
public QueuedResource.TierCase getTierCase()| Type | Description |
| QueuedResource.TierCase |
getTpu()
public QueuedResource.Tpu getTpu()Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Type | Description |
| QueuedResource.Tpu | The tpu. |
getTpuBuilder()
public QueuedResource.Tpu.Builder getTpuBuilder()Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Type | Description |
| QueuedResource.Tpu.Builder |
getTpuOrBuilder()
public QueuedResource.TpuOrBuilder getTpuOrBuilder()Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Type | Description |
| QueuedResource.TpuOrBuilder |
hasBestEffort()
public boolean hasBestEffort()The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Type | Description |
| boolean | Whether the bestEffort field is set. |
hasGuaranteed()
public boolean hasGuaranteed()The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Type | Description |
| boolean | Whether the guaranteed field is set. |
hasQueueingPolicy()
public boolean hasQueueingPolicy()The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Type | Description |
| boolean | Whether the queueingPolicy field is set. |
hasState()
public boolean hasState()Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the state field is set. |
hasTpu()
public boolean hasTpu()Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Type | Description |
| boolean | Whether the tpu field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeBestEffort(QueuedResource.BestEffort value)
public QueuedResource.Builder mergeBestEffort(QueuedResource.BestEffort value)The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Name | Description |
| value | QueuedResource.BestEffort |
| Type | Description |
| QueuedResource.Builder |
mergeFrom(QueuedResource other)
public QueuedResource.Builder mergeFrom(QueuedResource other)| Name | Description |
| other | QueuedResource |
| Type | Description |
| QueuedResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueuedResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| QueuedResource.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public QueuedResource.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| QueuedResource.Builder |
mergeGuaranteed(QueuedResource.Guaranteed value)
public QueuedResource.Builder mergeGuaranteed(QueuedResource.Guaranteed value)The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Name | Description |
| value | QueuedResource.Guaranteed |
| Type | Description |
| QueuedResource.Builder |
mergeQueueingPolicy(QueuedResource.QueueingPolicy value)
public QueuedResource.Builder mergeQueueingPolicy(QueuedResource.QueueingPolicy value)The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Name | Description |
| value | QueuedResource.QueueingPolicy |
| Type | Description |
| QueuedResource.Builder |
mergeState(QueuedResourceState value)
public QueuedResource.Builder mergeState(QueuedResourceState value)Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | QueuedResourceState |
| Type | Description |
| QueuedResource.Builder |
mergeTpu(QueuedResource.Tpu value)
public QueuedResource.Builder mergeTpu(QueuedResource.Tpu value)Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Name | Description |
| value | QueuedResource.Tpu |
| Type | Description |
| QueuedResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| QueuedResource.Builder |
setBestEffort(QueuedResource.BestEffort value)
public QueuedResource.Builder setBestEffort(QueuedResource.BestEffort value)The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Name | Description |
| value | QueuedResource.BestEffort |
| Type | Description |
| QueuedResource.Builder |
setBestEffort(QueuedResource.BestEffort.Builder builderForValue)
public QueuedResource.Builder setBestEffort(QueuedResource.BestEffort.Builder builderForValue)The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
| Name | Description |
| builderForValue | QueuedResource.BestEffort.Builder |
| Type | Description |
| QueuedResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| QueuedResource.Builder |
setGuaranteed(QueuedResource.Guaranteed value)
public QueuedResource.Builder setGuaranteed(QueuedResource.Guaranteed value)The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Name | Description |
| value | QueuedResource.Guaranteed |
| Type | Description |
| QueuedResource.Builder |
setGuaranteed(QueuedResource.Guaranteed.Builder builderForValue)
public QueuedResource.Builder setGuaranteed(QueuedResource.Guaranteed.Builder builderForValue)The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
| Name | Description |
| builderForValue | QueuedResource.Guaranteed.Builder |
| Type | Description |
| QueuedResource.Builder |
setName(String value)
public QueuedResource.Builder setName(String value)Output only. Immutable. The name of the QueuedResource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| QueuedResource.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public QueuedResource.Builder setNameBytes(ByteString value)Output only. Immutable. The name of the QueuedResource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| QueuedResource.Builder | This builder for chaining. |
setQueueingPolicy(QueuedResource.QueueingPolicy value)
public QueuedResource.Builder setQueueingPolicy(QueuedResource.QueueingPolicy value)The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Name | Description |
| value | QueuedResource.QueueingPolicy |
| Type | Description |
| QueuedResource.Builder |
setQueueingPolicy(QueuedResource.QueueingPolicy.Builder builderForValue)
public QueuedResource.Builder setQueueingPolicy(QueuedResource.QueueingPolicy.Builder builderForValue)The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
| Name | Description |
| builderForValue | QueuedResource.QueueingPolicy.Builder |
| Type | Description |
| QueuedResource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueuedResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| QueuedResource.Builder |
setState(QueuedResourceState value)
public QueuedResource.Builder setState(QueuedResourceState value)Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | QueuedResourceState |
| Type | Description |
| QueuedResource.Builder |
setState(QueuedResourceState.Builder builderForValue)
public QueuedResource.Builder setState(QueuedResourceState.Builder builderForValue)Output only. State of the QueuedResource request
.google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | QueuedResourceState.Builder |
| Type | Description |
| QueuedResource.Builder |
setTpu(QueuedResource.Tpu value)
public QueuedResource.Builder setTpu(QueuedResource.Tpu value)Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Name | Description |
| value | QueuedResource.Tpu |
| Type | Description |
| QueuedResource.Builder |
setTpu(QueuedResource.Tpu.Builder builderForValue)
public QueuedResource.Builder setTpu(QueuedResource.Tpu.Builder builderForValue)Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
| Name | Description |
| builderForValue | QueuedResource.Tpu.Builder |
| Type | Description |
| QueuedResource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| QueuedResource.Builder |