public static final class ListClustersResponse.Builder extends GeneratedMessageV3.Builder<ListClustersResponse.Builder> implements ListClustersResponseOrBuilder
The list of all clusters in a project.
Protobuf type google.cloud.dataproc.v1.ListClustersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addAllClusters(Iterable<? extends Cluster> values)
public ListClustersResponse.Builder addAllClusters(Iterable<? extends Cluster> values)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.dataproc.v1.Cluster>
|
addClusters(Cluster value)
public ListClustersResponse.Builder addClusters(Cluster value)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | Cluster
|
addClusters(Cluster.Builder builderForValue)
public ListClustersResponse.Builder addClusters(Cluster.Builder builderForValue)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addClusters(int index, Cluster value)
public ListClustersResponse.Builder addClusters(int index, Cluster value)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addClusters(int index, Cluster.Builder builderForValue)
public ListClustersResponse.Builder addClusters(int index, Cluster.Builder builderForValue)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addClustersBuilder()
public Cluster.Builder addClustersBuilder()
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addClustersBuilder(int index)
public Cluster.Builder addClustersBuilder(int index)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListClustersResponse build()
buildPartial()
public ListClustersResponse buildPartial()
clear()
public ListClustersResponse.Builder clear()
Overrides
clearClusters()
public ListClustersResponse.Builder clearClusters()
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ListClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListClustersResponse.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 ListClustersRequest
.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListClustersResponse.Builder clone()
Overrides
getClusters(int index)
public Cluster getClusters(int index)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getClustersBuilder(int index)
public Cluster.Builder getClustersBuilder(int index)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getClustersBuilderList()
public List<Cluster.Builder> getClustersBuilderList()
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClustersCount()
public int getClustersCount()
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | |
getClustersList()
public List<Cluster> getClustersList()
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClustersOrBuilder(int index)
public ClusterOrBuilder getClustersOrBuilder(int index)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getClustersOrBuilderList()
public List<? extends ClusterOrBuilder> getClustersOrBuilderList()
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.dataproc.v1.ClusterOrBuilder> | |
getDefaultInstanceForType()
public ListClustersResponse 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 ListClustersRequest
.
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 ListClustersRequest
.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListClustersResponse other)
public ListClustersResponse.Builder mergeFrom(ListClustersResponse other)
public ListClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListClustersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeClusters(int index)
public ListClustersResponse.Builder removeClusters(int index)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
setClusters(int index, Cluster value)
public ListClustersResponse.Builder setClusters(int index, Cluster value)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setClusters(int index, Cluster.Builder builderForValue)
public ListClustersResponse.Builder setClusters(int index, Cluster.Builder builderForValue)
Output only. The clusters in the project.
repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setField(Descriptors.FieldDescriptor field, Object value)
public ListClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListClustersResponse.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 ListClustersRequest
.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListClustersResponse.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 ListClustersRequest
.
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 ListClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides