Class ListWorkloadsResponse.ComposerWorkloadStatus.Builder (1.45.0)

public static final class ListWorkloadsResponse.ComposerWorkloadStatus.Builder extends GeneratedMessageV3.Builder<ListWorkloadsResponse.ComposerWorkloadStatus.Builder> implements ListWorkloadsResponse.ComposerWorkloadStatusOrBuilder

Workload status.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse.ComposerWorkloadStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListWorkloadsResponse.ComposerWorkloadStatus build()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus

buildPartial()

public ListWorkloadsResponse.ComposerWorkloadStatus buildPartial()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus

clear()

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder clear()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder
Overrides

clearDetailedStatusMessage()

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder clearDetailedStatusMessage()

Output only. Detailed message of the status.

string detailed_status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder clearState()

Output only. Workload state.

.google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse.ComposerWorkloadState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

clearStatusMessage()

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder clearStatusMessage()

Output only. Text to provide more descriptive status.

string status_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

clone()

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder clone()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder
Overrides

getDefaultInstanceForType()

public ListWorkloadsResponse.ComposerWorkloadStatus getDefaultInstanceForType()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus

getDescriptorForType()

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

getDetailedStatusMessage()

public String getDetailedStatusMessage()

Output only. Detailed message of the status.

string detailed_status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The detailedStatusMessage.

getDetailedStatusMessageBytes()

public ByteString getDetailedStatusMessageBytes()

Output only. Detailed message of the status.

string detailed_status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for detailedStatusMessage.

getState()

public ListWorkloadsResponse.ComposerWorkloadState getState()

Output only. Workload state.

.google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse.ComposerWorkloadState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadState

The state.

getStateValue()

public int getStateValue()

Output only. Workload state.

.google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse.ComposerWorkloadState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getStatusMessage()

public String getStatusMessage()

Output only. Text to provide more descriptive status.

string status_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

public ByteString getStatusMessageBytes()

Output only. Text to provide more descriptive status.

string status_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for statusMessage.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkloadsResponse.ComposerWorkloadStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDetailedStatusMessage(String value)

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder setDetailedStatusMessage(String value)

Output only. Detailed message of the status.

string detailed_status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The detailedStatusMessage to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

setDetailedStatusMessageBytes(ByteString value)

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder setDetailedStatusMessageBytes(ByteString value)

Output only. Detailed message of the status.

string detailed_status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for detailedStatusMessage to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(ListWorkloadsResponse.ComposerWorkloadState value)

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder setState(ListWorkloadsResponse.ComposerWorkloadState value)

Output only. Workload state.

.google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse.ComposerWorkloadState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ListWorkloadsResponse.ComposerWorkloadState

The state to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

setStateValue(int value)

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder setStateValue(int value)

Output only. Workload state.

.google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse.ComposerWorkloadState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

setStatusMessage(String value)

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder setStatusMessage(String value)

Output only. Text to provide more descriptive status.

string status_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The statusMessage to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

setStatusMessageBytes(ByteString value)

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder setStatusMessageBytes(ByteString value)

Output only. Text to provide more descriptive status.

string status_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for statusMessage to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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