public static final class ListAutoscalingPoliciesResponse.Builder extends GeneratedMessage.Builder<ListAutoscalingPoliciesResponse.Builder> implements ListAutoscalingPoliciesResponseOrBuilderA response to a request to list autoscaling policies in a project.
Protobuf type google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAutoscalingPoliciesResponse.BuilderImplements
ListAutoscalingPoliciesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPolicies(Iterable<? extends AutoscalingPolicy> values)
public ListAutoscalingPoliciesResponse.Builder addAllPolicies(Iterable<? extends AutoscalingPolicy> values)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dataproc.v1.AutoscalingPolicy> |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
addPolicies(AutoscalingPolicy value)
public ListAutoscalingPoliciesResponse.Builder addPolicies(AutoscalingPolicy value)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AutoscalingPolicy |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
addPolicies(AutoscalingPolicy.Builder builderForValue)
public ListAutoscalingPoliciesResponse.Builder addPolicies(AutoscalingPolicy.Builder builderForValue)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AutoscalingPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
addPolicies(int index, AutoscalingPolicy value)
public ListAutoscalingPoliciesResponse.Builder addPolicies(int index, AutoscalingPolicy value)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AutoscalingPolicy |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
addPolicies(int index, AutoscalingPolicy.Builder builderForValue)
public ListAutoscalingPoliciesResponse.Builder addPolicies(int index, AutoscalingPolicy.Builder builderForValue)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AutoscalingPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
addPoliciesBuilder()
public AutoscalingPolicy.Builder addPoliciesBuilder()Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicy.Builder |
|
addPoliciesBuilder(int index)
public AutoscalingPolicy.Builder addPoliciesBuilder(int index)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicy.Builder |
|
build()
public ListAutoscalingPoliciesResponse build()| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse |
|
buildPartial()
public ListAutoscalingPoliciesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse |
|
clear()
public ListAutoscalingPoliciesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
clearNextPageToken()
public ListAutoscalingPoliciesResponse.Builder clearNextPageToken()Output only. This token is included in the response if there are more results to fetch.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
This builder for chaining. |
clearPolicies()
public ListAutoscalingPoliciesResponse.Builder clearPolicies()Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
getDefaultInstanceForType()
public ListAutoscalingPoliciesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Output only. This token is included in the response if there are more results to fetch.
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.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getPolicies(int index)
public AutoscalingPolicy getPolicies(int index)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicy |
|
getPoliciesBuilder(int index)
public AutoscalingPolicy.Builder getPoliciesBuilder(int index)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicy.Builder |
|
getPoliciesBuilderList()
public List<AutoscalingPolicy.Builder> getPoliciesBuilderList()Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPoliciesCount()
public int getPoliciesCount()Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPoliciesList()
public List<AutoscalingPolicy> getPoliciesList()Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AutoscalingPolicy> |
|
getPoliciesOrBuilder(int index)
public AutoscalingPolicyOrBuilder getPoliciesOrBuilder(int index)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoscalingPolicyOrBuilder |
|
getPoliciesOrBuilderList()
public List<? extends AutoscalingPolicyOrBuilder> getPoliciesOrBuilderList()Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dataproc.v1.AutoscalingPolicyOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAutoscalingPoliciesResponse other)
public ListAutoscalingPoliciesResponse.Builder mergeFrom(ListAutoscalingPoliciesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAutoscalingPoliciesResponse |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAutoscalingPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAutoscalingPoliciesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
removePolicies(int index)
public ListAutoscalingPoliciesResponse.Builder removePolicies(int index)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
setNextPageToken(String value)
public ListAutoscalingPoliciesResponse.Builder setNextPageToken(String value)Output only. This token is included in the response if there are more results to fetch.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAutoscalingPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)Output only. This token is included in the response if there are more results to fetch.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
This builder for chaining. |
setPolicies(int index, AutoscalingPolicy value)
public ListAutoscalingPoliciesResponse.Builder setPolicies(int index, AutoscalingPolicy value)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AutoscalingPolicy |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|
setPolicies(int index, AutoscalingPolicy.Builder builderForValue)
public ListAutoscalingPoliciesResponse.Builder setPolicies(int index, AutoscalingPolicy.Builder builderForValue)Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AutoscalingPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAutoscalingPoliciesResponse.Builder |
|