Class ListWorkflowsRequest.Builder (2.16.0)

public static final class ListWorkflowsRequest.Builder extends GeneratedMessageV3.Builder<ListWorkflowsRequest.Builder> implements ListWorkflowsRequestOrBuilder

Request for the ListWorkflows method.

Protobuf type google.cloud.workflows.v1.ListWorkflowsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListWorkflowsRequest build()
Returns
TypeDescription
ListWorkflowsRequest

buildPartial()

public ListWorkflowsRequest buildPartial()
Returns
TypeDescription
ListWorkflowsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListWorkflowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListWorkflowsRequest.Builder
Overrides

clearFilter()

public ListWorkflowsRequest.Builder clearFilter()

Filter to restrict results to specific workflows.

string filter = 4;

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public ListWorkflowsRequest.Builder clearOrderBy()

Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

string order_by = 5;

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

clearPageSize()

public ListWorkflowsRequest.Builder clearPageSize()

Maximum number of workflows to return per call. The service may return fewer than this value. If the value is not specified, a default value of 500 will be used. The maximum permitted value is 1000 and values greater than 1000 will be coerced down to 1000.

int32 page_size = 2;

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

clearPageToken()

public ListWorkflowsRequest.Builder clearPageToken()

A page token, received from a previous ListWorkflows call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkflows must match the call that provided the page token.

string page_token = 3;

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

clearParent()

public ListWorkflowsRequest.Builder clearParent()

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListWorkflowsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListWorkflowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Filter to restrict results to specific workflows.

string filter = 4;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filter to restrict results to specific workflows.

string filter = 4;

Returns
TypeDescription
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

string order_by = 5;

Returns
TypeDescription
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

string order_by = 5;

Returns
TypeDescription
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Maximum number of workflows to return per call. The service may return fewer than this value. If the value is not specified, a default value of 500 will be used. The maximum permitted value is 1000 and values greater than 1000 will be coerced down to 1000.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListWorkflows call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkflows must match the call that provided the page token.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListWorkflows call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkflows must match the call that provided the page token.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkflowsRequest other)

public ListWorkflowsRequest.Builder mergeFrom(ListWorkflowsRequest other)
Parameter
NameDescription
otherListWorkflowsRequest
Returns
TypeDescription
ListWorkflowsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListWorkflowsRequest.Builder setFilter(String value)

Filter to restrict results to specific workflows.

string filter = 4;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListWorkflowsRequest.Builder setFilterBytes(ByteString value)

Filter to restrict results to specific workflows.

string filter = 4;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListWorkflowsRequest.Builder setOrderBy(String value)

Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

string order_by = 5;

Parameter
NameDescription
valueString

The orderBy to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListWorkflowsRequest.Builder setOrderByBytes(ByteString value)

Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

string order_by = 5;

Parameter
NameDescription
valueByteString

The bytes for orderBy to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListWorkflowsRequest.Builder setPageSize(int value)

Maximum number of workflows to return per call. The service may return fewer than this value. If the value is not specified, a default value of 500 will be used. The maximum permitted value is 1000 and values greater than 1000 will be coerced down to 1000.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListWorkflowsRequest.Builder setPageToken(String value)

A page token, received from a previous ListWorkflows call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkflows must match the call that provided the page token.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListWorkflowsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListWorkflows call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkflows must match the call that provided the page token.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setParent(String value)

public ListWorkflowsRequest.Builder setParent(String value)

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListWorkflowsRequest.Builder setParentBytes(ByteString value)

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListWorkflowsRequest.Builder

This builder for chaining.

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

public ListWorkflowsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListWorkflowsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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