public final class InsightsConfig extends GeneratedMessage implements InsightsConfigOrBuilder
Insights configuration. This specifies when Cloud SQL Insights feature is
enabled and optional configuration.
Protobuf type google.cloud.sql.v1beta4.InsightsConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ENHANCED_QUERY_INSIGHTS_ENABLED_FIELD_NUMBER
public static final int ENHANCED_QUERY_INSIGHTS_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
QUERY_INSIGHTS_ENABLED_FIELD_NUMBER
public static final int QUERY_INSIGHTS_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
QUERY_STRING_LENGTH_FIELD_NUMBER
public static final int QUERY_STRING_LENGTH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RECORD_CLIENT_ADDRESS_FIELD_NUMBER
public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static InsightsConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InsightsConfig.Builder newBuilder()
newBuilder(InsightsConfig prototype)
public static InsightsConfig.Builder newBuilder(InsightsConfig prototype)
public static InsightsConfig parseDelimitedFrom(InputStream input)
public static InsightsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InsightsConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InsightsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InsightsConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InsightsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InsightsConfig parseFrom(CodedInputStream input)
public static InsightsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InsightsConfig parseFrom(InputStream input)
public static InsightsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InsightsConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InsightsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InsightsConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public InsightsConfig getDefaultInstanceForType()
getEnhancedQueryInsightsEnabled()
public BoolValue getEnhancedQueryInsightsEnabled()
Optional. Whether enhanced query insights feature is enabled.
.google.protobuf.BoolValue enhanced_query_insights_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
BoolValue |
The enhancedQueryInsightsEnabled.
|
getEnhancedQueryInsightsEnabledOrBuilder()
public BoolValueOrBuilder getEnhancedQueryInsightsEnabledOrBuilder()
Optional. Whether enhanced query insights feature is enabled.
.google.protobuf.BoolValue enhanced_query_insights_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<InsightsConfig> getParserForType()
Overrides
getQueryInsightsEnabled()
public boolean getQueryInsightsEnabled()
Whether Query Insights feature is enabled.
bool query_insights_enabled = 1;
| Returns |
| Type |
Description |
boolean |
The queryInsightsEnabled.
|
getQueryPlansPerMinute()
public Int32Value getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined. Default is 5.
.google.protobuf.Int32Value query_plans_per_minute = 5;
| Returns |
| Type |
Description |
Int32Value |
The queryPlansPerMinute.
|
getQueryPlansPerMinuteOrBuilder()
public Int32ValueOrBuilder getQueryPlansPerMinuteOrBuilder()
Number of query execution plans captured by Insights per minute
for all queries combined. Default is 5.
.google.protobuf.Int32Value query_plans_per_minute = 5;
getQueryStringLength()
public Int32Value getQueryStringLength()
Maximum query length stored in bytes. Default value: 1024 bytes.
Range: 256-4500 bytes. Query lengths greater than this field value will be
truncated to this value. When unset, query length will be the default
value. Changing query length will restart the database.
.google.protobuf.Int32Value query_string_length = 4;
| Returns |
| Type |
Description |
Int32Value |
The queryStringLength.
|
getQueryStringLengthOrBuilder()
public Int32ValueOrBuilder getQueryStringLengthOrBuilder()
Maximum query length stored in bytes. Default value: 1024 bytes.
Range: 256-4500 bytes. Query lengths greater than this field value will be
truncated to this value. When unset, query length will be the default
value. Changing query length will restart the database.
.google.protobuf.Int32Value query_string_length = 4;
public boolean getRecordApplicationTags()
Whether Query Insights will record application tags from query when
enabled.
bool record_application_tags = 3;
| Returns |
| Type |
Description |
boolean |
The recordApplicationTags.
|
getRecordClientAddress()
public boolean getRecordClientAddress()
Whether Query Insights will record client address when enabled.
bool record_client_address = 2;
| Returns |
| Type |
Description |
boolean |
The recordClientAddress.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasEnhancedQueryInsightsEnabled()
public boolean hasEnhancedQueryInsightsEnabled()
Optional. Whether enhanced query insights feature is enabled.
.google.protobuf.BoolValue enhanced_query_insights_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the enhancedQueryInsightsEnabled field is set.
|
hasQueryPlansPerMinute()
public boolean hasQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined. Default is 5.
.google.protobuf.Int32Value query_plans_per_minute = 5;
| Returns |
| Type |
Description |
boolean |
Whether the queryPlansPerMinute field is set.
|
hasQueryStringLength()
public boolean hasQueryStringLength()
Maximum query length stored in bytes. Default value: 1024 bytes.
Range: 256-4500 bytes. Query lengths greater than this field value will be
truncated to this value. When unset, query length will be the default
value. Changing query length will restart the database.
.google.protobuf.Int32Value query_string_length = 4;
| Returns |
| Type |
Description |
boolean |
Whether the queryStringLength field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InsightsConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InsightsConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public InsightsConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides