Class QueuedResourceState.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueuedResourceState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueuedResourceState.Builder
Overrides

build()

public QueuedResourceState build()
Returns
TypeDescription
QueuedResourceState

buildPartial()

public QueuedResourceState buildPartial()
Returns
TypeDescription
QueuedResourceState

clear()

public QueuedResourceState.Builder clear()
Returns
TypeDescription
QueuedResourceState.Builder
Overrides

clearAcceptedData()

public QueuedResourceState.Builder clearAcceptedData()

Further data for the accepted state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clearActiveData()

public QueuedResourceState.Builder clearActiveData()

Further data for the active state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clearCreatingData()

public QueuedResourceState.Builder clearCreatingData()

Further data for the creating state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clearDeletingData()

public QueuedResourceState.Builder clearDeletingData()

Further data for the deleting state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clearFailedData()

public QueuedResourceState.Builder clearFailedData()

Further data for the failed state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clearField(Descriptors.FieldDescriptor field)

public QueuedResourceState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueuedResourceState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueuedResourceState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueuedResourceState.Builder
Overrides

clearProvisioningData()

public QueuedResourceState.Builder clearProvisioningData()

Further data for the provisioning state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clearState()

public QueuedResourceState.Builder clearState()

State of the QueuedResource request.

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

Returns
TypeDescription
QueuedResourceState.Builder

This builder for chaining.

clearStateData()

public QueuedResourceState.Builder clearStateData()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
QueuedResourceState.Builder

clearSuspendingData()

public QueuedResourceState.Builder clearSuspendingData()

Further data for the suspending state.

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

Returns
TypeDescription
QueuedResourceState.Builder

clone()

public QueuedResourceState.Builder clone()
Returns
TypeDescription
QueuedResourceState.Builder
Overrides

getAcceptedData()

public QueuedResourceState.AcceptedData getAcceptedData()

Further data for the accepted state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.AcceptedData.Builder

getAcceptedDataOrBuilder()

public QueuedResourceState.AcceptedDataOrBuilder getAcceptedDataOrBuilder()

Further data for the accepted state.

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

Returns
TypeDescription
QueuedResourceState.AcceptedDataOrBuilder

getActiveData()

public QueuedResourceState.ActiveData getActiveData()

Further data for the active state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.ActiveData.Builder

getActiveDataOrBuilder()

public QueuedResourceState.ActiveDataOrBuilder getActiveDataOrBuilder()

Further data for the active state.

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

Returns
TypeDescription
QueuedResourceState.ActiveDataOrBuilder

getCreatingData()

public QueuedResourceState.CreatingData getCreatingData()

Further data for the creating state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.CreatingData.Builder

getCreatingDataOrBuilder()

public QueuedResourceState.CreatingDataOrBuilder getCreatingDataOrBuilder()

Further data for the creating state.

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

Returns
TypeDescription
QueuedResourceState.CreatingDataOrBuilder

getDefaultInstanceForType()

public QueuedResourceState getDefaultInstanceForType()
Returns
TypeDescription
QueuedResourceState

getDeletingData()

public QueuedResourceState.DeletingData getDeletingData()

Further data for the deleting state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.DeletingData.Builder

getDeletingDataOrBuilder()

public QueuedResourceState.DeletingDataOrBuilder getDeletingDataOrBuilder()

Further data for the deleting state.

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

Returns
TypeDescription
QueuedResourceState.DeletingDataOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFailedData()

public QueuedResourceState.FailedData getFailedData()

Further data for the failed state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.FailedData.Builder

getFailedDataOrBuilder()

public QueuedResourceState.FailedDataOrBuilder getFailedDataOrBuilder()

Further data for the failed state.

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

Returns
TypeDescription
QueuedResourceState.FailedDataOrBuilder

getProvisioningData()

public QueuedResourceState.ProvisioningData getProvisioningData()

Further data for the provisioning state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.ProvisioningData.Builder

getProvisioningDataOrBuilder()

public QueuedResourceState.ProvisioningDataOrBuilder getProvisioningDataOrBuilder()

Further data for the provisioning state.

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

Returns
TypeDescription
QueuedResourceState.ProvisioningDataOrBuilder

getState()

public QueuedResourceState.State getState()

State of the QueuedResource request.

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

Returns
TypeDescription
QueuedResourceState.State

The state.

getStateDataCase()

public QueuedResourceState.StateDataCase getStateDataCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
QueuedResourceState.SuspendedData.Builder

getSuspendedDataOrBuilder()

public QueuedResourceState.SuspendedDataOrBuilder getSuspendedDataOrBuilder()

Further data for the suspended state.

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

Returns
TypeDescription
QueuedResourceState.SuspendedDataOrBuilder

getSuspendingData()

public QueuedResourceState.SuspendingData getSuspendingData()

Further data for the suspending state.

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

Returns
TypeDescription
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
TypeDescription
QueuedResourceState.SuspendingData.Builder

getSuspendingDataOrBuilder()

public QueuedResourceState.SuspendingDataOrBuilder getSuspendingDataOrBuilder()

Further data for the suspending state.

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

Returns
TypeDescription
QueuedResourceState.SuspendingDataOrBuilder

hasAcceptedData()

public boolean hasAcceptedData()

Further data for the accepted state.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the suspendingData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.AcceptedData
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.ActiveData
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.CreatingData
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.DeletingData
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.FailedData
Returns
TypeDescription
QueuedResourceState.Builder

mergeFrom(QueuedResourceState other)

public QueuedResourceState.Builder mergeFrom(QueuedResourceState other)
Parameter
NameDescription
otherQueuedResourceState
Returns
TypeDescription
QueuedResourceState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueuedResourceState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueuedResourceState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.ProvisioningData
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.SuspendedData
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.SuspendingData
Returns
TypeDescription
QueuedResourceState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.AcceptedData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.AcceptedData.Builder
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.ActiveData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.ActiveData.Builder
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.CreatingData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.CreatingData.Builder
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.DeletingData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.DeletingData.Builder
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.FailedData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.FailedData.Builder
Returns
TypeDescription
QueuedResourceState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResourceState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.ProvisioningData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.ProvisioningData.Builder
Returns
TypeDescription
QueuedResourceState.Builder

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

public QueuedResourceState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.StateInitiator

The stateInitiator to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.SuspendedData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.SuspendedData.Builder
Returns
TypeDescription
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
NameDescription
valueQueuedResourceState.SuspendingData
Returns
TypeDescription
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
NameDescription
builderForValueQueuedResourceState.SuspendingData.Builder
Returns
TypeDescription
QueuedResourceState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueuedResourceState.Builder
Overrides