public static final class ListClustersRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder> implements ListClustersRequestOrBuilder
A request to list the clusters in a project.Protobuf type
google.cloud.dataproc.v1.ListClustersRequest| Modifier and Type | Method and Description |
|---|---|
ListClustersRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListClustersRequest |
build() |
ListClustersRequest |
buildPartial() |
ListClustersRequest.Builder |
clear() |
ListClustersRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListClustersRequest.Builder |
clearFilter()
Optional.
|
ListClustersRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListClustersRequest.Builder |
clearPageSize()
Optional.
|
ListClustersRequest.Builder |
clearPageToken()
Optional.
|
ListClustersRequest.Builder |
clearProjectId()
Required.
|
ListClustersRequest.Builder |
clearRegion()
Required.
|
ListClustersRequest.Builder |
clone() |
ListClustersRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
String |
getRegion()
Required.
|
com.google.protobuf.ByteString |
getRegionBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListClustersRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListClustersRequest.Builder |
mergeFrom(ListClustersRequest other) |
ListClustersRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListClustersRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListClustersRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListClustersRequest.Builder |
setFilter(String value)
Optional.
|
ListClustersRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Optional.
|
ListClustersRequest.Builder |
setPageSize(int value)
Optional.
|
ListClustersRequest.Builder |
setPageToken(String value)
Optional.
|
ListClustersRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListClustersRequest.Builder |
setProjectId(String value)
Required.
|
ListClustersRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
ListClustersRequest.Builder |
setRegion(String value)
Required.
|
ListClustersRequest.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
Required.
|
ListClustersRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListClustersRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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<ListClustersRequest.Builder>public ListClustersRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.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<ListClustersRequest.Builder>public ListClustersRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListClustersRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListClustersRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListClustersRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder>public ListClustersRequest.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<ListClustersRequest.Builder>public ListClustersRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder>public ListClustersRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder>public ListClustersRequest.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<ListClustersRequest.Builder>public ListClustersRequest.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<ListClustersRequest.Builder>public ListClustersRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListClustersRequest.Builder>public ListClustersRequest.Builder mergeFrom(ListClustersRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder>public ListClustersRequest.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<ListClustersRequest.Builder>IOExceptionpublic String getProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;getProjectId in interface ListClustersRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;getProjectIdBytes in interface ListClustersRequestOrBuilderpublic ListClustersRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;public ListClustersRequest.Builder clearProjectId()
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;public ListClustersRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
string project_id = 1;public String getRegion()
Required. The Cloud Dataproc region in which to handle the request.
string region = 4;getRegion in interface ListClustersRequestOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Required. The Cloud Dataproc region in which to handle the request.
string region = 4;getRegionBytes in interface ListClustersRequestOrBuilderpublic ListClustersRequest.Builder setRegion(String value)
Required. The Cloud Dataproc region in which to handle the request.
string region = 4;public ListClustersRequest.Builder clearRegion()
Required. The Cloud Dataproc region in which to handle the request.
string region = 4;public ListClustersRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
Required. The Cloud Dataproc region in which to handle the request.
string region = 4;public String getFilter()
Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *
string filter = 5;getFilter in interface ListClustersRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *
string filter = 5;getFilterBytes in interface ListClustersRequestOrBuilderpublic ListClustersRequest.Builder setFilter(String value)
Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *
string filter = 5;public ListClustersRequest.Builder clearFilter()
Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *
string filter = 5;public ListClustersRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax: field = value [AND [field = value]] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example filter: status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *
string filter = 5;public int getPageSize()
Optional. The standard List page size.
int32 page_size = 2;getPageSize in interface ListClustersRequestOrBuilderpublic ListClustersRequest.Builder setPageSize(int value)
Optional. The standard List page size.
int32 page_size = 2;public ListClustersRequest.Builder clearPageSize()
Optional. The standard List page size.
int32 page_size = 2;public String getPageToken()
Optional. The standard List page token.
string page_token = 3;getPageToken in interface ListClustersRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. The standard List page token.
string page_token = 3;getPageTokenBytes in interface ListClustersRequestOrBuilderpublic ListClustersRequest.Builder setPageToken(String value)
Optional. The standard List page token.
string page_token = 3;public ListClustersRequest.Builder clearPageToken()
Optional. The standard List page token.
string page_token = 3;public ListClustersRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. The standard List page token.
string page_token = 3;public final ListClustersRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder>public final ListClustersRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListClustersRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.