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 plan
 
Protobuf type chalk.common.v1.OnlineQueryContext
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • getDefaultInstanceForType

      public OnlineQueryContext getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OnlineQueryContext build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OnlineQueryContext buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • setField

      public OnlineQueryContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • clearField

      public OnlineQueryContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • clearOneof

      public OnlineQueryContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • setRepeatedField

      public OnlineQueryContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • addRepeatedField

      public OnlineQueryContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • mergeFrom

      public OnlineQueryContext.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnlineQueryContext.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnlineQueryContext.Builder>
      Throws:
      IOException
    • getEnvironment

      @Deprecated public 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];
      Specified by:
      getEnvironment in interface OnlineQueryContextOrBuilder
      Returns:
      The environment.
    • getEnvironmentBytes

      @Deprecated public 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];
      Specified by:
      getEnvironmentBytes in interface OnlineQueryContextOrBuilder
      Returns:
      The bytes for environment.
    • setEnvironment

      @Deprecated public OnlineQueryContext.Builder setEnvironment(String value)
      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];
      Parameters:
      value - The environment to set.
      Returns:
      This builder for chaining.
    • clearEnvironment

      @Deprecated public OnlineQueryContext.Builder clearEnvironment()
      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:
      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=57
       environment 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:
      getTagsList in interface OnlineQueryContextOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
      repeated string tags = 2 [json_name = "tags"];
      Specified by:
      getTagsCount in interface OnlineQueryContextOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      repeated string tags = 2 [json_name = "tags"];
      Specified by:
      getTags in interface OnlineQueryContextOrBuilder
      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:
      getTagsBytes in interface OnlineQueryContextOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public OnlineQueryContext.Builder setTags(int index, String value)
      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

      public OnlineQueryContext.Builder addTags(String value)
      repeated string tags = 2 [json_name = "tags"];
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public OnlineQueryContext.Builder addAllTags(Iterable<String> values)
      repeated string tags = 2 [json_name = "tags"];
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public OnlineQueryContext.Builder clearTags()
      repeated string tags = 2 [json_name = "tags"];
      Returns:
      This builder for chaining.
    • addTagsBytes

      public OnlineQueryContext.Builder addTagsBytes(com.google.protobuf.ByteString value)
      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:
      getRequiredResolverTagsList in interface OnlineQueryContextOrBuilder
      Returns:
      A list containing the requiredResolverTags.
    • getRequiredResolverTagsCount

      public int getRequiredResolverTagsCount()
      repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];
      Specified by:
      getRequiredResolverTagsCount in interface OnlineQueryContextOrBuilder
      Returns:
      The count of requiredResolverTags.
    • getRequiredResolverTags

      public String getRequiredResolverTags(int index)
      repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];
      Specified by:
      getRequiredResolverTags in interface OnlineQueryContextOrBuilder
      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:
      getRequiredResolverTagsBytes in interface OnlineQueryContextOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requiredResolverTags at the given index.
    • setRequiredResolverTags

      public OnlineQueryContext.Builder setRequiredResolverTags(int index, String value)
      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

      public OnlineQueryContext.Builder addRequiredResolverTags(String value)
      repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];
      Parameters:
      value - The requiredResolverTags to add.
      Returns:
      This builder for chaining.
    • addAllRequiredResolverTags

      public OnlineQueryContext.Builder addAllRequiredResolverTags(Iterable<String> values)
      repeated string required_resolver_tags = 3 [json_name = "requiredResolverTags"];
      Parameters:
      values - The requiredResolverTags to add.
      Returns:
      This builder for chaining.
    • clearRequiredResolverTags

      public OnlineQueryContext.Builder 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 public 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];
      Specified by:
      hasDeploymentId in interface OnlineQueryContextOrBuilder
      Returns:
      Whether the deploymentId field is set.
    • getDeploymentId

      @Deprecated public 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];
      Specified by:
      getDeploymentId in interface OnlineQueryContextOrBuilder
      Returns:
      The deploymentId.
    • getDeploymentIdBytes

      @Deprecated public 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];
      Specified by:
      getDeploymentIdBytes in interface OnlineQueryContextOrBuilder
      Returns:
      The bytes for deploymentId.
    • setDeploymentId

      @Deprecated public OnlineQueryContext.Builder setDeploymentId(String value)
      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];
      Parameters:
      value - The deploymentId to set.
      Returns:
      This builder for chaining.
    • clearDeploymentId

      @Deprecated public OnlineQueryContext.Builder clearDeploymentId()
      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:
      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=60
       deployment 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 public 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];
      Specified by:
      hasBranchId in interface OnlineQueryContextOrBuilder
      Returns:
      Whether the branchId field is set.
    • getBranchId

      @Deprecated public 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];
      Specified by:
      getBranchId in interface OnlineQueryContextOrBuilder
      Returns:
      The branchId.
    • getBranchIdBytes

      @Deprecated public 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];
      Specified by:
      getBranchIdBytes in interface OnlineQueryContextOrBuilder
      Returns:
      The bytes for branchId.
    • setBranchId

      @Deprecated public OnlineQueryContext.Builder setBranchId(String value)
      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];
      Parameters:
      value - The branchId to set.
      Returns:
      This builder for chaining.
    • clearBranchId

      @Deprecated public OnlineQueryContext.Builder clearBranchId()
      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:
      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=61
       branch_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:
      hasCorrelationId in interface OnlineQueryContextOrBuilder
      Returns:
      Whether the correlationId field is set.
    • getCorrelationId

      public String getCorrelationId()
      optional string correlation_id = 6 [json_name = "correlationId"];
      Specified by:
      getCorrelationId in interface OnlineQueryContextOrBuilder
      Returns:
      The correlationId.
    • getCorrelationIdBytes

      public com.google.protobuf.ByteString getCorrelationIdBytes()
      optional string correlation_id = 6 [json_name = "correlationId"];
      Specified by:
      getCorrelationIdBytes in interface OnlineQueryContextOrBuilder
      Returns:
      The bytes for correlationId.
    • setCorrelationId

      public OnlineQueryContext.Builder setCorrelationId(String value)
      optional string correlation_id = 6 [json_name = "correlationId"];
      Parameters:
      value - The correlationId to set.
      Returns:
      This builder for chaining.
    • clearCorrelationId

      public OnlineQueryContext.Builder clearCorrelationId()
      optional string correlation_id = 6 [json_name = "correlationId"];
      Returns:
      This builder for chaining.
    • setCorrelationIdBytes

      public OnlineQueryContext.Builder setCorrelationIdBytes(com.google.protobuf.ByteString value)
      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:
      hasQueryName in interface OnlineQueryContextOrBuilder
      Returns:
      Whether the queryName field is set.
    • getQueryName

      public String getQueryName()
      optional string query_name = 7 [json_name = "queryName"];
      Specified by:
      getQueryName in interface OnlineQueryContextOrBuilder
      Returns:
      The queryName.
    • getQueryNameBytes

      public com.google.protobuf.ByteString getQueryNameBytes()
      optional string query_name = 7 [json_name = "queryName"];
      Specified by:
      getQueryNameBytes in interface OnlineQueryContextOrBuilder
      Returns:
      The bytes for queryName.
    • setQueryName

      public OnlineQueryContext.Builder setQueryName(String value)
      optional string query_name = 7 [json_name = "queryName"];
      Parameters:
      value - The queryName to set.
      Returns:
      This builder for chaining.
    • clearQueryName

      public OnlineQueryContext.Builder clearQueryName()
      optional string query_name = 7 [json_name = "queryName"];
      Returns:
      This builder for chaining.
    • setQueryNameBytes

      public OnlineQueryContext.Builder setQueryNameBytes(com.google.protobuf.ByteString value)
      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:
      hasQueryNameVersion in interface OnlineQueryContextOrBuilder
      Returns:
      Whether the queryNameVersion field is set.
    • getQueryNameVersion

      public String getQueryNameVersion()
      optional string query_name_version = 8 [json_name = "queryNameVersion"];
      Specified by:
      getQueryNameVersion in interface OnlineQueryContextOrBuilder
      Returns:
      The queryNameVersion.
    • getQueryNameVersionBytes

      public com.google.protobuf.ByteString getQueryNameVersionBytes()
      optional string query_name_version = 8 [json_name = "queryNameVersion"];
      Specified by:
      getQueryNameVersionBytes in interface OnlineQueryContextOrBuilder
      Returns:
      The bytes for queryNameVersion.
    • setQueryNameVersion

      public OnlineQueryContext.Builder setQueryNameVersion(String value)
      optional string query_name_version = 8 [json_name = "queryNameVersion"];
      Parameters:
      value - The queryNameVersion to set.
      Returns:
      This builder for chaining.
    • clearQueryNameVersion

      public OnlineQueryContext.Builder clearQueryNameVersion()
      optional string query_name_version = 8 [json_name = "queryNameVersion"];
      Returns:
      This builder for chaining.
    • setQueryNameVersionBytes

      public OnlineQueryContext.Builder setQueryNameVersionBytes(com.google.protobuf.ByteString value)
      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: OnlineQueryContextOrBuilder
       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:
      getOptionsCount in interface OnlineQueryContextOrBuilder
    • containsOptions

      public 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"];
      Specified by:
      containsOptions in interface OnlineQueryContextOrBuilder
    • getOptions

      @Deprecated public Map<String,com.google.protobuf.Value> getOptions()
      Deprecated.
      Use getOptionsMap() instead.
      Specified by:
      getOptions in interface OnlineQueryContextOrBuilder
    • getOptionsMap

      public 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"];
      Specified by:
      getOptionsMap in interface OnlineQueryContextOrBuilder
    • 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:
      getOptionsOrDefault in interface OnlineQueryContextOrBuilder
    • getOptionsOrThrow

      public 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"];
      Specified by:
      getOptionsOrThrow in interface OnlineQueryContextOrBuilder
    • clearOptions

      public OnlineQueryContext.Builder clearOptions()
    • removeOptions

      public OnlineQueryContext.Builder 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.
       
      map<string, .google.protobuf.Value> options = 9 [json_name = "options"];
    • getMutableOptions

      @Deprecated public Map<String,com.google.protobuf.Value> getMutableOptions()
      Deprecated.
      Use alternate mutation accessors instead.
    • putOptions

      public OnlineQueryContext.Builder 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.
       
      map<string, .google.protobuf.Value> options = 9 [json_name = "options"];
    • putAllOptions

      public OnlineQueryContext.Builder 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.
       
      map<string, .google.protobuf.Value> options = 9 [json_name = "options"];
    • putOptionsBuilderIfAbsent

      public com.google.protobuf.Value.Builder putOptionsBuilderIfAbsent(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

      public 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"];
      Specified by:
      getValueMetricsTagByFeaturesList in interface OnlineQueryContextOrBuilder
    • 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:
      getValueMetricsTagByFeaturesCount in interface OnlineQueryContextOrBuilder
    • getValueMetricsTagByFeatures

      public 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"];
      Specified by:
      getValueMetricsTagByFeatures in interface OnlineQueryContextOrBuilder
    • setValueMetricsTagByFeatures

      public OnlineQueryContext.Builder setValueMetricsTagByFeatures(int index, OutputExpr value)
       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

      public OnlineQueryContext.Builder addValueMetricsTagByFeatures(OutputExpr value)
       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 value)
       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(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

      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

      public OnlineQueryContext.Builder 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

      public OnlineQueryContext.Builder removeValueMetricsTagByFeatures(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"];
    • getValueMetricsTagByFeaturesBuilder

      public OutputExpr.Builder getValueMetricsTagByFeaturesBuilder(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"];
    • getValueMetricsTagByFeaturesOrBuilder

      public 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"];
      Specified by:
      getValueMetricsTagByFeaturesOrBuilder in interface OnlineQueryContextOrBuilder
    • getValueMetricsTagByFeaturesOrBuilderList

      public 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"];
      Specified by:
      getValueMetricsTagByFeaturesOrBuilderList in interface OnlineQueryContextOrBuilder
    • addValueMetricsTagByFeaturesBuilder

      public OutputExpr.Builder 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

      public OutputExpr.Builder addValueMetricsTagByFeaturesBuilder(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"];
    • getValueMetricsTagByFeaturesBuilderList

      public List<OutputExpr.Builder> 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>
    • mergeUnknownFields

      public final OnlineQueryContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnlineQueryContext.Builder>