Class ListWorkflowsResponse.Builder (2.2.1)

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
TypeDescription
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

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

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListWorkflowsResponse.Builder

This builder for chaining.

addAllWorkflows(Iterable<? extends Workflow> values)

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

The workflows which match the request.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.workflows.v1.Workflow>
Returns
TypeDescription
ListWorkflowsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListWorkflowsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListWorkflowsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWorkflowsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListWorkflowsResponse.Builder

This builder for chaining.

addWorkflows(Workflow value)

public ListWorkflowsResponse.Builder addWorkflows(Workflow value)

The workflows which match the request.

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

Parameter
NameDescription
valueWorkflow
Returns
TypeDescription
ListWorkflowsResponse.Builder

addWorkflows(Workflow.Builder builderForValue)

public ListWorkflowsResponse.Builder addWorkflows(Workflow.Builder builderForValue)

The workflows which match the request.

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

Parameter
NameDescription
builderForValueWorkflow.Builder
Returns
TypeDescription
ListWorkflowsResponse.Builder

addWorkflows(int index, Workflow value)

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

The workflows which match the request.

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

Parameters
NameDescription
indexint
valueWorkflow
Returns
TypeDescription
ListWorkflowsResponse.Builder

addWorkflows(int index, Workflow.Builder builderForValue)

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

The workflows which match the request.

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

Parameters
NameDescription
indexint
builderForValueWorkflow.Builder
Returns
TypeDescription
ListWorkflowsResponse.Builder

addWorkflowsBuilder()

public Workflow.Builder addWorkflowsBuilder()

The workflows which match the request.

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

Returns
TypeDescription
Workflow.Builder

addWorkflowsBuilder(int index)

public Workflow.Builder addWorkflowsBuilder(int index)

The workflows which match the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Workflow.Builder

build()

public ListWorkflowsResponse build()
Returns
TypeDescription
ListWorkflowsResponse

buildPartial()

public ListWorkflowsResponse buildPartial()
Returns
TypeDescription
ListWorkflowsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListWorkflowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListWorkflowsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListWorkflowsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
ListWorkflowsResponse.Builder

This builder for chaining.

clearWorkflows()

public ListWorkflowsResponse.Builder clearWorkflows()

The workflows which match the request.

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

Returns
TypeDescription
ListWorkflowsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkflowsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWorkflowsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

getWorkflows(int index)

public Workflow getWorkflows(int index)

The workflows which match the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Workflow

getWorkflowsBuilder(int index)

public Workflow.Builder getWorkflowsBuilder(int index)

The workflows which match the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Workflow.Builder

getWorkflowsBuilderList()

public List<Workflow.Builder> getWorkflowsBuilderList()

The workflows which match the request.

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

Returns
TypeDescription
List<Builder>

getWorkflowsCount()

public int getWorkflowsCount()

The workflows which match the request.

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

Returns
TypeDescription
int

getWorkflowsList()

public List<Workflow> getWorkflowsList()

The workflows which match the request.

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

Returns
TypeDescription
List<Workflow>

getWorkflowsOrBuilder(int index)

public WorkflowOrBuilder getWorkflowsOrBuilder(int index)

The workflows which match the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkflowOrBuilder

getWorkflowsOrBuilderList()

public List<? extends WorkflowOrBuilder> getWorkflowsOrBuilderList()

The workflows which match the request.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkflowsResponse other)

public ListWorkflowsResponse.Builder mergeFrom(ListWorkflowsResponse other)
Parameter
NameDescription
otherListWorkflowsResponse
Returns
TypeDescription
ListWorkflowsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListWorkflowsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListWorkflowsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkflowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkflowsResponse.Builder
Overrides

removeWorkflows(int index)

public ListWorkflowsResponse.Builder removeWorkflows(int index)

The workflows which match the request.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListWorkflowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListWorkflowsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Unreachable resources.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListWorkflowsResponse.Builder

This builder for chaining.

setWorkflows(int index, Workflow value)

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

The workflows which match the request.

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

Parameters
NameDescription
indexint
valueWorkflow
Returns
TypeDescription
ListWorkflowsResponse.Builder

setWorkflows(int index, Workflow.Builder builderForValue)

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

The workflows which match the request.

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

Parameters
NameDescription
indexint
builderForValueWorkflow.Builder
Returns
TypeDescription
ListWorkflowsResponse.Builder