- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Instance.QueryInsightsInstanceConfig.Builder extends GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder> implements Instance.QueryInsightsInstanceConfigOrBuilderQueryInsights 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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.QueryInsightsInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
build()
public Instance.QueryInsightsInstanceConfig build()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig |
|
buildPartial()
public Instance.QueryInsightsInstanceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig |
|
clear()
public Instance.QueryInsightsInstanceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Instance.QueryInsightsInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.QueryInsightsInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
This builder for chaining. |
clone()
public Instance.QueryInsightsInstanceConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
getDefaultInstanceForType()
public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| 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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Instance.QueryInsightsInstanceConfig other)
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(Instance.QueryInsightsInstanceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance.QueryInsightsInstanceConfig |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.QueryInsightsInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.QueryInsightsInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe queryPlansPerMinute to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe queryStringLength to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe recordApplicationTags to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe recordClientAddress to set. |
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.QueryInsightsInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
|