Class ListWorkflowTemplatesResponse.Builder (4.41.0)

public static final class ListWorkflowTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListWorkflowTemplatesResponse.Builder> implements ListWorkflowTemplatesResponseOrBuilder

A response to a request to list workflow templates in a project.

Protobuf type google.cloud.dataproc.v1.ListWorkflowTemplatesResponse

Static Methods

getDescriptor()

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

Methods

addAllTemplates(Iterable<? extends WorkflowTemplate> values)

public ListWorkflowTemplatesResponse.Builder addAllTemplates(Iterable<? extends WorkflowTemplate> values)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataproc.v1.WorkflowTemplate>
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTemplates(WorkflowTemplate value)

public ListWorkflowTemplatesResponse.Builder addTemplates(WorkflowTemplate value)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkflowTemplate
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

addTemplates(WorkflowTemplate.Builder builderForValue)

public ListWorkflowTemplatesResponse.Builder addTemplates(WorkflowTemplate.Builder builderForValue)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue WorkflowTemplate.Builder
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

addTemplates(int index, WorkflowTemplate value)

public ListWorkflowTemplatesResponse.Builder addTemplates(int index, WorkflowTemplate value)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WorkflowTemplate
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

addTemplates(int index, WorkflowTemplate.Builder builderForValue)

public ListWorkflowTemplatesResponse.Builder addTemplates(int index, WorkflowTemplate.Builder builderForValue)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WorkflowTemplate.Builder
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

addTemplatesBuilder()

public WorkflowTemplate.Builder addTemplatesBuilder()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowTemplate.Builder

addTemplatesBuilder(int index)

public WorkflowTemplate.Builder addTemplatesBuilder(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTemplate.Builder

build()

public ListWorkflowTemplatesResponse build()
Returns
Type Description
ListWorkflowTemplatesResponse

buildPartial()

public ListWorkflowTemplatesResponse buildPartial()
Returns
Type Description
ListWorkflowTemplatesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListWorkflowTemplatesResponse.Builder clearNextPageToken()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkflowTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTemplates()

public ListWorkflowTemplatesResponse.Builder clearTemplates()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkflowTemplatesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkflowTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListWorkflowTemplatesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTemplates(int index)

public WorkflowTemplate getTemplates(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTemplate

getTemplatesBuilder(int index)

public WorkflowTemplate.Builder getTemplatesBuilder(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTemplate.Builder

getTemplatesBuilderList()

public List<WorkflowTemplate.Builder> getTemplatesBuilderList()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getTemplatesCount()

public int getTemplatesCount()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTemplatesList()

public List<WorkflowTemplate> getTemplatesList()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<WorkflowTemplate>

getTemplatesOrBuilder(int index)

public WorkflowTemplateOrBuilder getTemplatesOrBuilder(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
WorkflowTemplateOrBuilder

getTemplatesOrBuilderList()

public List<? extends WorkflowTemplateOrBuilder> getTemplatesOrBuilderList()

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataproc.v1.WorkflowTemplateOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkflowTemplatesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTemplates(int index)

public ListWorkflowTemplatesResponse.Builder removeTemplates(int index)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListWorkflowTemplatesResponse.Builder setNextPageToken(String value)

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWorkflowTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWorkflowTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWorkflowTemplatesResponse.Builder

This builder for chaining.

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

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

setTemplates(int index, WorkflowTemplate value)

public ListWorkflowTemplatesResponse.Builder setTemplates(int index, WorkflowTemplate value)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value WorkflowTemplate
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

setTemplates(int index, WorkflowTemplate.Builder builderForValue)

public ListWorkflowTemplatesResponse.Builder setTemplates(int index, WorkflowTemplate.Builder builderForValue)

Output only. WorkflowTemplates list.

repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue WorkflowTemplate.Builder
Returns
Type Description
ListWorkflowTemplatesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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