public static final class Instance.QueryInsightsInstanceConfig.Builder extends GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder> implements Instance.QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.
Protobuf type google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.QueryInsightsInstanceConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.QueryInsightsInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
build()
public Instance.QueryInsightsInstanceConfig build()
Type | Description |
Instance.QueryInsightsInstanceConfig |
buildPartial()
public Instance.QueryInsightsInstanceConfig buildPartial()
Type | Description |
Instance.QueryInsightsInstanceConfig |
clear()
public Instance.QueryInsightsInstanceConfig.Builder clear()
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Instance.QueryInsightsInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.QueryInsightsInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
clearQueryPlansPerMinute()
public Instance.QueryInsightsInstanceConfig.Builder clearQueryPlansPerMinute()
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;
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
clearQueryStringLength()
public Instance.QueryInsightsInstanceConfig.Builder clearQueryStringLength()
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
uint32 query_string_length = 4;
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
clearRecordApplicationTags()
public Instance.QueryInsightsInstanceConfig.Builder clearRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
clearRecordClientAddress()
public Instance.QueryInsightsInstanceConfig.Builder clearRecordClientAddress()
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
optional bool record_client_address = 3;
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
clone()
public Instance.QueryInsightsInstanceConfig.Builder clone()
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
getDefaultInstanceForType()
public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
Type | Description |
Instance.QueryInsightsInstanceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
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;
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;
Type | Description |
boolean |
The recordClientAddress. |
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;
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;
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;
Type | Description |
boolean |
Whether the recordClientAddress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Instance.QueryInsightsInstanceConfig other)
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(Instance.QueryInsightsInstanceConfig other)
Name | Description |
other |
Instance.QueryInsightsInstanceConfig |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.QueryInsightsInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.QueryInsightsInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
setQueryPlansPerMinute(int value)
public Instance.QueryInsightsInstanceConfig.Builder setQueryPlansPerMinute(int value)
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;
Name | Description |
value |
int The queryPlansPerMinute to set. |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
setQueryStringLength(int value)
public Instance.QueryInsightsInstanceConfig.Builder setQueryStringLength(int value)
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
uint32 query_string_length = 4;
Name | Description |
value |
int The queryStringLength to set. |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
setRecordApplicationTags(boolean value)
public Instance.QueryInsightsInstanceConfig.Builder setRecordApplicationTags(boolean value)
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;
Name | Description |
value |
boolean The recordApplicationTags to set. |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
setRecordClientAddress(boolean value)
public Instance.QueryInsightsInstanceConfig.Builder setRecordClientAddress(boolean value)
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
optional bool record_client_address = 3;
Name | Description |
value |
boolean The recordClientAddress to set. |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.QueryInsightsInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.QueryInsightsInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |