Class ListExecutionsRequest.Builder (2.2.1)

public static final class ListExecutionsRequest.Builder extends GeneratedMessageV3.Builder<ListExecutionsRequest.Builder> implements ListExecutionsRequestOrBuilder

Request for the [ListExecutions][] method.

Protobuf type google.cloud.workflows.executions.v1.ListExecutionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExecutionsRequest build()
Returns
TypeDescription
ListExecutionsRequest

buildPartial()

public ListExecutionsRequest buildPartial()
Returns
TypeDescription
ListExecutionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListExecutionsRequest.Builder clearPageSize()

Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.

int32 page_size = 2;

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListExecutionsRequest.Builder clearPageToken()

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

string page_token = 3;

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

clearParent()

public ListExecutionsRequest.Builder clearParent()

Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}

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

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

clearView()

public ListExecutionsRequest.Builder clearView()

Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.

.google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListExecutionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListExecutionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListExecutions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListExecutions 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 ListExecutions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListExecutions 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. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getView()

public ExecutionView getView()

Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.

.google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExecutionView

The view.

getViewValue()

public int getViewValue()

Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.

.google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListExecutionsRequest other)

public ListExecutionsRequest.Builder mergeFrom(ListExecutionsRequest other)
Parameter
NameDescription
otherListExecutionsRequest
Returns
TypeDescription
ListExecutionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListExecutionsRequest.Builder setPageSize(int value)

Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListExecutionsRequest.Builder setPageToken(String value)

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

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListExecutionsRequest.Builder setPageTokenBytes(ByteString value)

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

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListExecutionsRequest.Builder setParent(String value)

Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListExecutionsRequest.Builder setParentBytes(ByteString value)

Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(ExecutionView value)

public ListExecutionsRequest.Builder setView(ExecutionView value)

Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.

.google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueExecutionView

The view to set.

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.

setViewValue(int value)

public ListExecutionsRequest.Builder setViewValue(int value)

Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.

.google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ListExecutionsRequest.Builder

This builder for chaining.