Class ListWorkflowsResponse.Builder (2.43.0)

public static final class ListWorkflowsResponse.Builder extends GeneratedMessageV3.Builder<ListWorkflowsResponse.Builder> implements ListWorkflowsResponseOrBuilder

Response for the ListWorkflows method.

Protobuf type google.cloud.workflows.v1.ListWorkflowsResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

public ListWorkflowsResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

addAllWorkflows(Iterable<? extends Workflow> values)

public ListWorkflowsResponse.Builder addAllWorkflows(Iterable<? extends Workflow> values)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.workflows.v1.Workflow>
Returns
Type Description
ListWorkflowsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListWorkflowsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWorkflowsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

addWorkflows(Workflow value)

public ListWorkflowsResponse.Builder addWorkflows(Workflow value)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
value Workflow
Returns
Type Description
ListWorkflowsResponse.Builder

addWorkflows(Workflow.Builder builderForValue)

public ListWorkflowsResponse.Builder addWorkflows(Workflow.Builder builderForValue)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
builderForValue Workflow.Builder
Returns
Type Description
ListWorkflowsResponse.Builder

addWorkflows(int index, Workflow value)

public ListWorkflowsResponse.Builder addWorkflows(int index, Workflow value)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameters
Name Description
index int
value Workflow
Returns
Type Description
ListWorkflowsResponse.Builder

addWorkflows(int index, Workflow.Builder builderForValue)

public ListWorkflowsResponse.Builder addWorkflows(int index, Workflow.Builder builderForValue)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameters
Name Description
index int
builderForValue Workflow.Builder
Returns
Type Description
ListWorkflowsResponse.Builder

addWorkflowsBuilder()

public Workflow.Builder addWorkflowsBuilder()

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Returns
Type Description
Workflow.Builder

addWorkflowsBuilder(int index)

public Workflow.Builder addWorkflowsBuilder(int index)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
Workflow.Builder

build()

public ListWorkflowsResponse build()
Returns
Type Description
ListWorkflowsResponse

buildPartial()

public ListWorkflowsResponse buildPartial()
Returns
Type Description
ListWorkflowsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListWorkflowsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListWorkflowsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

clearWorkflows()

public ListWorkflowsResponse.Builder clearWorkflows()

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Returns
Type Description
ListWorkflowsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkflowsResponse getDefaultInstanceForType()
Returns
Type Description
ListWorkflowsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getWorkflows(int index)

public Workflow getWorkflows(int index)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
Workflow

getWorkflowsBuilder(int index)

public Workflow.Builder getWorkflowsBuilder(int index)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
Workflow.Builder

getWorkflowsBuilderList()

public List<Workflow.Builder> getWorkflowsBuilderList()

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Returns
Type Description
List<Builder>

getWorkflowsCount()

public int getWorkflowsCount()

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Returns
Type Description
int

getWorkflowsList()

public List<Workflow> getWorkflowsList()

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Returns
Type Description
List<Workflow>

getWorkflowsOrBuilder(int index)

public WorkflowOrBuilder getWorkflowsOrBuilder(int index)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkflowOrBuilder

getWorkflowsOrBuilderList()

public List<? extends WorkflowOrBuilder> getWorkflowsOrBuilderList()

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Returns
Type Description
List<? extends com.google.cloud.workflows.v1.WorkflowOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkflowsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWorkflows(int index)

public ListWorkflowsResponse.Builder removeWorkflows(int index)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkflowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListWorkflowsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWorkflowsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListWorkflowsResponse.Builder setUnreachable(int index, String value)

Unreachable resources.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListWorkflowsResponse.Builder

This builder for chaining.

setWorkflows(int index, Workflow value)

public ListWorkflowsResponse.Builder setWorkflows(int index, Workflow value)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameters
Name Description
index int
value Workflow
Returns
Type Description
ListWorkflowsResponse.Builder

setWorkflows(int index, Workflow.Builder builderForValue)

public ListWorkflowsResponse.Builder setWorkflows(int index, Workflow.Builder builderForValue)

The workflows that match the request.

repeated .google.cloud.workflows.v1.Workflow workflows = 1;

Parameters
Name Description
index int
builderForValue Workflow.Builder
Returns
Type Description
ListWorkflowsResponse.Builder