public static final class AdvancedMachineFeatures.Builder extends GeneratedMessage.Builder<AdvancedMachineFeatures.Builder> implements AdvancedMachineFeaturesOrBuilderSpecifies options for controlling advanced machine features.
Protobuf type google.cloud.sql.v1.AdvancedMachineFeatures
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AdvancedMachineFeatures.BuilderImplements
AdvancedMachineFeaturesOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AdvancedMachineFeatures.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeatures.Builder |
|
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 |
intThe threadsPerCore to set. |
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeatures.Builder |
This builder for chaining. |