Class AdvancedMachineFeatures.Builder (0.1.0)

public static final class AdvancedMachineFeatures.Builder extends GeneratedMessage.Builder<AdvancedMachineFeatures.Builder> implements AdvancedMachineFeaturesOrBuilder

Specifies options for controlling advanced machine features.

Protobuf type google.cloud.sql.v1beta4.AdvancedMachineFeatures

Static Methods

getDescriptor()

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

Methods

build()

public AdvancedMachineFeatures build()
Returns
Type Description
AdvancedMachineFeatures

buildPartial()

public AdvancedMachineFeatures buildPartial()
Returns
Type Description
AdvancedMachineFeatures

clear()

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

clearThreadsPerCore()

public AdvancedMachineFeatures.Builder clearThreadsPerCore()

The number of threads per physical core.

int32 threads_per_core = 1;

Returns
Type Description
AdvancedMachineFeatures.Builder

This builder for chaining.

getDefaultInstanceForType()

public AdvancedMachineFeatures getDefaultInstanceForType()
Returns
Type Description
AdvancedMachineFeatures

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getThreadsPerCore()

public int getThreadsPerCore()

The number of threads per physical core.

int32 threads_per_core = 1;

Returns
Type Description
int

The threadsPerCore.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdvancedMachineFeatures other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setThreadsPerCore(int value)

public AdvancedMachineFeatures.Builder setThreadsPerCore(int value)

The number of threads per physical core.

int32 threads_per_core = 1;

Parameter
Name Description
value int

The threadsPerCore to set.

Returns
Type Description
AdvancedMachineFeatures.Builder

This builder for chaining.