Class ListWorkloadsResponse.ComposerWorkload.Builder (1.39.0)

public static final class ListWorkloadsResponse.ComposerWorkload.Builder extends GeneratedMessageV3.Builder<ListWorkloadsResponse.ComposerWorkload.Builder> implements ListWorkloadsResponse.ComposerWorkloadOrBuilder

Information about a single workload.

Protobuf type google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ListWorkloadsResponse.ComposerWorkload.Builder clearName()

Name of a workload.

string name = 1;

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public ListWorkloadsResponse.ComposerWorkload.Builder clearStatus()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

clearType()

public ListWorkloadsResponse.ComposerWorkload.Builder clearType()

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getName()

public String getName()

Name of a workload.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of a workload.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getStatus()

public ListWorkloadsResponse.ComposerWorkloadStatus getStatus()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus

The status.

getStatusBuilder()

public ListWorkloadsResponse.ComposerWorkloadStatus.Builder getStatusBuilder()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus.Builder

getStatusOrBuilder()

public ListWorkloadsResponse.ComposerWorkloadStatusOrBuilder getStatusOrBuilder()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatusOrBuilder

getType()

public ListWorkloadsResponse.ComposerWorkloadType getType()

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadType

The type.

getTypeValue()

public int getTypeValue()

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasStatus()

public boolean hasStatus()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkloadsResponse.ComposerWorkload other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStatus(ListWorkloadsResponse.ComposerWorkloadStatus value)

public ListWorkloadsResponse.ComposerWorkload.Builder mergeStatus(ListWorkloadsResponse.ComposerWorkloadStatus value)

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ListWorkloadsResponse.ComposerWorkloadStatus
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ListWorkloadsResponse.ComposerWorkload.Builder setName(String value)

Name of a workload.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListWorkloadsResponse.ComposerWorkload.Builder setNameBytes(ByteString value)

Name of a workload.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

This builder for chaining.

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

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

setStatus(ListWorkloadsResponse.ComposerWorkloadStatus value)

public ListWorkloadsResponse.ComposerWorkload.Builder setStatus(ListWorkloadsResponse.ComposerWorkloadStatus value)

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ListWorkloadsResponse.ComposerWorkloadStatus
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

setStatus(ListWorkloadsResponse.ComposerWorkloadStatus.Builder builderForValue)

public ListWorkloadsResponse.ComposerWorkload.Builder setStatus(ListWorkloadsResponse.ComposerWorkloadStatus.Builder builderForValue)

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ListWorkloadsResponse.ComposerWorkloadStatus.Builder
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

setType(ListWorkloadsResponse.ComposerWorkloadType value)

public ListWorkloadsResponse.ComposerWorkload.Builder setType(ListWorkloadsResponse.ComposerWorkloadType value)

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Parameter
Name Description
value ListWorkloadsResponse.ComposerWorkloadType

The type to set.

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

This builder for chaining.

setTypeValue(int value)

public ListWorkloadsResponse.ComposerWorkload.Builder setTypeValue(int value)

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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