Class Instance.QueryInsightsInstanceConfig (0.35.0)

public static final class Instance.QueryInsightsInstanceConfig extends GeneratedMessageV3 implements Instance.QueryInsightsInstanceConfigOrBuilder

QueryInsights Instance specific configuration.

Protobuf type google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Instance.QueryInsightsInstanceConfig

Static Fields

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

RECORD_APPLICATION_TAGS_FIELD_NUMBER

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 Instance.QueryInsightsInstanceConfig getDefaultInstance()
Returns
Type Description
Instance.QueryInsightsInstanceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Instance.QueryInsightsInstanceConfig.Builder newBuilder()
Returns
Type Description
Instance.QueryInsightsInstanceConfig.Builder

newBuilder(Instance.QueryInsightsInstanceConfig prototype)

public static Instance.QueryInsightsInstanceConfig.Builder newBuilder(Instance.QueryInsightsInstanceConfig prototype)
Parameter
Name Description
prototype Instance.QueryInsightsInstanceConfig
Returns
Type Description
Instance.QueryInsightsInstanceConfig.Builder

parseDelimitedFrom(InputStream input)

public static Instance.QueryInsightsInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.QueryInsightsInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.QueryInsightsInstanceConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.QueryInsightsInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.QueryInsightsInstanceConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.QueryInsightsInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.QueryInsightsInstanceConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.QueryInsightsInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.QueryInsightsInstanceConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.QueryInsightsInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.QueryInsightsInstanceConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.QueryInsightsInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.QueryInsightsInstanceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.QueryInsightsInstanceConfig> parser()
Returns
Type Description
Parser<QueryInsightsInstanceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
Returns
Type Description
Instance.QueryInsightsInstanceConfig

getParserForType()

public Parser<Instance.QueryInsightsInstanceConfig> getParserForType()
Returns
Type Description
Parser<QueryInsightsInstanceConfig>
Overrides

getQueryPlansPerMinute()

public int getQueryPlansPerMinute()

Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.

optional uint32 query_plans_per_minute = 5;

Returns
Type Description
int

The queryPlansPerMinute.

getQueryStringLength()

public int getQueryStringLength()

Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.

uint32 query_string_length = 4;

Returns
Type Description
int

The queryStringLength.

getRecordApplicationTags()

public boolean getRecordApplicationTags()

Record application tags for an instance. This flag is turned "on" by default.

optional bool record_application_tags = 2;

Returns
Type Description
boolean

The recordApplicationTags.

getRecordClientAddress()

public boolean getRecordClientAddress()

Record client address for an instance. Client address is PII information. This flag is turned "on" by default.

optional bool record_client_address = 3;

Returns
Type Description
boolean

The recordClientAddress.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasQueryPlansPerMinute()

public boolean hasQueryPlansPerMinute()

Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.

optional uint32 query_plans_per_minute = 5;

Returns
Type Description
boolean

Whether the queryPlansPerMinute field is set.

hasRecordApplicationTags()

public boolean hasRecordApplicationTags()

Record application tags for an instance. This flag is turned "on" by default.

optional bool record_application_tags = 2;

Returns
Type Description
boolean

Whether the recordApplicationTags field is set.

hasRecordClientAddress()

public boolean hasRecordClientAddress()

Record client address for an instance. Client address is PII information. This flag is turned "on" by default.

optional bool record_client_address = 3;

Returns
Type Description
boolean

Whether the recordClientAddress field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Instance.QueryInsightsInstanceConfig.Builder newBuilderForType()
Returns
Type Description
Instance.QueryInsightsInstanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.QueryInsightsInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.QueryInsightsInstanceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.QueryInsightsInstanceConfig.Builder toBuilder()
Returns
Type Description
Instance.QueryInsightsInstanceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException