Class ListWorkloadsResponse.Builder (1.45.0)

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

Response to ListWorkloadsRequest.

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

Static Methods

getDescriptor()

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

Methods

addAllWorkloads(Iterable<? extends ListWorkloadsResponse.ComposerWorkload> values)

public ListWorkloadsResponse.Builder addAllWorkloads(Iterable<? extends ListWorkloadsResponse.ComposerWorkload> values)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload>
Returns
Type Description
ListWorkloadsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWorkloads(ListWorkloadsResponse.ComposerWorkload value)

public ListWorkloadsResponse.Builder addWorkloads(ListWorkloadsResponse.ComposerWorkload value)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

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

addWorkloads(ListWorkloadsResponse.ComposerWorkload.Builder builderForValue)

public ListWorkloadsResponse.Builder addWorkloads(ListWorkloadsResponse.ComposerWorkload.Builder builderForValue)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

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

addWorkloads(int index, ListWorkloadsResponse.ComposerWorkload value)

public ListWorkloadsResponse.Builder addWorkloads(int index, ListWorkloadsResponse.ComposerWorkload value)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameters
Name Description
index int
value ListWorkloadsResponse.ComposerWorkload
Returns
Type Description
ListWorkloadsResponse.Builder

addWorkloads(int index, ListWorkloadsResponse.ComposerWorkload.Builder builderForValue)

public ListWorkloadsResponse.Builder addWorkloads(int index, ListWorkloadsResponse.ComposerWorkload.Builder builderForValue)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameters
Name Description
index int
builderForValue ListWorkloadsResponse.ComposerWorkload.Builder
Returns
Type Description
ListWorkloadsResponse.Builder

addWorkloadsBuilder()

public ListWorkloadsResponse.ComposerWorkload.Builder addWorkloadsBuilder()

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

addWorkloadsBuilder(int index)

public ListWorkloadsResponse.ComposerWorkload.Builder addWorkloadsBuilder(int index)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

build()

public ListWorkloadsResponse build()
Returns
Type Description
ListWorkloadsResponse

buildPartial()

public ListWorkloadsResponse buildPartial()
Returns
Type Description
ListWorkloadsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListWorkloadsResponse.Builder clearNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ListWorkloadsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWorkloads()

public ListWorkloadsResponse.Builder clearWorkloads()

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Returns
Type Description
ListWorkloadsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkloadsResponse getDefaultInstanceForType()
Returns
Type Description
ListWorkloadsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getWorkloads(int index)

public ListWorkloadsResponse.ComposerWorkload getWorkloads(int index)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload

getWorkloadsBuilder(int index)

public ListWorkloadsResponse.ComposerWorkload.Builder getWorkloadsBuilder(int index)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

getWorkloadsBuilderList()

public List<ListWorkloadsResponse.ComposerWorkload.Builder> getWorkloadsBuilderList()

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Returns
Type Description
List<Builder>

getWorkloadsCount()

public int getWorkloadsCount()

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Returns
Type Description
int

getWorkloadsList()

public List<ListWorkloadsResponse.ComposerWorkload> getWorkloadsList()

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Returns
Type Description
List<ComposerWorkload>

getWorkloadsOrBuilder(int index)

public ListWorkloadsResponse.ComposerWorkloadOrBuilder getWorkloadsOrBuilder(int index)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadOrBuilder

getWorkloadsOrBuilderList()

public List<? extends ListWorkloadsResponse.ComposerWorkloadOrBuilder> getWorkloadsOrBuilderList()

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Returns
Type Description
List<? extends com.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkloadsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWorkloads(int index)

public ListWorkloadsResponse.Builder removeWorkloads(int index)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkloadsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListWorkloadsResponse.Builder setNextPageToken(String value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWorkloadsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWorkloadsResponse.Builder setNextPageTokenBytes(ByteString value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWorkloadsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkloads(int index, ListWorkloadsResponse.ComposerWorkload value)

public ListWorkloadsResponse.Builder setWorkloads(int index, ListWorkloadsResponse.ComposerWorkload value)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameters
Name Description
index int
value ListWorkloadsResponse.ComposerWorkload
Returns
Type Description
ListWorkloadsResponse.Builder

setWorkloads(int index, ListWorkloadsResponse.ComposerWorkload.Builder builderForValue)

public ListWorkloadsResponse.Builder setWorkloads(int index, ListWorkloadsResponse.ComposerWorkload.Builder builderForValue)

The list of environment workloads.

repeated .google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload workloads = 1;

Parameters
Name Description
index int
builderForValue ListWorkloadsResponse.ComposerWorkload.Builder
Returns
Type Description
ListWorkloadsResponse.Builder