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 Type
    Method
    Description
    boolean
    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.ByteString
    Deprecated.
    chalk.common.v1.OnlineQueryContext.branch_id is deprecated.
    optional string correlation_id = 6 [json_name = "correlationId"];
    com.google.protobuf.ByteString
    optional string correlation_id = 6 [json_name = "correlationId"];
    Deprecated.
    chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.
    Deprecated.
    chalk.common.v1.OnlineQueryContext.environment is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    chalk.common.v1.OnlineQueryContext.environment is deprecated.
    Map<String,com.google.protobuf.Value>
    Deprecated.
    int
    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,com.google.protobuf.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
    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.
    com.google.protobuf.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.
    optional string query_name = 7 [json_name = "queryName"];
    com.google.protobuf.ByteString
    optional string query_name = 7 [json_name = "queryName"];
    optional string query_name_version = 8 [json_name = "queryNameVersion"];
    com.google.protobuf.ByteString
    optional string query_name_version = 8 [json_name = "queryNameVersion"];
    repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];
    com.google.protobuf.ByteString
    repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];
    int
    repeated 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.ByteString
    getTagsBytes(int index)
    repeated string tags = 2 [json_name = "tags"];
    int
    repeated string tags = 2 [json_name = "tags"];
    repeated string tags = 2 [json_name = "tags"];
    Value metrics will be tagged by the output of the given features
    int
    Value metrics will be tagged by the output of the given features
    Value metrics will be tagged by the output of the given features
    Value metrics will be tagged by the output of the given features
    Value metrics will be tagged by the output of the given features
    boolean
    Deprecated.
    chalk.common.v1.OnlineQueryContext.branch_id is deprecated.
    boolean
    optional string correlation_id = 6 [json_name = "correlationId"];
    boolean
    Deprecated.
    chalk.common.v1.OnlineQueryContext.deployment_id is deprecated.
    boolean
    optional string query_name = 7 [json_name = "queryName"];
    boolean
    optional string query_name_version = 8 [json_name = "queryNameVersion"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEnvironment

      @Deprecated String getEnvironment()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57
       environment 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 com.google.protobuf.ByteString getEnvironmentBytes()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.environment is deprecated. See chalk/common/v1/online_query.proto;l=57
       environment 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

      List<String> 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

      String getTags(int index)
      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

      List<String> 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

      String getRequiredResolverTags(int index)
      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 boolean hasDeploymentId()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60
       deployment 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 String getDeploymentId()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60
       deployment 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 com.google.protobuf.ByteString getDeploymentIdBytes()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.deployment_id is deprecated. See chalk/common/v1/online_query.proto;l=60
       deployment 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 boolean hasBranchId()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61
       branch_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 String getBranchId()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61
       branch_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 com.google.protobuf.ByteString getBranchIdBytes()
      Deprecated.
      chalk.common.v1.OnlineQueryContext.branch_id is deprecated. See chalk/common/v1/online_query.proto;l=61
       branch_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

      boolean containsOptions(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.
       
      map<string, .google.protobuf.Value> options = 9 [json_name = "options"];
    • getOptions

      @Deprecated Map<String,com.google.protobuf.Value> getOptions()
      Deprecated.
      Use getOptionsMap() instead.
    • getOptionsMap

      Map<String,com.google.protobuf.Value> 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

      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"];
    • getOptionsOrThrow

      com.google.protobuf.Value getOptionsOrThrow(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.
       
      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

      OutputExpr getValueMetricsTagByFeatures(int index)
       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

      OutputExprOrBuilder getValueMetricsTagByFeaturesOrBuilder(int index)
       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"];