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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkflowTemplatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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];
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];
addTemplatesBuilder()
public WorkflowTemplate.Builder addTemplatesBuilder()
Output only. WorkflowTemplates list.
repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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
|
build()
public ListWorkflowTemplatesResponse build()
buildPartial()
public ListWorkflowTemplatesResponse buildPartial()
clear()
public ListWorkflowTemplatesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWorkflowTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkflowTemplatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTemplates()
public ListWorkflowTemplatesResponse.Builder clearTemplates()
Output only. WorkflowTemplates list.
repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ListWorkflowTemplatesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListWorkflowTemplatesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getTemplatesBuilderList()
public List<WorkflowTemplate.Builder> getTemplatesBuilderList()
Output only. WorkflowTemplates list.
repeated .google.cloud.dataproc.v1.WorkflowTemplate templates = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListWorkflowTemplatesResponse other)
public ListWorkflowTemplatesResponse.Builder mergeFrom(ListWorkflowTemplatesResponse other)
public ListWorkflowTemplatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListWorkflowTemplatesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkflowTemplatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkflowTemplatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkflowTemplatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkflowTemplatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides