public static final class ListWorkflowTemplatesRequest.Builder extends GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder> implements ListWorkflowTemplatesRequestOrBuilder
A request to list workflow templates in a project.Protobuf type
google.cloud.dataproc.v1.ListWorkflowTemplatesRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListWorkflowTemplatesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListWorkflowTemplatesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListWorkflowTemplatesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder mergeFrom(ListWorkflowTemplatesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public ListWorkflowTemplatesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListWorkflowTemplatesRequest.Builder>
IOException
public String getParent()
Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates,list`, the resource name of the region has the following format: `projects/{project_id}/regions/{region}` * For `projects.locations.workflowTemplates.list`, the resource name of the location has the following format: `projects/{project_id}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListWorkflowTemplatesRequestOrBuilder
public ByteString getParentBytes()
Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates,list`, the resource name of the region has the following format: `projects/{project_id}/regions/{region}` * For `projects.locations.workflowTemplates.list`, the resource name of the location has the following format: `projects/{project_id}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListWorkflowTemplatesRequestOrBuilder
public ListWorkflowTemplatesRequest.Builder setParent(String value)
Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates,list`, the resource name of the region has the following format: `projects/{project_id}/regions/{region}` * For `projects.locations.workflowTemplates.list`, the resource name of the location has the following format: `projects/{project_id}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public ListWorkflowTemplatesRequest.Builder clearParent()
Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates,list`, the resource name of the region has the following format: `projects/{project_id}/regions/{region}` * For `projects.locations.workflowTemplates.list`, the resource name of the location has the following format: `projects/{project_id}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListWorkflowTemplatesRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. * For `projects.regions.workflowTemplates,list`, the resource name of the region has the following format: `projects/{project_id}/regions/{region}` * For `projects.locations.workflowTemplates.list`, the resource name of the location has the following format: `projects/{project_id}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public int getPageSize()
Optional. The maximum number of results to return in each response.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
getPageSize
in interface ListWorkflowTemplatesRequestOrBuilder
public ListWorkflowTemplatesRequest.Builder setPageSize(int value)
Optional. The maximum number of results to return in each response.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
value
- The pageSize to set.public ListWorkflowTemplatesRequest.Builder clearPageSize()
Optional. The maximum number of results to return in each response.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getPageToken()
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
getPageToken
in interface ListWorkflowTemplatesRequestOrBuilder
public ByteString getPageTokenBytes()
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
getPageTokenBytes
in interface ListWorkflowTemplatesRequestOrBuilder
public ListWorkflowTemplatesRequest.Builder setPageToken(String value)
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The pageToken to set.public ListWorkflowTemplatesRequest.Builder clearPageToken()
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
public ListWorkflowTemplatesRequest.Builder setPageTokenBytes(ByteString value)
Optional. The page token, returned by a previous call, to request the next page of results.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for pageToken to set.public final ListWorkflowTemplatesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
public final ListWorkflowTemplatesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListWorkflowTemplatesRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.