public static final class ListBatchesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder> implements ListBatchesRequestOrBuilder
A request to list batch workloads in a project.Protobuf type
google.cloud.dataproc.v1.ListBatchesRequest| Modifier and Type | Method and Description |
|---|---|
ListBatchesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBatchesRequest |
build() |
ListBatchesRequest |
buildPartial() |
ListBatchesRequest.Builder |
clear() |
ListBatchesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBatchesRequest.Builder |
clearFilter()
Optional.
|
ListBatchesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBatchesRequest.Builder |
clearOrderBy()
Optional.
|
ListBatchesRequest.Builder |
clearPageSize()
Optional.
|
ListBatchesRequest.Builder |
clearPageToken()
Optional.
|
ListBatchesRequest.Builder |
clearParent()
Required.
|
ListBatchesRequest.Builder |
clone() |
ListBatchesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
String |
getOrderBy()
Optional.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBatchesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBatchesRequest.Builder |
mergeFrom(ListBatchesRequest other) |
ListBatchesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBatchesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBatchesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBatchesRequest.Builder |
setFilter(String value)
Optional.
|
ListBatchesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Optional.
|
ListBatchesRequest.Builder |
setOrderBy(String value)
Optional.
|
ListBatchesRequest.Builder |
setOrderByBytes(com.google.protobuf.ByteString value)
Optional.
|
ListBatchesRequest.Builder |
setPageSize(int value)
Optional.
|
ListBatchesRequest.Builder |
setPageToken(String value)
Optional.
|
ListBatchesRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListBatchesRequest.Builder |
setParent(String value)
Required.
|
ListBatchesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListBatchesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBatchesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListBatchesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListBatchesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListBatchesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder mergeFrom(ListBatchesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public ListBatchesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBatchesRequest.Builder>IOExceptionpublic String getParent()
Required. The parent, which owns this collection of batches.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListBatchesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent, which owns this collection of batches.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListBatchesRequestOrBuilderpublic ListBatchesRequest.Builder setParent(String value)
Required. The parent, which owns this collection of batches.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListBatchesRequest.Builder clearParent()
Required. The parent, which owns this collection of batches.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListBatchesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent, which owns this collection of batches.
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 batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListBatchesRequestOrBuilderpublic ListBatchesRequest.Builder setPageSize(int value)
Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListBatchesRequest.Builder clearPageSize()
Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. A page token received from a previous `ListBatches` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface ListBatchesRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. A page token received from a previous `ListBatches` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface ListBatchesRequestOrBuilderpublic ListBatchesRequest.Builder setPageToken(String value)
Optional. A page token received from a previous `ListBatches` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public ListBatchesRequest.Builder clearPageToken()
Optional. A page token received from a previous `ListBatches` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];public ListBatchesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. A page token received from a previous `ListBatches` call. Provide this token to retrieve the subsequent page.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public String getFilter()
Optional. A filter for the batches to return in the response. A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are `batch_id`, `batch_uuid`, `state`, and `create_time`. e.g. `state = RUNNING and create_time < "2023-01-01T00:00:00Z"` filters for batches in state RUNNING that were created before 2023-01-01 See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface ListBatchesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. A filter for the batches to return in the response. A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are `batch_id`, `batch_uuid`, `state`, and `create_time`. e.g. `state = RUNNING and create_time < "2023-01-01T00:00:00Z"` filters for batches in state RUNNING that were created before 2023-01-01 See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface ListBatchesRequestOrBuilderpublic ListBatchesRequest.Builder setFilter(String value)
Optional. A filter for the batches to return in the response. A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are `batch_id`, `batch_uuid`, `state`, and `create_time`. e.g. `state = RUNNING and create_time < "2023-01-01T00:00:00Z"` filters for batches in state RUNNING that were created before 2023-01-01 See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public ListBatchesRequest.Builder clearFilter()
Optional. A filter for the batches to return in the response. A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are `batch_id`, `batch_uuid`, `state`, and `create_time`. e.g. `state = RUNNING and create_time < "2023-01-01T00:00:00Z"` filters for batches in state RUNNING that were created before 2023-01-01 See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];public ListBatchesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. A filter for the batches to return in the response. A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are `batch_id`, `batch_uuid`, `state`, and `create_time`. e.g. `state = RUNNING and create_time < "2023-01-01T00:00:00Z"` filters for batches in state RUNNING that were created before 2023-01-01 See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.public String getOrderBy()
Optional. Field(s) on which to sort the list of batches. Currently the only supported sort orders are unspecified (empty) and `create_time desc` to sort by most recently created batches first. See https://google.aip.dev/132#ordering for more details.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];getOrderBy in interface ListBatchesRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. Field(s) on which to sort the list of batches. Currently the only supported sort orders are unspecified (empty) and `create_time desc` to sort by most recently created batches first. See https://google.aip.dev/132#ordering for more details.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];getOrderByBytes in interface ListBatchesRequestOrBuilderpublic ListBatchesRequest.Builder setOrderBy(String value)
Optional. Field(s) on which to sort the list of batches. Currently the only supported sort orders are unspecified (empty) and `create_time desc` to sort by most recently created batches first. See https://google.aip.dev/132#ordering for more details.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];value - The orderBy to set.public ListBatchesRequest.Builder clearOrderBy()
Optional. Field(s) on which to sort the list of batches. Currently the only supported sort orders are unspecified (empty) and `create_time desc` to sort by most recently created batches first. See https://google.aip.dev/132#ordering for more details.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];public ListBatchesRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. Field(s) on which to sort the list of batches. Currently the only supported sort orders are unspecified (empty) and `create_time desc` to sort by most recently created batches first. See https://google.aip.dev/132#ordering for more details.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for orderBy to set.public final ListBatchesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>public final ListBatchesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBatchesRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.