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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkflowTemplatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addTemplatesBuilder()
public WorkflowTemplate.Builder addTemplatesBuilder()
Output only. WorkflowTemplates list.
repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Returns
build()
public ListWorkflowTemplatesResponse build()
Returns
buildPartial()
public ListWorkflowTemplatesResponse buildPartial()
Returns
clear()
public ListWorkflowTemplatesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWorkflowTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkflowTemplatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ListWorkflowTemplatesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListWorkflowTemplatesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
getTemplatesCount()
public int getTemplatesCount()
Output only. WorkflowTemplates list.
repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getTemplatesList()
public List<WorkflowTemplate> getTemplatesList()
Output only. WorkflowTemplates list.
repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListWorkflowTemplatesResponse other)
public ListWorkflowTemplatesResponse.Builder mergeFrom(ListWorkflowTemplatesResponse other)
Parameter
Returns
public ListWorkflowTemplatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListWorkflowTemplatesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkflowTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkflowTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkflowTemplatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkflowTemplatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides