public static final class ListAutoscalingPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListAutoscalingPoliciesResponse.Builder> implements ListAutoscalingPoliciesResponseOrBuilder
A response to a request to list autoscaling policies in a project.
Protobuf type google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse
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
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>
|
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];
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];
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];
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];
addPoliciesBuilder()
public AutoscalingPolicy.Builder addPoliciesBuilder()
Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAutoscalingPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAutoscalingPoliciesResponse build()
buildPartial()
public ListAutoscalingPoliciesResponse buildPartial()
clear()
public ListAutoscalingPoliciesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListAutoscalingPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAutoscalingPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicies()
public ListAutoscalingPoliciesResponse.Builder clearPolicies()
Output only. Autoscaling policies list.
repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ListAutoscalingPoliciesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListAutoscalingPoliciesResponse 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.
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
|
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
|
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];
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];
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAutoscalingPoliciesResponse other)
public ListAutoscalingPoliciesResponse.Builder mergeFrom(ListAutoscalingPoliciesResponse other)
public ListAutoscalingPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAutoscalingPoliciesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAutoscalingPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListAutoscalingPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAutoscalingPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAutoscalingPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides