- 2.52.0 (latest)
- 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 QueuedResourceOrBuilder
A 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
build()
public QueuedResource build()
Returns | |
---|---|
Type | Description |
QueuedResource |
buildPartial()
public QueuedResource buildPartial()
Returns | |
---|---|
Type | Description |
QueuedResource |
clear()
public QueuedResource.Builder clear()
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearBestEffort()
public QueuedResource.Builder clearBestEffort()
The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearField(Descriptors.FieldDescriptor field)
public QueuedResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearGuaranteed()
public QueuedResource.Builder clearGuaranteed()
The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
QueuedResource.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QueuedResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearQueueingPolicy()
public QueuedResource.Builder clearQueueingPolicy()
The queueing policy of the QueuedRequest.
.google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearResource()
public QueuedResource.Builder clearResource()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearTier()
public QueuedResource.Builder clearTier()
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clearTpu()
public QueuedResource.Builder clearTpu()
Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
clone()
public QueuedResource.Builder clone()
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
getBestEffort()
public QueuedResource.BestEffort getBestEffort()
The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
Returns | |
---|---|
Type | Description |
QueuedResource.BestEffort | The bestEffort. |
getBestEffortBuilder()
public QueuedResource.BestEffort.Builder getBestEffortBuilder()
The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
Returns | |
---|---|
Type | Description |
QueuedResource.BestEffort.Builder |
getBestEffortOrBuilder()
public QueuedResource.BestEffortOrBuilder getBestEffortOrBuilder()
The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
Returns | |
---|---|
Type | Description |
QueuedResource.BestEffortOrBuilder |
getDefaultInstanceForType()
public QueuedResource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QueuedResource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGuaranteed()
public QueuedResource.Guaranteed getGuaranteed()
The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
Returns | |
---|---|
Type | Description |
QueuedResource.Guaranteed | The guaranteed. |
getGuaranteedBuilder()
public QueuedResource.Guaranteed.Builder getGuaranteedBuilder()
The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
Returns | |
---|---|
Type | Description |
QueuedResource.Guaranteed.Builder |
getGuaranteedOrBuilder()
public QueuedResource.GuaranteedOrBuilder getGuaranteedOrBuilder()
The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
QueuedResource.QueueingPolicyOrBuilder |
getResourceCase()
public QueuedResource.ResourceCase getResourceCase()
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
QueuedResourceStateOrBuilder |
getTierCase()
public QueuedResource.TierCase getTierCase()
Returns | |
---|---|
Type | Description |
QueuedResource.TierCase |
getTpu()
public QueuedResource.Tpu getTpu()
Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
Returns | |
---|---|
Type | Description |
QueuedResource.Tpu | The tpu. |
getTpuBuilder()
public QueuedResource.Tpu.Builder getTpuBuilder()
Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
Returns | |
---|---|
Type | Description |
QueuedResource.Tpu.Builder |
getTpuOrBuilder()
public QueuedResource.TpuOrBuilder getTpuOrBuilder()
Defines a TPU resource.
.google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
Returns | |
---|---|
Type | Description |
QueuedResource.TpuOrBuilder |
hasBestEffort()
public boolean hasBestEffort()
The BestEffort tier.
.google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the bestEffort field is set. |
hasGuaranteed()
public boolean hasGuaranteed()
The Guaranteed tier
.google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the tpu field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.BestEffort |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
mergeFrom(QueuedResource other)
public QueuedResource.Builder mergeFrom(QueuedResource other)
Parameter | |
---|---|
Name | Description |
other | QueuedResource |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueuedResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QueuedResource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.Guaranteed |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.QueueingPolicy |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | QueuedResourceState |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.Tpu |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.BestEffort |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | QueuedResource.BestEffort.Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QueuedResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.Guaranteed |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | QueuedResource.Guaranteed.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.QueueingPolicy |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | QueuedResource.QueueingPolicy.Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueuedResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | QueuedResourceState |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | QueuedResourceState.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | QueuedResource.Tpu |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | QueuedResource.Tpu.Builder |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueuedResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QueuedResource.Builder |