- 2.79.0 (latest)
 - 2.77.0
 - 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.v2.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 | 
        |
clearCreateTime()
public QueuedResource.Builder clearCreateTime()Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| 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()Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| 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()Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
clearReservationName()
public QueuedResource.Builder clearReservationName()Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
 string reservation_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        This builder for chaining.  | 
      
clearResource()
public QueuedResource.Builder clearResource()| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
clearSpot()
public QueuedResource.Builder clearSpot()Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
clearState()
public QueuedResource.Builder clearState()Output only. State of the QueuedResource request.
 
 .google.cloud.tpu.v2.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()Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
clone()
public QueuedResource.Builder clone()| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
getCreateTime()
public Timestamp getCreateTime()Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDefaultInstanceForType()
public QueuedResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
QueuedResource | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getGuaranteed()
public QueuedResource.Guaranteed getGuaranteed()Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Guaranteed | 
        The guaranteed.  | 
      
getGuaranteedBuilder()
public QueuedResource.Guaranteed.Builder getGuaranteedBuilder()Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Guaranteed.Builder | 
        |
getGuaranteedOrBuilder()
public QueuedResource.GuaranteedOrBuilder getGuaranteedOrBuilder()Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| 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()Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.QueueingPolicy | 
        The queueingPolicy.  | 
      
getQueueingPolicyBuilder()
public QueuedResource.QueueingPolicy.Builder getQueueingPolicyBuilder()Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.QueueingPolicy.Builder | 
        |
getQueueingPolicyOrBuilder()
public QueuedResource.QueueingPolicyOrBuilder getQueueingPolicyOrBuilder()Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.QueueingPolicyOrBuilder | 
        |
getReservationName()
public String getReservationName()Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
 string reservation_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The reservationName.  | 
      
getReservationNameBytes()
public ByteString getReservationNameBytes()Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
 string reservation_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for reservationName.  | 
      
getResourceCase()
public QueuedResource.ResourceCase getResourceCase()| Returns | |
|---|---|
| Type | Description | 
QueuedResource.ResourceCase | 
        |
getSpot()
public QueuedResource.Spot getSpot()Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Spot | 
        The spot.  | 
      
getSpotBuilder()
public QueuedResource.Spot.Builder getSpotBuilder()Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Spot.Builder | 
        |
getSpotOrBuilder()
public QueuedResource.SpotOrBuilder getSpotOrBuilder()Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.SpotOrBuilder | 
        |
getState()
public QueuedResourceState getState()Output only. State of the QueuedResource request.
 
 .google.cloud.tpu.v2.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.v2.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.v2.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()Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Tpu | 
        The tpu.  | 
      
getTpuBuilder()
public QueuedResource.Tpu.Builder getTpuBuilder()Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Tpu.Builder | 
        |
getTpuOrBuilder()
public QueuedResource.TpuOrBuilder getTpuOrBuilder()Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.TpuOrBuilder | 
        |
hasCreateTime()
public boolean hasCreateTime()Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the createTime field is set.  | 
      
hasGuaranteed()
public boolean hasGuaranteed()Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the guaranteed field is set.  | 
      
hasQueueingPolicy()
public boolean hasQueueingPolicy()Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the queueingPolicy field is set.  | 
      
hasSpot()
public boolean hasSpot()Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the spot field is set.  | 
      
hasState()
public boolean hasState()Output only. State of the QueuedResource request.
 
 .google.cloud.tpu.v2.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the state field is set.  | 
      
hasTpu()
public boolean hasTpu()Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| 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 | 
        |
mergeCreateTime(Timestamp value)
public QueuedResource.Builder mergeCreateTime(Timestamp value)Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| 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)Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.Guaranteed | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
mergeQueueingPolicy(QueuedResource.QueueingPolicy value)
public QueuedResource.Builder mergeQueueingPolicy(QueuedResource.QueueingPolicy value)Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.QueueingPolicy | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
mergeSpot(QueuedResource.Spot value)
public QueuedResource.Builder mergeSpot(QueuedResource.Spot value)Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.Spot | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
mergeState(QueuedResourceState value)
public QueuedResource.Builder mergeState(QueuedResourceState value)Output only. State of the QueuedResource request.
 
 .google.cloud.tpu.v2.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)Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| 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 | 
        |
setCreateTime(Timestamp value)
public QueuedResource.Builder setCreateTime(Timestamp value)Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public QueuedResource.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the QueuedResource was created.
 
 .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        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)Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.Guaranteed | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
setGuaranteed(QueuedResource.Guaranteed.Builder builderForValue)
public QueuedResource.Builder setGuaranteed(QueuedResource.Guaranteed.Builder builderForValue)Optional. The Guaranteed tier
 
 .google.cloud.tpu.v2.QueuedResource.Guaranteed guaranteed = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| 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 | 
        StringThe 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 | 
        ByteStringThe 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)Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.QueueingPolicy | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
setQueueingPolicy(QueuedResource.QueueingPolicy.Builder builderForValue)
public QueuedResource.Builder setQueueingPolicy(QueuedResource.QueueingPolicy.Builder builderForValue)Optional. The queueing policy of the QueuedRequest.
 
 .google.cloud.tpu.v2.QueuedResource.QueueingPolicy queueing_policy = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| 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 | 
        |
setReservationName(String value)
public QueuedResource.Builder setReservationName(String value)Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
 string reservation_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe reservationName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        This builder for chaining.  | 
      
setReservationNameBytes(ByteString value)
public QueuedResource.Builder setReservationNameBytes(ByteString value)Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
 string reservation_name = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for reservationName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        This builder for chaining.  | 
      
setSpot(QueuedResource.Spot value)
public QueuedResource.Builder setSpot(QueuedResource.Spot value)Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.Spot | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
setSpot(QueuedResource.Spot.Builder builderForValue)
public QueuedResource.Builder setSpot(QueuedResource.Spot.Builder builderForValue)Optional. The Spot tier.
 
 .google.cloud.tpu.v2.QueuedResource.Spot spot = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        QueuedResource.Spot.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
setState(QueuedResourceState value)
public QueuedResource.Builder setState(QueuedResourceState value)Output only. State of the QueuedResource request.
 
 .google.cloud.tpu.v2.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.v2.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)Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        QueuedResource.Tpu | 
      
| Returns | |
|---|---|
| Type | Description | 
QueuedResource.Builder | 
        |
setTpu(QueuedResource.Tpu.Builder builderForValue)
public QueuedResource.Builder setTpu(QueuedResource.Tpu.Builder builderForValue)Optional. Defines a TPU resource.
 
 .google.cloud.tpu.v2.QueuedResource.Tpu tpu = 2 [(.google.api.field_behavior) = OPTIONAL];
 
| 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 | 
        |