Class GetFeatureValuesChartRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder>
ai.chalk.protos.chalk.common.v1.GetFeatureValuesChartRequest.Builder
All Implemented Interfaces:
GetFeatureValuesChartRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetFeatureValuesChartRequest

public static final class GetFeatureValuesChartRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.Builder> implements GetFeatureValuesChartRequestOrBuilder
Protobuf type chalk.common.v1.GetFeatureValuesChartRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GetFeatureValuesChartRequest 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<GetFeatureValuesChartRequest.Builder>
    • setField

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • clearField

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • clearOneof

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • setRepeatedField

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • addRepeatedField

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • mergeFrom

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • mergeFrom

      public GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
      Throws:
      IOException
    • getFqn

      public String getFqn()
      string fqn = 1 [json_name = "fqn"];
      Specified by:
      getFqn in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The fqn.
    • getFqnBytes

      public com.google.protobuf.ByteString getFqnBytes()
      string fqn = 1 [json_name = "fqn"];
      Specified by:
      getFqnBytes in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The bytes for fqn.
    • setFqn

      string fqn = 1 [json_name = "fqn"];
      Parameters:
      value - The fqn to set.
      Returns:
      This builder for chaining.
    • clearFqn

      string fqn = 1 [json_name = "fqn"];
      Returns:
      This builder for chaining.
    • setFqnBytes

      public GetFeatureValuesChartRequest.Builder setFqnBytes(com.google.protobuf.ByteString value)
      string fqn = 1 [json_name = "fqn"];
      Parameters:
      value - The bytes for fqn to set.
      Returns:
      This builder for chaining.
    • getAggregateByList

      public List<FeatureValueAggregation> getAggregateByList()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByList in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      A list containing the aggregateBy.
    • getAggregateByCount

      public int getAggregateByCount()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByCount in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The count of aggregateBy.
    • getAggregateBy

      public FeatureValueAggregation getAggregateBy(int index)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateBy in interface GetFeatureValuesChartRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The aggregateBy at the given index.
    • setAggregateBy

      public GetFeatureValuesChartRequest.Builder setAggregateBy(int index, FeatureValueAggregation value)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      index - The index to set the value at.
      value - The aggregateBy to set.
      Returns:
      This builder for chaining.
    • addAggregateBy

      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      value - The aggregateBy to add.
      Returns:
      This builder for chaining.
    • addAllAggregateBy

      public GetFeatureValuesChartRequest.Builder addAllAggregateBy(Iterable<? extends FeatureValueAggregation> values)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      values - The aggregateBy to add.
      Returns:
      This builder for chaining.
    • clearAggregateBy

      public GetFeatureValuesChartRequest.Builder clearAggregateBy()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Returns:
      This builder for chaining.
    • getAggregateByValueList

      public List<Integer> getAggregateByValueList()
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByValueList in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for aggregateBy.
    • getAggregateByValue

      public int getAggregateByValue(int index)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Specified by:
      getAggregateByValue in interface GetFeatureValuesChartRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of aggregateBy at the given index.
    • setAggregateByValue

      public GetFeatureValuesChartRequest.Builder setAggregateByValue(int index, int value)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for aggregateBy to set.
      Returns:
      This builder for chaining.
    • addAggregateByValue

      public GetFeatureValuesChartRequest.Builder addAggregateByValue(int value)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      value - The enum numeric value on the wire for aggregateBy to add.
      Returns:
      This builder for chaining.
    • addAllAggregateByValue

      public GetFeatureValuesChartRequest.Builder addAllAggregateByValue(Iterable<Integer> values)
      repeated .chalk.common.v1.FeatureValueAggregation aggregate_by = 2 [json_name = "aggregateBy"];
      Parameters:
      values - The enum numeric values on the wire for aggregateBy to add.
      Returns:
      This builder for chaining.
    • hasWindowPeriod

      public boolean hasWindowPeriod()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_ms will be of size total_window % window_period
       
      optional string window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      hasWindowPeriod in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      Whether the windowPeriod field is set.
    • getWindowPeriod

      public String getWindowPeriod()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_ms will be of size total_window % window_period
       
      optional string window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      getWindowPeriod in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The windowPeriod.
    • getWindowPeriodBytes

      public com.google.protobuf.ByteString getWindowPeriodBytes()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_ms will be of size total_window % window_period
       
      optional string window_period = 3 [json_name = "windowPeriod"];
      Specified by:
      getWindowPeriodBytes in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The bytes for windowPeriod.
    • setWindowPeriod

      public GetFeatureValuesChartRequest.Builder setWindowPeriod(String value)
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_ms will be of size total_window % window_period
       
      optional string window_period = 3 [json_name = "windowPeriod"];
      Parameters:
      value - The windowPeriod to set.
      Returns:
      This builder for chaining.
    • clearWindowPeriod

      public GetFeatureValuesChartRequest.Builder clearWindowPeriod()
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_ms will be of size total_window % window_period
       
      optional string window_period = 3 [json_name = "windowPeriod"];
      Returns:
      This builder for chaining.
    • setWindowPeriodBytes

      public GetFeatureValuesChartRequest.Builder setWindowPeriodBytes(com.google.protobuf.ByteString value)
       The size of each time bucket + how far apart time points are in the chart
       Ideally a divisor of the total window between end and start ms
       If not, the bucket aligned with end_ms will be of size total_window % window_period
       
      optional string window_period = 3 [json_name = "windowPeriod"];
      Parameters:
      value - The bytes for windowPeriod to set.
      Returns:
      This builder for chaining.
    • getStartMs

      public long getStartMs()
      int64 start_ms = 4 [json_name = "startMs"];
      Specified by:
      getStartMs in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The startMs.
    • setStartMs

      public GetFeatureValuesChartRequest.Builder setStartMs(long value)
      int64 start_ms = 4 [json_name = "startMs"];
      Parameters:
      value - The startMs to set.
      Returns:
      This builder for chaining.
    • clearStartMs

      public GetFeatureValuesChartRequest.Builder clearStartMs()
      int64 start_ms = 4 [json_name = "startMs"];
      Returns:
      This builder for chaining.
    • hasEndMs

      public boolean hasEndMs()
       If not provided, will assume current time is the ending time
       
      optional int64 end_ms = 5 [json_name = "endMs"];
      Specified by:
      hasEndMs in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      Whether the endMs field is set.
    • getEndMs

      public long getEndMs()
       If not provided, will assume current time is the ending time
       
      optional int64 end_ms = 5 [json_name = "endMs"];
      Specified by:
      getEndMs in interface GetFeatureValuesChartRequestOrBuilder
      Returns:
      The endMs.
    • setEndMs

      public GetFeatureValuesChartRequest.Builder setEndMs(long value)
       If not provided, will assume current time is the ending time
       
      optional int64 end_ms = 5 [json_name = "endMs"];
      Parameters:
      value - The endMs to set.
      Returns:
      This builder for chaining.
    • clearEndMs

       If not provided, will assume current time is the ending time
       
      optional int64 end_ms = 5 [json_name = "endMs"];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>
    • mergeUnknownFields

      public final GetFeatureValuesChartRequest.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<GetFeatureValuesChartRequest.Builder>