public static final class DataCacheConfig.Builder extends GeneratedMessage.Builder<DataCacheConfig.Builder> implements DataCacheConfigOrBuilderData cache configurations.
Protobuf type google.cloud.sql.v1beta4.DataCacheConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataCacheConfig.BuilderImplements
DataCacheConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataCacheConfig build()| Returns | |
|---|---|
| Type | Description |
DataCacheConfig |
|
buildPartial()
public DataCacheConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DataCacheConfig |
|
clear()
public DataCacheConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataCacheConfig.Builder |
|
clearDataCacheEnabled()
public DataCacheConfig.Builder clearDataCacheEnabled()Whether data cache is enabled for the instance.
bool data_cache_enabled = 1;
| Returns | |
|---|---|
| Type | Description |
DataCacheConfig.Builder |
This builder for chaining. |
getDataCacheEnabled()
public boolean getDataCacheEnabled()Whether data cache is enabled for the instance.
bool data_cache_enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The dataCacheEnabled. |
getDefaultInstanceForType()
public DataCacheConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataCacheConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataCacheConfig other)
public DataCacheConfig.Builder mergeFrom(DataCacheConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DataCacheConfig |
| Returns | |
|---|---|
| Type | Description |
DataCacheConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataCacheConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataCacheConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataCacheConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataCacheConfig.Builder |
|
setDataCacheEnabled(boolean value)
public DataCacheConfig.Builder setDataCacheEnabled(boolean value)Whether data cache is enabled for the instance.
bool data_cache_enabled = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe dataCacheEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
DataCacheConfig.Builder |
This builder for chaining. |