Package com.google.cloud.alloydb.v1beta
Class Instance.QueryInsightsInstanceConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
- com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder
-
- All Implemented Interfaces:
Instance.QueryInsightsInstanceConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance.QueryInsightsInstanceConfig
public static final class Instance.QueryInsightsInstanceConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder> implements Instance.QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.
Protobuf typegoogle.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Instance.QueryInsightsInstanceConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.QueryInsightsInstanceConfigbuild()Instance.QueryInsightsInstanceConfigbuildPartial()Instance.QueryInsightsInstanceConfig.Builderclear()Instance.QueryInsightsInstanceConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instance.QueryInsightsInstanceConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instance.QueryInsightsInstanceConfig.BuilderclearQueryPlansPerMinute()Number of query execution plans captured by Insights per minute for all queries combined.Instance.QueryInsightsInstanceConfig.BuilderclearQueryStringLength()Query string length.Instance.QueryInsightsInstanceConfig.BuilderclearRecordApplicationTags()Record application tags for an instance.Instance.QueryInsightsInstanceConfig.BuilderclearRecordClientAddress()Record client address for an instance.Instance.QueryInsightsInstanceConfig.Builderclone()Instance.QueryInsightsInstanceConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetQueryPlansPerMinute()Number of query execution plans captured by Insights per minute for all queries combined.intgetQueryStringLength()Query string length.booleangetRecordApplicationTags()Record application tags for an instance.booleangetRecordClientAddress()Record client address for an instance.booleanhasQueryPlansPerMinute()Number of query execution plans captured by Insights per minute for all queries combined.booleanhasRecordApplicationTags()Record application tags for an instance.booleanhasRecordClientAddress()Record client address for an instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Instance.QueryInsightsInstanceConfig.BuildermergeFrom(Instance.QueryInsightsInstanceConfig other)Instance.QueryInsightsInstanceConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instance.QueryInsightsInstanceConfig.BuildermergeFrom(com.google.protobuf.Message other)Instance.QueryInsightsInstanceConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.QueryInsightsInstanceConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.QueryInsightsInstanceConfig.BuildersetQueryPlansPerMinute(int value)Number of query execution plans captured by Insights per minute for all queries combined.Instance.QueryInsightsInstanceConfig.BuildersetQueryStringLength(int value)Query string length.Instance.QueryInsightsInstanceConfig.BuildersetRecordApplicationTags(boolean value)Record application tags for an instance.Instance.QueryInsightsInstanceConfig.BuildersetRecordClientAddress(boolean value)Record client address for an instance.Instance.QueryInsightsInstanceConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Instance.QueryInsightsInstanceConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
clear
public Instance.QueryInsightsInstanceConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
getDefaultInstanceForType
public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance.QueryInsightsInstanceConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance.QueryInsightsInstanceConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.QueryInsightsInstanceConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
setField
public Instance.QueryInsightsInstanceConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
clearField
public Instance.QueryInsightsInstanceConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
clearOneof
public Instance.QueryInsightsInstanceConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
setRepeatedField
public Instance.QueryInsightsInstanceConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
addRepeatedField
public Instance.QueryInsightsInstanceConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
mergeFrom
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
mergeFrom
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(Instance.QueryInsightsInstanceConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
mergeFrom
public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.QueryInsightsInstanceConfig.Builder>- Throws:
IOException
-
hasRecordApplicationTags
public boolean hasRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;- Specified by:
hasRecordApplicationTagsin interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- Whether the recordApplicationTags field is set.
-
getRecordApplicationTags
public boolean getRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;- Specified by:
getRecordApplicationTagsin interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- The recordApplicationTags.
-
setRecordApplicationTags
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;- Parameters:
value- The recordApplicationTags to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasRecordClientAddressin interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- Whether the recordClientAddress field is set.
-
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;- Specified by:
getRecordClientAddressin interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- The recordClientAddress.
-
setRecordClientAddress
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;- Parameters:
value- The recordClientAddress to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
getQueryStringLengthin interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- The queryStringLength.
-
setQueryStringLength
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;- Parameters:
value- The queryStringLength to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasQueryPlansPerMinutein interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- Whether the queryPlansPerMinute field is set.
-
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;- Specified by:
getQueryPlansPerMinutein interfaceInstance.QueryInsightsInstanceConfigOrBuilder- Returns:
- The queryPlansPerMinute.
-
setQueryPlansPerMinute
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;- Parameters:
value- The queryPlansPerMinute to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final Instance.QueryInsightsInstanceConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
mergeUnknownFields
public final Instance.QueryInsightsInstanceConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>
-
-