Package ai.chalk.protos.chalk.common.v1
Interface OnlineQueryContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnlineQueryContext,OnlineQueryContext.Builder
public interface OnlineQueryContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOptions(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.Deprecated.chalk.common.v1.OnlineQueryContext.environment is deprecated.com.google.protobuf.ByteStringDeprecated.chalk.common.v1.OnlineQueryContext.environment is 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"];repeated 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"];repeated string tags = 2 [json_name = "tags"];getValueMetricsTagByFeatures(int index) Value 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"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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];- 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];- Returns:
- The bytes for environment.
-
getTagsList
repeated string tags = 2 [json_name = "tags"];- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()repeated string tags = 2 [json_name = "tags"];- Returns:
- The count of tags.
-
getTags
repeated string tags = 2 [json_name = "tags"];- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 2 [json_name = "tags"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getRequiredResolverTagsList
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Returns:
- A list containing the requiredResolverTags.
-
getRequiredResolverTagsCount
int getRequiredResolverTagsCount()repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Returns:
- The count of requiredResolverTags.
-
getRequiredResolverTags
repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Parameters:
index- The index of the element to return.- Returns:
- The requiredResolverTags at the given index.
-
getRequiredResolverTagsBytes
com.google.protobuf.ByteString getRequiredResolverTagsBytes(int index) repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredResolverTags at the given index.
-
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];- 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];- 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];- Returns:
- The bytes for deploymentId.
-
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];- 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];- 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];- Returns:
- The bytes for branchId.
-
hasCorrelationId
boolean hasCorrelationId()optional string correlation_id = 6 [json_name = "correlationId"];- Returns:
- Whether the correlationId field is set.
-
getCorrelationId
String getCorrelationId()optional string correlation_id = 6 [json_name = "correlationId"];- Returns:
- The correlationId.
-
getCorrelationIdBytes
com.google.protobuf.ByteString getCorrelationIdBytes()optional string correlation_id = 6 [json_name = "correlationId"];- Returns:
- The bytes for correlationId.
-
hasQueryName
boolean hasQueryName()optional string query_name = 7 [json_name = "queryName"];- Returns:
- Whether the queryName field is set.
-
getQueryName
String getQueryName()optional string query_name = 7 [json_name = "queryName"];- Returns:
- The queryName.
-
getQueryNameBytes
com.google.protobuf.ByteString getQueryNameBytes()optional string query_name = 7 [json_name = "queryName"];- Returns:
- The bytes for queryName.
-
hasQueryNameVersion
boolean hasQueryNameVersion()optional string query_name_version = 8 [json_name = "queryNameVersion"];- Returns:
- Whether the queryNameVersion field is set.
-
getQueryNameVersion
String getQueryNameVersion()optional string query_name_version = 8 [json_name = "queryNameVersion"];- Returns:
- The queryNameVersion.
-
getQueryNameVersionBytes
com.google.protobuf.ByteString getQueryNameVersionBytes()optional string query_name_version = 8 [json_name = "queryNameVersion"];- Returns:
- The bytes for queryNameVersion.
-
getOptionsCount
int getOptionsCount()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"]; -
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"]; -
getOptions
Deprecated.UsegetOptionsMap()instead. -
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"]; -
getOptionsOrDefault
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"]; -
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"]; -
getValueMetricsTagByFeaturesList
List<OutputExpr> 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"]; -
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"]; -
getValueMetricsTagByFeaturesCount
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"]; -
getValueMetricsTagByFeaturesOrBuilderList
List<? extends OutputExprOrBuilder> 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"]; -
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"];
-