public static final class Instance.ObservabilityInstanceInfo.Builder extends GeneratedMessage.Builder<Instance.ObservabilityInstanceInfo.Builder> implements Instance.ObservabilityInstanceInfoOrBuilderProtobuf type google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.ObservabilityInstanceInfo.BuilderImplements
Instance.ObservabilityInstanceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Instance.ObservabilityInstanceInfo build()| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo |
|
buildPartial()
public Instance.ObservabilityInstanceInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo |
|
clear()
public Instance.ObservabilityInstanceInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
|
clearAssistiveExperiencesEnabled()
public Instance.ObservabilityInstanceInfo.Builder clearAssistiveExperiencesEnabled()Output only. Whether assistive experiences are enabled for this AlloyDB instance.
bool assistive_experiences_enabled = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearEnabled()
public Instance.ObservabilityInstanceInfo.Builder clearEnabled()Output only. Observability feature status for an instance.
bool enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearMaxQueryStringLength()
public Instance.ObservabilityInstanceInfo.Builder clearMaxQueryStringLength()Output only. Query string length. The default value is 10k.
int32 max_query_string_length = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearPreserveComments()
public Instance.ObservabilityInstanceInfo.Builder clearPreserveComments()Output only. Preserve comments in query string for an instance.
bool preserve_comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearQueryPlansPerMinute()
public Instance.ObservabilityInstanceInfo.Builder clearQueryPlansPerMinute()Output only. Number of query execution plans captured by Insights per minute for all queries combined.
int32 query_plans_per_minute = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearRecordApplicationTags()
public Instance.ObservabilityInstanceInfo.Builder clearRecordApplicationTags()Output only. Record application tags for an instance.
bool record_application_tags = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearTrackActiveQueries()
public Instance.ObservabilityInstanceInfo.Builder clearTrackActiveQueries()Output only. Track actively running queries on the instance.
bool track_active_queries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearTrackActiveQueryPlan() (deprecated)
public Instance.ObservabilityInstanceInfo.Builder clearTrackActiveQueryPlan()Deprecated. google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceInfo.track_active_query_plan is deprecated. See google/cloud/alloydb/v1alpha/resources.proto;l=976
Output only. Indicates whether to track active query plans for an instance. Deprecated: Use track_active_queries instead.
bool track_active_query_plan = 13 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearTrackClientAddress()
public Instance.ObservabilityInstanceInfo.Builder clearTrackClientAddress()Output only. Track client address for an instance.
bool track_client_address = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearTrackWaitEventTypes()
public Instance.ObservabilityInstanceInfo.Builder clearTrackWaitEventTypes()Output only. Track wait event types during query execution for an instance.
bool track_wait_event_types = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
clearTrackWaitEvents()
public Instance.ObservabilityInstanceInfo.Builder clearTrackWaitEvents()Output only. Track wait events during query execution for an instance.
bool track_wait_events = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
getAssistiveExperiencesEnabled()
public boolean getAssistiveExperiencesEnabled()Output only. Whether assistive experiences are enabled for this AlloyDB instance.
bool assistive_experiences_enabled = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The assistiveExperiencesEnabled. |
getDefaultInstanceForType()
public Instance.ObservabilityInstanceInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabled()
public boolean getEnabled()Output only. Observability feature status for an instance.
bool enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getMaxQueryStringLength()
public int getMaxQueryStringLength()Output only. Query string length. The default value is 10k.
int32 max_query_string_length = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The maxQueryStringLength. |
getPreserveComments()
public boolean getPreserveComments()Output only. Preserve comments in query string for an instance.
bool preserve_comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The preserveComments. |
getQueryPlansPerMinute()
public int getQueryPlansPerMinute()Output only. Number of query execution plans captured by Insights per minute for all queries combined.
int32 query_plans_per_minute = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The queryPlansPerMinute. |
getRecordApplicationTags()
public boolean getRecordApplicationTags()Output only. Record application tags for an instance.
bool record_application_tags = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The recordApplicationTags. |
getTrackActiveQueries()
public boolean getTrackActiveQueries()Output only. Track actively running queries on the instance.
bool track_active_queries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The trackActiveQueries. |
getTrackActiveQueryPlan() (deprecated)
public boolean getTrackActiveQueryPlan()Deprecated. google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceInfo.track_active_query_plan is deprecated. See google/cloud/alloydb/v1alpha/resources.proto;l=976
Output only. Indicates whether to track active query plans for an instance. Deprecated: Use track_active_queries instead.
bool track_active_query_plan = 13 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The trackActiveQueryPlan. |
getTrackClientAddress()
public boolean getTrackClientAddress()Output only. Track client address for an instance.
bool track_client_address = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The trackClientAddress. |
getTrackWaitEventTypes()
public boolean getTrackWaitEventTypes()Output only. Track wait event types during query execution for an instance.
bool track_wait_event_types = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The trackWaitEventTypes. |
getTrackWaitEvents()
public boolean getTrackWaitEvents()Output only. Track wait events during query execution for an instance.
bool track_wait_events = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The trackWaitEvents. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Instance.ObservabilityInstanceInfo other)
public Instance.ObservabilityInstanceInfo.Builder mergeFrom(Instance.ObservabilityInstanceInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance.ObservabilityInstanceInfo |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.ObservabilityInstanceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.ObservabilityInstanceInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
|
setAssistiveExperiencesEnabled(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setAssistiveExperiencesEnabled(boolean value)Output only. Whether assistive experiences are enabled for this AlloyDB instance.
bool assistive_experiences_enabled = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe assistiveExperiencesEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setEnabled(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setEnabled(boolean value)Output only. Observability feature status for an instance.
bool enabled = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setMaxQueryStringLength(int value)
public Instance.ObservabilityInstanceInfo.Builder setMaxQueryStringLength(int value)Output only. Query string length. The default value is 10k.
int32 max_query_string_length = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxQueryStringLength to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setPreserveComments(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setPreserveComments(boolean value)Output only. Preserve comments in query string for an instance.
bool preserve_comments = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe preserveComments to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setQueryPlansPerMinute(int value)
public Instance.ObservabilityInstanceInfo.Builder setQueryPlansPerMinute(int value)Output only. Number of query execution plans captured by Insights per minute for all queries combined.
int32 query_plans_per_minute = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe queryPlansPerMinute to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setRecordApplicationTags(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setRecordApplicationTags(boolean value)Output only. Record application tags for an instance.
bool record_application_tags = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe recordApplicationTags to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setTrackActiveQueries(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setTrackActiveQueries(boolean value)Output only. Track actively running queries on the instance.
bool track_active_queries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe trackActiveQueries to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setTrackActiveQueryPlan(boolean value) (deprecated)
public Instance.ObservabilityInstanceInfo.Builder setTrackActiveQueryPlan(boolean value)Deprecated. google.cloud.alloydb.v1alpha.Instance.ObservabilityInstanceInfo.track_active_query_plan is deprecated. See google/cloud/alloydb/v1alpha/resources.proto;l=976
Output only. Indicates whether to track active query plans for an instance. Deprecated: Use track_active_queries instead.
bool track_active_query_plan = 13 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe trackActiveQueryPlan to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setTrackClientAddress(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setTrackClientAddress(boolean value)Output only. Track client address for an instance.
bool track_client_address = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe trackClientAddress to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setTrackWaitEventTypes(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setTrackWaitEventTypes(boolean value)Output only. Track wait event types during query execution for an instance.
bool track_wait_event_types = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe trackWaitEventTypes to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |
setTrackWaitEvents(boolean value)
public Instance.ObservabilityInstanceInfo.Builder setTrackWaitEvents(boolean value)Output only. Track wait events during query execution for an instance.
bool track_wait_events = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe trackWaitEvents to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.ObservabilityInstanceInfo.Builder |
This builder for chaining. |