Package ai.chalk.protos.chalk.common.v1
Class OnlineQueryContext.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
ai.chalk.protos.chalk.common.v1.OnlineQueryContext.Builder
- All Implemented Interfaces:
OnlineQueryContextOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OnlineQueryContext
public static final class OnlineQueryContext.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
implements OnlineQueryContextOrBuilder
Roughly speaking data in here should affect the query hash key / the query planProtobuf type
chalk.common.v1.OnlineQueryContext-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequiredResolverTags(Iterable<String> values) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];addAllTags(Iterable<String> values) repeated string tags = 2 [json_name = "tags"];addAllValueMetricsTagByFeatures(Iterable<? extends OutputExpr> values) Value metrics will be tagged by the output of the given featuresaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequiredResolverTags(String value) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];addRequiredResolverTagsBytes(com.google.protobuf.ByteString value) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];repeated string tags = 2 [json_name = "tags"];addTagsBytes(com.google.protobuf.ByteString value) repeated string tags = 2 [json_name = "tags"];addValueMetricsTagByFeatures(int index, OutputExpr value) Value metrics will be tagged by the output of the given featuresaddValueMetricsTagByFeatures(int index, OutputExpr.Builder builderForValue) Value metrics will be tagged by the output of the given featuresValue metrics will be tagged by the output of the given featuresaddValueMetricsTagByFeatures(OutputExpr.Builder builderForValue) Value metrics will be tagged by the output of the given featuresValue metrics will be tagged by the output of the given featuresaddValueMetricsTagByFeaturesBuilder(int index) Value metrics will be tagged by the output of the given featuresbuild()clear()Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated.optional string correlation_id = 6 [json_name = "correlationId"];Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string query_name = 7 [json_name = "queryName"];optional string query_name_version = 8 [json_name = "queryNameVersion"];repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];repeated string tags = 2 [json_name = "tags"];Value metrics will be tagged by the output of the given featuresclone()booleancontainsOptions(String key) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated.com.google.protobuf.ByteStringDeprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated.optional string correlation_id = 6 [json_name = "correlationId"];com.google.protobuf.ByteStringoptional string correlation_id = 6 [json_name = "correlationId"];Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.com.google.protobuf.ByteStringDeprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated.com.google.protobuf.ByteStringDeprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated.Deprecated.Deprecated.intArbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.com.google.protobuf.ValuegetOptionsOrDefault(String key, com.google.protobuf.Value defaultValue) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.com.google.protobuf.ValuegetOptionsOrThrow(String key) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.optional string query_name = 7 [json_name = "queryName"];com.google.protobuf.ByteStringoptional string query_name = 7 [json_name = "queryName"];optional string query_name_version = 8 [json_name = "queryNameVersion"];com.google.protobuf.ByteStringoptional string query_name_version = 8 [json_name = "queryNameVersion"];getRequiredResolverTags(int index) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];com.google.protobuf.ByteStringgetRequiredResolverTagsBytes(int index) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];intrepeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];com.google.protobuf.ProtocolStringListrepeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];getTags(int index) repeated string tags = 2 [json_name = "tags"];com.google.protobuf.ByteStringgetTagsBytes(int index) repeated string tags = 2 [json_name = "tags"];intrepeated string tags = 2 [json_name = "tags"];com.google.protobuf.ProtocolStringListrepeated string tags = 2 [json_name = "tags"];getValueMetricsTagByFeatures(int index) Value metrics will be tagged by the output of the given featuresgetValueMetricsTagByFeaturesBuilder(int index) Value metrics will be tagged by the output of the given featuresValue metrics will be tagged by the output of the given featuresintValue metrics will be tagged by the output of the given featuresValue metrics will be tagged by the output of the given featuresgetValueMetricsTagByFeaturesOrBuilder(int index) Value metrics will be tagged by the output of the given featuresList<? extends OutputExprOrBuilder>Value metrics will be tagged by the output of the given featuresbooleanDeprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated.booleanoptional string correlation_id = 6 [json_name = "correlationId"];booleanDeprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.booleanoptional string query_name = 7 [json_name = "queryName"];booleanoptional string query_name_version = 8 [json_name = "queryNameVersion"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(OnlineQueryContext other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllOptions(Map<String, com.google.protobuf.Value> values) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.putOptions(String key, com.google.protobuf.Value value) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.com.google.protobuf.Value.BuilderArbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.removeOptions(String key) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.removeValueMetricsTagByFeatures(int index) Value metrics will be tagged by the output of the given featuressetBranchId(String value) Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated.setBranchIdBytes(com.google.protobuf.ByteString value) Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated.setCorrelationId(String value) optional string correlation_id = 6 [json_name = "correlationId"];setCorrelationIdBytes(com.google.protobuf.ByteString value) optional string correlation_id = 6 [json_name = "correlationId"];setDeploymentId(String value) Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.setDeploymentIdBytes(com.google.protobuf.ByteString value) Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.setEnvironment(String value) Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated.setEnvironmentBytes(com.google.protobuf.ByteString value) Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated.setQueryName(String value) optional string query_name = 7 [json_name = "queryName"];setQueryNameBytes(com.google.protobuf.ByteString value) optional string query_name = 7 [json_name = "queryName"];setQueryNameVersion(String value) optional string query_name_version = 8 [json_name = "queryNameVersion"];setQueryNameVersionBytes(com.google.protobuf.ByteString value) optional string query_name_version = 8 [json_name = "queryNameVersion"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequiredResolverTags(int index, String value) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];repeated string tags = 2 [json_name = "tags"];setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValueMetricsTagByFeatures(int index, OutputExpr value) Value metrics will be tagged by the output of the given featuressetValueMetricsTagByFeatures(int index, OutputExpr.Builder builderForValue) Value metrics will be tagged by the output of the given featuresMethods 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.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<OnlineQueryContext.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<OnlineQueryContext.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<OnlineQueryContext.Builder>
-
setField
public OnlineQueryContext.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<OnlineQueryContext.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-
setRepeatedField
public OnlineQueryContext.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<OnlineQueryContext.Builder>
-
addRepeatedField
public OnlineQueryContext.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<OnlineQueryContext.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OnlineQueryContext.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-
mergeFrom
public OnlineQueryContext.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<OnlineQueryContext.Builder>- Throws:
IOException
-
getEnvironment
Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57environment id is set in the header. This field is not set anymore
string environment = 1 [json_name = "environment", deprecated = true];- Specified by:
getEnvironmentin interfaceOnlineQueryContextOrBuilder- Returns:
- The environment.
-
getEnvironmentBytes
Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57environment id is set in the header. This field is not set anymore
string environment = 1 [json_name = "environment", deprecated = true];- Specified by:
getEnvironmentBytesin interfaceOnlineQueryContextOrBuilder- Returns:
- The bytes for environment.
-
setEnvironment
Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57environment id is set in the header. This field is not set anymore
string environment = 1 [json_name = "environment", deprecated = true];- Parameters:
value- The environment to set.- Returns:
- This builder for chaining.
-
clearEnvironment
Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57environment id is set in the header. This field is not set anymore
string environment = 1 [json_name = "environment", deprecated = true];- Returns:
- This builder for chaining.
-
setEnvironmentBytes
@Deprecated public OnlineQueryContext.Builder setEnvironmentBytes(com.google.protobuf.ByteString value) Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57environment id is set in the header. This field is not set anymore
string environment = 1 [json_name = "environment", deprecated = true];- Parameters:
value- The bytes for environment to set.- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()repeated string tags = 2 [json_name = "tags"];- Specified by:
getTagsListin interfaceOnlineQueryContextOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated string tags = 2 [json_name = "tags"];- Specified by:
getTagsCountin interfaceOnlineQueryContextOrBuilder- Returns:
- The count of tags.
-
getTags
repeated string tags = 2 [json_name = "tags"];- Specified by:
getTagsin interfaceOnlineQueryContextOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 2 [json_name = "tags"];- Specified by:
getTagsBytesin interfaceOnlineQueryContextOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
repeated string tags = 2 [json_name = "tags"];- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
repeated string tags = 2 [json_name = "tags"];- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
repeated string tags = 2 [json_name = "tags"];- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
repeated string tags = 2 [json_name = "tags"];- Returns:
- This builder for chaining.
-
addTagsBytes
repeated string tags = 2 [json_name = "tags"];- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getRequiredResolverTagsList
public com.google.protobuf.ProtocolStringList getRequiredResolverTagsList()repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Specified by:
getRequiredResolverTagsListin interfaceOnlineQueryContextOrBuilder- Returns:
- A list containing the requiredResolverTags.
-
getRequiredResolverTagsCount
public int getRequiredResolverTagsCount()repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Specified by:
getRequiredResolverTagsCountin interfaceOnlineQueryContextOrBuilder- Returns:
- The count of requiredResolverTags.
-
getRequiredResolverTags
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Specified by:
getRequiredResolverTagsin interfaceOnlineQueryContextOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requiredResolverTags at the given index.
-
getRequiredResolverTagsBytes
public com.google.protobuf.ByteString getRequiredResolverTagsBytes(int index) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Specified by:
getRequiredResolverTagsBytesin interfaceOnlineQueryContextOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredResolverTags at the given index.
-
setRequiredResolverTags
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Parameters:
index- The index to set the value at.value- The requiredResolverTags to set.- Returns:
- This builder for chaining.
-
addRequiredResolverTags
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Parameters:
value- The requiredResolverTags to add.- Returns:
- This builder for chaining.
-
addAllRequiredResolverTags
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Parameters:
values- The requiredResolverTags to add.- Returns:
- This builder for chaining.
-
clearRequiredResolverTags
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Returns:
- This builder for chaining.
-
addRequiredResolverTagsBytes
public OnlineQueryContext.Builder addRequiredResolverTagsBytes(com.google.protobuf.ByteString value) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Parameters:
value- The bytes of the requiredResolverTags to add.- Returns:
- This builder for chaining.
-
hasDeploymentId
Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60deployment id is set in the header. This field is not set anymore
optional string deployment_id = 4 [json_name = "deploymentId", deprecated = true];- Specified by:
hasDeploymentIdin interfaceOnlineQueryContextOrBuilder- Returns:
- Whether the deploymentId field is set.
-
getDeploymentId
Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60deployment id is set in the header. This field is not set anymore
optional string deployment_id = 4 [json_name = "deploymentId", deprecated = true];- Specified by:
getDeploymentIdin interfaceOnlineQueryContextOrBuilder- Returns:
- The deploymentId.
-
getDeploymentIdBytes
Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60deployment id is set in the header. This field is not set anymore
optional string deployment_id = 4 [json_name = "deploymentId", deprecated = true];- Specified by:
getDeploymentIdBytesin interfaceOnlineQueryContextOrBuilder- Returns:
- The bytes for deploymentId.
-
setDeploymentId
Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60deployment id is set in the header. This field is not set anymore
optional string deployment_id = 4 [json_name = "deploymentId", deprecated = true];- Parameters:
value- The deploymentId to set.- Returns:
- This builder for chaining.
-
clearDeploymentId
Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60deployment id is set in the header. This field is not set anymore
optional string deployment_id = 4 [json_name = "deploymentId", deprecated = true];- Returns:
- This builder for chaining.
-
setDeploymentIdBytes
@Deprecated public OnlineQueryContext.Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) Deprecated.chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60deployment id is set in the header. This field is not set anymore
optional string deployment_id = 4 [json_name = "deploymentId", deprecated = true];- Parameters:
value- The bytes for deploymentId to set.- Returns:
- This builder for chaining.
-
hasBranchId
Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61branch_id is set in the header. This field is not set anymore
optional string branch_id = 5 [json_name = "branchId", deprecated = true];- Specified by:
hasBranchIdin interfaceOnlineQueryContextOrBuilder- Returns:
- Whether the branchId field is set.
-
getBranchId
Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61branch_id is set in the header. This field is not set anymore
optional string branch_id = 5 [json_name = "branchId", deprecated = true];- Specified by:
getBranchIdin interfaceOnlineQueryContextOrBuilder- Returns:
- The branchId.
-
getBranchIdBytes
Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61branch_id is set in the header. This field is not set anymore
optional string branch_id = 5 [json_name = "branchId", deprecated = true];- Specified by:
getBranchIdBytesin interfaceOnlineQueryContextOrBuilder- Returns:
- The bytes for branchId.
-
setBranchId
Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61branch_id is set in the header. This field is not set anymore
optional string branch_id = 5 [json_name = "branchId", deprecated = true];- Parameters:
value- The branchId to set.- Returns:
- This builder for chaining.
-
clearBranchId
Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61branch_id is set in the header. This field is not set anymore
optional string branch_id = 5 [json_name = "branchId", deprecated = true];- Returns:
- This builder for chaining.
-
setBranchIdBytes
@Deprecated public OnlineQueryContext.Builder setBranchIdBytes(com.google.protobuf.ByteString value) Deprecated.chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61branch_id is set in the header. This field is not set anymore
optional string branch_id = 5 [json_name = "branchId", deprecated = true];- Parameters:
value- The bytes for branchId to set.- Returns:
- This builder for chaining.
-
hasCorrelationId
public boolean hasCorrelationId()optional string correlation_id = 6 [json_name = "correlationId"];- Specified by:
hasCorrelationIdin interfaceOnlineQueryContextOrBuilder- Returns:
- Whether the correlationId field is set.
-
getCorrelationId
optional string correlation_id = 6 [json_name = "correlationId"];- Specified by:
getCorrelationIdin interfaceOnlineQueryContextOrBuilder- Returns:
- The correlationId.
-
getCorrelationIdBytes
public com.google.protobuf.ByteString getCorrelationIdBytes()optional string correlation_id = 6 [json_name = "correlationId"];- Specified by:
getCorrelationIdBytesin interfaceOnlineQueryContextOrBuilder- Returns:
- The bytes for correlationId.
-
setCorrelationId
optional string correlation_id = 6 [json_name = "correlationId"];- Parameters:
value- The correlationId to set.- Returns:
- This builder for chaining.
-
clearCorrelationId
optional string correlation_id = 6 [json_name = "correlationId"];- Returns:
- This builder for chaining.
-
setCorrelationIdBytes
optional string correlation_id = 6 [json_name = "correlationId"];- Parameters:
value- The bytes for correlationId to set.- Returns:
- This builder for chaining.
-
hasQueryName
public boolean hasQueryName()optional string query_name = 7 [json_name = "queryName"];- Specified by:
hasQueryNamein interfaceOnlineQueryContextOrBuilder- Returns:
- Whether the queryName field is set.
-
getQueryName
optional string query_name = 7 [json_name = "queryName"];- Specified by:
getQueryNamein interfaceOnlineQueryContextOrBuilder- Returns:
- The queryName.
-
getQueryNameBytes
public com.google.protobuf.ByteString getQueryNameBytes()optional string query_name = 7 [json_name = "queryName"];- Specified by:
getQueryNameBytesin interfaceOnlineQueryContextOrBuilder- Returns:
- The bytes for queryName.
-
setQueryName
optional string query_name = 7 [json_name = "queryName"];- Parameters:
value- The queryName to set.- Returns:
- This builder for chaining.
-
clearQueryName
optional string query_name = 7 [json_name = "queryName"];- Returns:
- This builder for chaining.
-
setQueryNameBytes
optional string query_name = 7 [json_name = "queryName"];- Parameters:
value- The bytes for queryName to set.- Returns:
- This builder for chaining.
-
hasQueryNameVersion
public boolean hasQueryNameVersion()optional string query_name_version = 8 [json_name = "queryNameVersion"];- Specified by:
hasQueryNameVersionin interfaceOnlineQueryContextOrBuilder- Returns:
- Whether the queryNameVersion field is set.
-
getQueryNameVersion
optional string query_name_version = 8 [json_name = "queryNameVersion"];- Specified by:
getQueryNameVersionin interfaceOnlineQueryContextOrBuilder- Returns:
- The queryNameVersion.
-
getQueryNameVersionBytes
public com.google.protobuf.ByteString getQueryNameVersionBytes()optional string query_name_version = 8 [json_name = "queryNameVersion"];- Specified by:
getQueryNameVersionBytesin interfaceOnlineQueryContextOrBuilder- Returns:
- The bytes for queryNameVersion.
-
setQueryNameVersion
optional string query_name_version = 8 [json_name = "queryNameVersion"];- Parameters:
value- The queryNameVersion to set.- Returns:
- This builder for chaining.
-
clearQueryNameVersion
optional string query_name_version = 8 [json_name = "queryNameVersion"];- Returns:
- This builder for chaining.
-
setQueryNameVersionBytes
optional string query_name_version = 8 [json_name = "queryNameVersion"];- Parameters:
value- The bytes for queryNameVersion to set.- Returns:
- This builder for chaining.
-
getOptionsCount
public int getOptionsCount()Description copied from interface:OnlineQueryContextOrBuilderArbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"];- Specified by:
getOptionsCountin interfaceOnlineQueryContextOrBuilder
-
containsOptions
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"];- Specified by:
containsOptionsin interfaceOnlineQueryContextOrBuilder
-
getOptions
Deprecated.UsegetOptionsMap()instead.- Specified by:
getOptionsin interfaceOnlineQueryContextOrBuilder
-
getOptionsMap
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"];- Specified by:
getOptionsMapin interfaceOnlineQueryContextOrBuilder
-
getOptionsOrDefault
public com.google.protobuf.Value getOptionsOrDefault(String key, com.google.protobuf.Value defaultValue) Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"];- Specified by:
getOptionsOrDefaultin interfaceOnlineQueryContextOrBuilder
-
getOptionsOrThrow
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"];- Specified by:
getOptionsOrThrowin interfaceOnlineQueryContextOrBuilder
-
clearOptions
-
removeOptions
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"]; -
getMutableOptions
Deprecated.Use alternate mutation accessors instead. -
putOptions
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"]; -
putAllOptions
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"]; -
putOptionsBuilderIfAbsent
Arbitrary flags for the query such as store_plan_stages If a flag because consistently used it should be moved into an actual field.
map<string, .google.protobuf.Value> options = 9 [json_name = "options"]; -
getValueMetricsTagByFeaturesList
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"];- Specified by:
getValueMetricsTagByFeaturesListin interfaceOnlineQueryContextOrBuilder
-
getValueMetricsTagByFeaturesCount
public int getValueMetricsTagByFeaturesCount()Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"];- Specified by:
getValueMetricsTagByFeaturesCountin interfaceOnlineQueryContextOrBuilder
-
getValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"];- Specified by:
getValueMetricsTagByFeaturesin interfaceOnlineQueryContextOrBuilder
-
setValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
setValueMetricsTagByFeatures
public OnlineQueryContext.Builder setValueMetricsTagByFeatures(int index, OutputExpr.Builder builderForValue) Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
addValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
addValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
addValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
addValueMetricsTagByFeatures
public OnlineQueryContext.Builder addValueMetricsTagByFeatures(int index, OutputExpr.Builder builderForValue) Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
addAllValueMetricsTagByFeatures
public OnlineQueryContext.Builder addAllValueMetricsTagByFeatures(Iterable<? extends OutputExpr> values) Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
clearValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
removeValueMetricsTagByFeatures
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
getValueMetricsTagByFeaturesBuilder
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
getValueMetricsTagByFeaturesOrBuilder
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"];- Specified by:
getValueMetricsTagByFeaturesOrBuilderin interfaceOnlineQueryContextOrBuilder
-
getValueMetricsTagByFeaturesOrBuilderList
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"];- Specified by:
getValueMetricsTagByFeaturesOrBuilderListin interfaceOnlineQueryContextOrBuilder
-
addValueMetricsTagByFeaturesBuilder
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
addValueMetricsTagByFeaturesBuilder
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
getValueMetricsTagByFeaturesBuilderList
Value metrics will be tagged by the output of the given features
repeated .chalk.common.v1.OutputExpr value_metrics_tag_by_features = 10 [json_name = "valueMetricsTagByFeatures"]; -
setUnknownFields
public final OnlineQueryContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-
mergeUnknownFields
public final OnlineQueryContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
-