Class StartupConfig.Builder (4.48.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartupConfig.Builder
Overrides

build()

public StartupConfig build()
Returns
Type Description
StartupConfig

buildPartial()

public StartupConfig buildPartial()
Returns
Type Description
StartupConfig

clear()

public StartupConfig.Builder clear()
Returns
Type Description
StartupConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StartupConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StartupConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StartupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StartupConfig.Builder
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];

Returns
Type Description
StartupConfig.Builder

This builder for chaining.

clone()

public StartupConfig.Builder clone()
Returns
Type Description
StartupConfig.Builder
Overrides

getDefaultInstanceForType()

public StartupConfig getDefaultInstanceForType()
Returns
Type Description
StartupConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartupConfig other)

public StartupConfig.Builder mergeFrom(StartupConfig other)
Parameter
Name Description
other StartupConfig
Returns
Type Description
StartupConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StartupConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StartupConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StartupConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartupConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StartupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartupConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StartupConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StartupConfig.Builder
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.

Returns
Type Description
StartupConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final StartupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartupConfig.Builder
Overrides