Class DashboardChart.Visualization.Axis.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Axis.Builder>
com.google.cloud.chronicle.v1.DashboardChart.Visualization.Axis.Builder
All Implemented Interfaces:
DashboardChart.Visualization.AxisOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DashboardChart.Visualization.Axis

public static final class DashboardChart.Visualization.Axis.Builder extends com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Axis.Builder> implements DashboardChart.Visualization.AxisOrBuilder
Protobuf type google.cloud.chronicle.v1.DashboardChart.Visualization.Axis
  • Method Details

    • getDescriptor

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

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

      public DashboardChart.Visualization.Axis 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 DashboardChart.Visualization.Axis buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DashboardChart.Visualization.Axis.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<DashboardChart.Visualization.Axis.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Axis.Builder>
    • mergeFrom

      public DashboardChart.Visualization.Axis.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<DashboardChart.Visualization.Axis.Builder>
      Throws:
      IOException
    • getAxisTypeValue

      public int getAxisTypeValue()
      .google.cloud.chronicle.v1.AxisType axis_type = 4;
      Specified by:
      getAxisTypeValue in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      The enum numeric value on the wire for axisType.
    • setAxisTypeValue

      public DashboardChart.Visualization.Axis.Builder setAxisTypeValue(int value)
      .google.cloud.chronicle.v1.AxisType axis_type = 4;
      Parameters:
      value - The enum numeric value on the wire for axisType to set.
      Returns:
      This builder for chaining.
    • getAxisType

      public AxisType getAxisType()
      .google.cloud.chronicle.v1.AxisType axis_type = 4;
      Specified by:
      getAxisType in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      The axisType.
    • setAxisType

      .google.cloud.chronicle.v1.AxisType axis_type = 4;
      Parameters:
      value - The axisType to set.
      Returns:
      This builder for chaining.
    • clearAxisType

      .google.cloud.chronicle.v1.AxisType axis_type = 4;
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
      string display_name = 5;
      Specified by:
      getDisplayName in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
      string display_name = 5;
      Specified by:
      getDisplayNameBytes in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DashboardChart.Visualization.Axis.Builder setDisplayName(String value)
      string display_name = 5;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DashboardChart.Visualization.Axis.Builder clearDisplayName()
      string display_name = 5;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DashboardChart.Visualization.Axis.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
      string display_name = 5;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasMin

      public boolean hasMin()
       Minimum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.min
       
      optional int32 min = 6;
      Specified by:
      hasMin in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      Whether the min field is set.
    • getMin

      public int getMin()
       Minimum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.min
       
      optional int32 min = 6;
      Specified by:
      getMin in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      The min.
    • setMin

      public DashboardChart.Visualization.Axis.Builder setMin(int value)
       Minimum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.min
       
      optional int32 min = 6;
      Parameters:
      value - The min to set.
      Returns:
      This builder for chaining.
    • clearMin

       Minimum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.min
       
      optional int32 min = 6;
      Returns:
      This builder for chaining.
    • hasMax

      public boolean hasMax()
       Maximum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.max
       
      optional int32 max = 7;
      Specified by:
      hasMax in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      Whether the max field is set.
    • getMax

      public int getMax()
       Maximum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.max
       
      optional int32 max = 7;
      Specified by:
      getMax in interface DashboardChart.Visualization.AxisOrBuilder
      Returns:
      The max.
    • setMax

      public DashboardChart.Visualization.Axis.Builder setMax(int value)
       Maximum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.max
       
      optional int32 max = 7;
      Parameters:
      value - The max to set.
      Returns:
      This builder for chaining.
    • clearMax

       Maximum value to be rendered in ECharts as per
       https://echarts.apache.org/en/option.html#xAxis.max
       
      optional int32 max = 7;
      Returns:
      This builder for chaining.