public static final class Instance.QueryInsightsInstanceConfig extends GeneratedMessageV3 implements Instance.QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.
Protobuf type google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig
Static Fields
QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
Field Value
QUERY_STRING_LENGTH_FIELD_NUMBER
public static final int QUERY_STRING_LENGTH_FIELD_NUMBER
Field Value
public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER
Field Value
RECORD_CLIENT_ADDRESS_FIELD_NUMBER
public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Instance.QueryInsightsInstanceConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Instance.QueryInsightsInstanceConfig.Builder newBuilder()
Returns
newBuilder(Instance.QueryInsightsInstanceConfig prototype)
public static Instance.QueryInsightsInstanceConfig.Builder newBuilder(Instance.QueryInsightsInstanceConfig prototype)
Parameter
Returns
public static Instance.QueryInsightsInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.QueryInsightsInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Instance.QueryInsightsInstanceConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.QueryInsightsInstanceConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Instance.QueryInsightsInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.QueryInsightsInstanceConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.QueryInsightsInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Instance.QueryInsightsInstanceConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Instance.QueryInsightsInstanceConfig> getParserForType()
Returns
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.
|
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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.
|
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Instance.QueryInsightsInstanceConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.QueryInsightsInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Instance.QueryInsightsInstanceConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions