Class QueuedResourceState.Builder (2.43.0)

public static final class QueuedResourceState.Builder extends GeneratedMessageV3.Builder<QueuedResourceState.Builder> implements QueuedResourceStateOrBuilder

QueuedResourceState defines the details of the QueuedResource request.

Protobuf type google.cloud.tpu.v2alpha1.QueuedResourceState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueuedResourceState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResourceState.Builder
Overrides

build()

public QueuedResourceState build()
Returns
Type Description
QueuedResourceState

buildPartial()

public QueuedResourceState buildPartial()
Returns
Type Description
QueuedResourceState

clear()

public QueuedResourceState.Builder clear()
Returns
Type Description
QueuedResourceState.Builder
Overrides

clearAcceptedData()

public QueuedResourceState.Builder clearAcceptedData()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
Type Description
QueuedResourceState.Builder

clearActiveData()

public QueuedResourceState.Builder clearActiveData()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
Type Description
QueuedResourceState.Builder

clearCreatingData()

public QueuedResourceState.Builder clearCreatingData()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
Type Description
QueuedResourceState.Builder

clearDeletingData()

public QueuedResourceState.Builder clearDeletingData()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
Type Description
QueuedResourceState.Builder

clearFailedData()

public QueuedResourceState.Builder clearFailedData()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
Type Description
QueuedResourceState.Builder

clearField(Descriptors.FieldDescriptor field)

public QueuedResourceState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueuedResourceState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueuedResourceState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueuedResourceState.Builder
Overrides

clearProvisioningData()

public QueuedResourceState.Builder clearProvisioningData()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
Type Description
QueuedResourceState.Builder

clearState()

public QueuedResourceState.Builder clearState()

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Returns
Type Description
QueuedResourceState.Builder

This builder for chaining.

clearStateData()

public QueuedResourceState.Builder clearStateData()
Returns
Type Description
QueuedResourceState.Builder

clearStateInitiator()

public QueuedResourceState.Builder clearStateInitiator()

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
QueuedResourceState.Builder

This builder for chaining.

clearSuspendedData()

public QueuedResourceState.Builder clearSuspendedData()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
Type Description
QueuedResourceState.Builder

clearSuspendingData()

public QueuedResourceState.Builder clearSuspendingData()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
Type Description
QueuedResourceState.Builder

clone()

public QueuedResourceState.Builder clone()
Returns
Type Description
QueuedResourceState.Builder
Overrides

getAcceptedData()

public QueuedResourceState.AcceptedData getAcceptedData()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
Type Description
QueuedResourceState.AcceptedData

The acceptedData.

getAcceptedDataBuilder()

public QueuedResourceState.AcceptedData.Builder getAcceptedDataBuilder()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
Type Description
QueuedResourceState.AcceptedData.Builder

getAcceptedDataOrBuilder()

public QueuedResourceState.AcceptedDataOrBuilder getAcceptedDataOrBuilder()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
Type Description
QueuedResourceState.AcceptedDataOrBuilder

getActiveData()

public QueuedResourceState.ActiveData getActiveData()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
Type Description
QueuedResourceState.ActiveData

The activeData.

getActiveDataBuilder()

public QueuedResourceState.ActiveData.Builder getActiveDataBuilder()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
Type Description
QueuedResourceState.ActiveData.Builder

getActiveDataOrBuilder()

public QueuedResourceState.ActiveDataOrBuilder getActiveDataOrBuilder()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
Type Description
QueuedResourceState.ActiveDataOrBuilder

getCreatingData()

public QueuedResourceState.CreatingData getCreatingData()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
Type Description
QueuedResourceState.CreatingData

The creatingData.

getCreatingDataBuilder()

public QueuedResourceState.CreatingData.Builder getCreatingDataBuilder()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
Type Description
QueuedResourceState.CreatingData.Builder

getCreatingDataOrBuilder()

public QueuedResourceState.CreatingDataOrBuilder getCreatingDataOrBuilder()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
Type Description
QueuedResourceState.CreatingDataOrBuilder

getDefaultInstanceForType()

public QueuedResourceState getDefaultInstanceForType()
Returns
Type Description
QueuedResourceState

getDeletingData()

public QueuedResourceState.DeletingData getDeletingData()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
Type Description
QueuedResourceState.DeletingData

The deletingData.

getDeletingDataBuilder()

public QueuedResourceState.DeletingData.Builder getDeletingDataBuilder()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
Type Description
QueuedResourceState.DeletingData.Builder

getDeletingDataOrBuilder()

public QueuedResourceState.DeletingDataOrBuilder getDeletingDataOrBuilder()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
Type Description
QueuedResourceState.DeletingDataOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFailedData()

public QueuedResourceState.FailedData getFailedData()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
Type Description
QueuedResourceState.FailedData

The failedData.

getFailedDataBuilder()

public QueuedResourceState.FailedData.Builder getFailedDataBuilder()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
Type Description
QueuedResourceState.FailedData.Builder

getFailedDataOrBuilder()

public QueuedResourceState.FailedDataOrBuilder getFailedDataOrBuilder()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
Type Description
QueuedResourceState.FailedDataOrBuilder

getProvisioningData()

public QueuedResourceState.ProvisioningData getProvisioningData()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
Type Description
QueuedResourceState.ProvisioningData

The provisioningData.

getProvisioningDataBuilder()

public QueuedResourceState.ProvisioningData.Builder getProvisioningDataBuilder()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
Type Description
QueuedResourceState.ProvisioningData.Builder

getProvisioningDataOrBuilder()

public QueuedResourceState.ProvisioningDataOrBuilder getProvisioningDataOrBuilder()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
Type Description
QueuedResourceState.ProvisioningDataOrBuilder

getState()

public QueuedResourceState.State getState()

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Returns
Type Description
QueuedResourceState.State

The state.

getStateDataCase()

public QueuedResourceState.StateDataCase getStateDataCase()
Returns
Type Description
QueuedResourceState.StateDataCase

getStateInitiator()

public QueuedResourceState.StateInitiator getStateInitiator()

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
QueuedResourceState.StateInitiator

The stateInitiator.

getStateInitiatorValue()

public int getStateInitiatorValue()

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for stateInitiator.

getStateValue()

public int getStateValue()

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getSuspendedData()

public QueuedResourceState.SuspendedData getSuspendedData()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
Type Description
QueuedResourceState.SuspendedData

The suspendedData.

getSuspendedDataBuilder()

public QueuedResourceState.SuspendedData.Builder getSuspendedDataBuilder()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
Type Description
QueuedResourceState.SuspendedData.Builder

getSuspendedDataOrBuilder()

public QueuedResourceState.SuspendedDataOrBuilder getSuspendedDataOrBuilder()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
Type Description
QueuedResourceState.SuspendedDataOrBuilder

getSuspendingData()

public QueuedResourceState.SuspendingData getSuspendingData()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
Type Description
QueuedResourceState.SuspendingData

The suspendingData.

getSuspendingDataBuilder()

public QueuedResourceState.SuspendingData.Builder getSuspendingDataBuilder()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
Type Description
QueuedResourceState.SuspendingData.Builder

getSuspendingDataOrBuilder()

public QueuedResourceState.SuspendingDataOrBuilder getSuspendingDataOrBuilder()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
Type Description
QueuedResourceState.SuspendingDataOrBuilder

hasAcceptedData()

public boolean hasAcceptedData()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
Type Description
boolean

Whether the acceptedData field is set.

hasActiveData()

public boolean hasActiveData()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
Type Description
boolean

Whether the activeData field is set.

hasCreatingData()

public boolean hasCreatingData()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
Type Description
boolean

Whether the creatingData field is set.

hasDeletingData()

public boolean hasDeletingData()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
Type Description
boolean

Whether the deletingData field is set.

hasFailedData()

public boolean hasFailedData()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
Type Description
boolean

Whether the failedData field is set.

hasProvisioningData()

public boolean hasProvisioningData()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
Type Description
boolean

Whether the provisioningData field is set.

hasSuspendedData()

public boolean hasSuspendedData()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
Type Description
boolean

Whether the suspendedData field is set.

hasSuspendingData()

public boolean hasSuspendingData()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
Type Description
boolean

Whether the suspendingData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAcceptedData(QueuedResourceState.AcceptedData value)

public QueuedResourceState.Builder mergeAcceptedData(QueuedResourceState.AcceptedData value)

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Parameter
Name Description
value QueuedResourceState.AcceptedData
Returns
Type Description
QueuedResourceState.Builder

mergeActiveData(QueuedResourceState.ActiveData value)

public QueuedResourceState.Builder mergeActiveData(QueuedResourceState.ActiveData value)

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Parameter
Name Description
value QueuedResourceState.ActiveData
Returns
Type Description
QueuedResourceState.Builder

mergeCreatingData(QueuedResourceState.CreatingData value)

public QueuedResourceState.Builder mergeCreatingData(QueuedResourceState.CreatingData value)

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Parameter
Name Description
value QueuedResourceState.CreatingData
Returns
Type Description
QueuedResourceState.Builder

mergeDeletingData(QueuedResourceState.DeletingData value)

public QueuedResourceState.Builder mergeDeletingData(QueuedResourceState.DeletingData value)

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Parameter
Name Description
value QueuedResourceState.DeletingData
Returns
Type Description
QueuedResourceState.Builder

mergeFailedData(QueuedResourceState.FailedData value)

public QueuedResourceState.Builder mergeFailedData(QueuedResourceState.FailedData value)

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Parameter
Name Description
value QueuedResourceState.FailedData
Returns
Type Description
QueuedResourceState.Builder

mergeFrom(QueuedResourceState other)

public QueuedResourceState.Builder mergeFrom(QueuedResourceState other)
Parameter
Name Description
other QueuedResourceState
Returns
Type Description
QueuedResourceState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueuedResourceState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueuedResourceState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueuedResourceState.Builder
Overrides

mergeProvisioningData(QueuedResourceState.ProvisioningData value)

public QueuedResourceState.Builder mergeProvisioningData(QueuedResourceState.ProvisioningData value)

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Parameter
Name Description
value QueuedResourceState.ProvisioningData
Returns
Type Description
QueuedResourceState.Builder

mergeSuspendedData(QueuedResourceState.SuspendedData value)

public QueuedResourceState.Builder mergeSuspendedData(QueuedResourceState.SuspendedData value)

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Parameter
Name Description
value QueuedResourceState.SuspendedData
Returns
Type Description
QueuedResourceState.Builder

mergeSuspendingData(QueuedResourceState.SuspendingData value)

public QueuedResourceState.Builder mergeSuspendingData(QueuedResourceState.SuspendingData value)

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Parameter
Name Description
value QueuedResourceState.SuspendingData
Returns
Type Description
QueuedResourceState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResourceState.Builder
Overrides

setAcceptedData(QueuedResourceState.AcceptedData value)

public QueuedResourceState.Builder setAcceptedData(QueuedResourceState.AcceptedData value)

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Parameter
Name Description
value QueuedResourceState.AcceptedData
Returns
Type Description
QueuedResourceState.Builder

setAcceptedData(QueuedResourceState.AcceptedData.Builder builderForValue)

public QueuedResourceState.Builder setAcceptedData(QueuedResourceState.AcceptedData.Builder builderForValue)

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Parameter
Name Description
builderForValue QueuedResourceState.AcceptedData.Builder
Returns
Type Description
QueuedResourceState.Builder

setActiveData(QueuedResourceState.ActiveData value)

public QueuedResourceState.Builder setActiveData(QueuedResourceState.ActiveData value)

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Parameter
Name Description
value QueuedResourceState.ActiveData
Returns
Type Description
QueuedResourceState.Builder

setActiveData(QueuedResourceState.ActiveData.Builder builderForValue)

public QueuedResourceState.Builder setActiveData(QueuedResourceState.ActiveData.Builder builderForValue)

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Parameter
Name Description
builderForValue QueuedResourceState.ActiveData.Builder
Returns
Type Description
QueuedResourceState.Builder

setCreatingData(QueuedResourceState.CreatingData value)

public QueuedResourceState.Builder setCreatingData(QueuedResourceState.CreatingData value)

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Parameter
Name Description
value QueuedResourceState.CreatingData
Returns
Type Description
QueuedResourceState.Builder

setCreatingData(QueuedResourceState.CreatingData.Builder builderForValue)

public QueuedResourceState.Builder setCreatingData(QueuedResourceState.CreatingData.Builder builderForValue)

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Parameter
Name Description
builderForValue QueuedResourceState.CreatingData.Builder
Returns
Type Description
QueuedResourceState.Builder

setDeletingData(QueuedResourceState.DeletingData value)

public QueuedResourceState.Builder setDeletingData(QueuedResourceState.DeletingData value)

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Parameter
Name Description
value QueuedResourceState.DeletingData
Returns
Type Description
QueuedResourceState.Builder

setDeletingData(QueuedResourceState.DeletingData.Builder builderForValue)

public QueuedResourceState.Builder setDeletingData(QueuedResourceState.DeletingData.Builder builderForValue)

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Parameter
Name Description
builderForValue QueuedResourceState.DeletingData.Builder
Returns
Type Description
QueuedResourceState.Builder

setFailedData(QueuedResourceState.FailedData value)

public QueuedResourceState.Builder setFailedData(QueuedResourceState.FailedData value)

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Parameter
Name Description
value QueuedResourceState.FailedData
Returns
Type Description
QueuedResourceState.Builder

setFailedData(QueuedResourceState.FailedData.Builder builderForValue)

public QueuedResourceState.Builder setFailedData(QueuedResourceState.FailedData.Builder builderForValue)

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Parameter
Name Description
builderForValue QueuedResourceState.FailedData.Builder
Returns
Type Description
QueuedResourceState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResourceState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResourceState.Builder
Overrides

setProvisioningData(QueuedResourceState.ProvisioningData value)

public QueuedResourceState.Builder setProvisioningData(QueuedResourceState.ProvisioningData value)

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Parameter
Name Description
value QueuedResourceState.ProvisioningData
Returns
Type Description
QueuedResourceState.Builder

setProvisioningData(QueuedResourceState.ProvisioningData.Builder builderForValue)

public QueuedResourceState.Builder setProvisioningData(QueuedResourceState.ProvisioningData.Builder builderForValue)

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Parameter
Name Description
builderForValue QueuedResourceState.ProvisioningData.Builder
Returns
Type Description
QueuedResourceState.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueuedResourceState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueuedResourceState.Builder
Overrides

setState(QueuedResourceState.State value)

public QueuedResourceState.Builder setState(QueuedResourceState.State value)

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Parameter
Name Description
value QueuedResourceState.State

The state to set.

Returns
Type Description
QueuedResourceState.Builder

This builder for chaining.

setStateInitiator(QueuedResourceState.StateInitiator value)

public QueuedResourceState.Builder setStateInitiator(QueuedResourceState.StateInitiator value)

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value QueuedResourceState.StateInitiator

The stateInitiator to set.

Returns
Type Description
QueuedResourceState.Builder

This builder for chaining.

setStateInitiatorValue(int value)

public QueuedResourceState.Builder setStateInitiatorValue(int value)

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for stateInitiator to set.

Returns
Type Description
QueuedResourceState.Builder

This builder for chaining.

setStateValue(int value)

public QueuedResourceState.Builder setStateValue(int value)

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
QueuedResourceState.Builder

This builder for chaining.

setSuspendedData(QueuedResourceState.SuspendedData value)

public QueuedResourceState.Builder setSuspendedData(QueuedResourceState.SuspendedData value)

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Parameter
Name Description
value QueuedResourceState.SuspendedData
Returns
Type Description
QueuedResourceState.Builder

setSuspendedData(QueuedResourceState.SuspendedData.Builder builderForValue)

public QueuedResourceState.Builder setSuspendedData(QueuedResourceState.SuspendedData.Builder builderForValue)

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Parameter
Name Description
builderForValue QueuedResourceState.SuspendedData.Builder
Returns
Type Description
QueuedResourceState.Builder

setSuspendingData(QueuedResourceState.SuspendingData value)

public QueuedResourceState.Builder setSuspendingData(QueuedResourceState.SuspendingData value)

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Parameter
Name Description
value QueuedResourceState.SuspendingData
Returns
Type Description
QueuedResourceState.Builder

setSuspendingData(QueuedResourceState.SuspendingData.Builder builderForValue)

public QueuedResourceState.Builder setSuspendingData(QueuedResourceState.SuspendingData.Builder builderForValue)

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Parameter
Name Description
builderForValue QueuedResourceState.SuspendingData.Builder
Returns
Type Description
QueuedResourceState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResourceState.Builder
Overrides