public static final class GeminiInstanceConfig.Builder extends GeneratedMessage.Builder<GeminiInstanceConfig.Builder> implements GeminiInstanceConfigOrBuilderGemini instance configuration.
Protobuf type google.cloud.sql.v1.GeminiInstanceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GeminiInstanceConfig.BuilderImplements
GeminiInstanceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GeminiInstanceConfig build()| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig |
|
buildPartial()
public GeminiInstanceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig |
|
clear()
public GeminiInstanceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
|
clearActiveQueryEnabled()
public GeminiInstanceConfig.Builder clearActiveQueryEnabled()Output only. Whether the active query is enabled.
optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
clearEntitled()
public GeminiInstanceConfig.Builder clearEntitled()Output only. Whether Gemini is enabled.
optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
clearFlagRecommenderEnabled()
public GeminiInstanceConfig.Builder clearFlagRecommenderEnabled()Output only. Whether the flag recommender is enabled.
optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
clearGoogleVacuumMgmtEnabled()
public GeminiInstanceConfig.Builder clearGoogleVacuumMgmtEnabled()Output only. Whether the vacuum management is enabled.
optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
clearIndexAdvisorEnabled()
public GeminiInstanceConfig.Builder clearIndexAdvisorEnabled()Output only. Whether the index advisor is enabled.
optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
clearOomSessionCancelEnabled()
public GeminiInstanceConfig.Builder clearOomSessionCancelEnabled()Output only. Whether canceling the out-of-memory (OOM) session is enabled.
optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
getActiveQueryEnabled()
public boolean getActiveQueryEnabled()Output only. Whether the active query is enabled.
optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The activeQueryEnabled. |
getDefaultInstanceForType()
public GeminiInstanceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEntitled()
public boolean getEntitled()Output only. Whether Gemini is enabled.
optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The entitled. |
getFlagRecommenderEnabled()
public boolean getFlagRecommenderEnabled()Output only. Whether the flag recommender is enabled.
optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The flagRecommenderEnabled. |
getGoogleVacuumMgmtEnabled()
public boolean getGoogleVacuumMgmtEnabled()Output only. Whether the vacuum management is enabled.
optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The googleVacuumMgmtEnabled. |
getIndexAdvisorEnabled()
public boolean getIndexAdvisorEnabled()Output only. Whether the index advisor is enabled.
optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The indexAdvisorEnabled. |
getOomSessionCancelEnabled()
public boolean getOomSessionCancelEnabled()Output only. Whether canceling the out-of-memory (OOM) session is enabled.
optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The oomSessionCancelEnabled. |
hasActiveQueryEnabled()
public boolean hasActiveQueryEnabled()Output only. Whether the active query is enabled.
optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the activeQueryEnabled field is set. |
hasEntitled()
public boolean hasEntitled()Output only. Whether Gemini is enabled.
optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the entitled field is set. |
hasFlagRecommenderEnabled()
public boolean hasFlagRecommenderEnabled()Output only. Whether the flag recommender is enabled.
optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the flagRecommenderEnabled field is set. |
hasGoogleVacuumMgmtEnabled()
public boolean hasGoogleVacuumMgmtEnabled()Output only. Whether the vacuum management is enabled.
optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the googleVacuumMgmtEnabled field is set. |
hasIndexAdvisorEnabled()
public boolean hasIndexAdvisorEnabled()Output only. Whether the index advisor is enabled.
optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the indexAdvisorEnabled field is set. |
hasOomSessionCancelEnabled()
public boolean hasOomSessionCancelEnabled()Output only. Whether canceling the out-of-memory (OOM) session is enabled.
optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the oomSessionCancelEnabled field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GeminiInstanceConfig other)
public GeminiInstanceConfig.Builder mergeFrom(GeminiInstanceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
GeminiInstanceConfig |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GeminiInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GeminiInstanceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
|
setActiveQueryEnabled(boolean value)
public GeminiInstanceConfig.Builder setActiveQueryEnabled(boolean value)Output only. Whether the active query is enabled.
optional bool active_query_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe activeQueryEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
setEntitled(boolean value)
public GeminiInstanceConfig.Builder setEntitled(boolean value)Output only. Whether Gemini is enabled.
optional bool entitled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe entitled to set. |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
setFlagRecommenderEnabled(boolean value)
public GeminiInstanceConfig.Builder setFlagRecommenderEnabled(boolean value)Output only. Whether the flag recommender is enabled.
optional bool flag_recommender_enabled = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe flagRecommenderEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
setGoogleVacuumMgmtEnabled(boolean value)
public GeminiInstanceConfig.Builder setGoogleVacuumMgmtEnabled(boolean value)Output only. Whether the vacuum management is enabled.
optional bool google_vacuum_mgmt_enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe googleVacuumMgmtEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
setIndexAdvisorEnabled(boolean value)
public GeminiInstanceConfig.Builder setIndexAdvisorEnabled(boolean value)Output only. Whether the index advisor is enabled.
optional bool index_advisor_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe indexAdvisorEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |
setOomSessionCancelEnabled(boolean value)
public GeminiInstanceConfig.Builder setOomSessionCancelEnabled(boolean value)Output only. Whether canceling the out-of-memory (OOM) session is enabled.
optional bool oom_session_cancel_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe oomSessionCancelEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
GeminiInstanceConfig.Builder |
This builder for chaining. |