public static final class StartupConfig.Builder extends GeneratedMessageV3.Builder<StartupConfig.Builder> implements StartupConfigOrBuilder
Configuration to handle the startup of instances during cluster create and
update process.
Protobuf type google.cloud.dataproc.v1.StartupConfig
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 StartupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StartupConfig build()
buildPartial()
public StartupConfig buildPartial()
clear()
public StartupConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StartupConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StartupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequiredRegistrationFraction()
public StartupConfig.Builder clearRequiredRegistrationFraction()
Optional. The config setting to enable cluster creation/ updation to be
successful only after required_registration_fraction of instances are up
and running. This configuration is applicable to only secondary workers for
now. The cluster will fail if required_registration_fraction of instances
are not available. This will include instance creation, agent registration,
and service registration (if enabled).
optional double required_registration_fraction = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public StartupConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public StartupConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRequiredRegistrationFraction()
public double getRequiredRegistrationFraction()
Optional. The config setting to enable cluster creation/ updation to be
successful only after required_registration_fraction of instances are up
and running. This configuration is applicable to only secondary workers for
now. The cluster will fail if required_registration_fraction of instances
are not available. This will include instance creation, agent registration,
and service registration (if enabled).
optional double required_registration_fraction = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
double |
The requiredRegistrationFraction.
|
hasRequiredRegistrationFraction()
public boolean hasRequiredRegistrationFraction()
Optional. The config setting to enable cluster creation/ updation to be
successful only after required_registration_fraction of instances are up
and running. This configuration is applicable to only secondary workers for
now. The cluster will fail if required_registration_fraction of instances
are not available. This will include instance creation, agent registration,
and service registration (if enabled).
optional double required_registration_fraction = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the requiredRegistrationFraction field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StartupConfig other)
public StartupConfig.Builder mergeFrom(StartupConfig other)
public StartupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StartupConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StartupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StartupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StartupConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequiredRegistrationFraction(double value)
public StartupConfig.Builder setRequiredRegistrationFraction(double value)
Optional. The config setting to enable cluster creation/ updation to be
successful only after required_registration_fraction of instances are up
and running. This configuration is applicable to only secondary workers for
now. The cluster will fail if required_registration_fraction of instances
are not available. This will include instance creation, agent registration,
and service registration (if enabled).
optional double required_registration_fraction = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
double
The requiredRegistrationFraction to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final StartupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides