public static final class AutoscalingConfig.Builder extends GeneratedMessageV3.Builder<AutoscalingConfig.Builder> implements AutoscalingConfigOrBuilder
Autoscaling Policy config associated with the cluster.
Protobuf type google.cloud.dataproc.v1.AutoscalingConfig
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoscalingConfig build()
buildPartial()
public AutoscalingConfig buildPartial()
clear()
public AutoscalingConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutoscalingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicyUri()
public AutoscalingConfig.Builder clearPolicyUri()
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid.
Examples:
string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public AutoscalingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public AutoscalingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPolicyUri()
public String getPolicyUri()
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid.
Examples:
string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The policyUri.
|
getPolicyUriBytes()
public ByteString getPolicyUriBytes()
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid.
Examples:
string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for policyUri.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AutoscalingConfig other)
public AutoscalingConfig.Builder mergeFrom(AutoscalingConfig other)
public AutoscalingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoscalingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPolicyUri(String value)
public AutoscalingConfig.Builder setPolicyUri(String value)
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid.
Examples:
string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The policyUri to set.
|
setPolicyUriBytes(ByteString value)
public AutoscalingConfig.Builder setPolicyUriBytes(ByteString value)
Optional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid.
Examples:
string policy_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for policyUri to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides