Class XyChart

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.dashboard.v1.XyChart
All Implemented Interfaces:
XyChartOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class XyChart extends com.google.protobuf.GeneratedMessage implements XyChartOrBuilder
 A chart that displays data on a 2D (X and Y axes) plane.
 
Protobuf type google.monitoring.dashboard.v1.XyChart
See Also:
  • Field Details

    • DATA_SETS_FIELD_NUMBER

      public static final int DATA_SETS_FIELD_NUMBER
      See Also:
    • TIMESHIFT_DURATION_FIELD_NUMBER

      public static final int TIMESHIFT_DURATION_FIELD_NUMBER
      See Also:
    • THRESHOLDS_FIELD_NUMBER

      public static final int THRESHOLDS_FIELD_NUMBER
      See Also:
    • X_AXIS_FIELD_NUMBER

      public static final int X_AXIS_FIELD_NUMBER
      See Also:
    • Y_AXIS_FIELD_NUMBER

      public static final int Y_AXIS_FIELD_NUMBER
      See Also:
    • Y2_AXIS_FIELD_NUMBER

      public static final int Y2_AXIS_FIELD_NUMBER
      See Also:
    • CHART_OPTIONS_FIELD_NUMBER

      public static final int CHART_OPTIONS_FIELD_NUMBER
      See Also:
  • 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
    • getDataSetsList

      public List<XyChart.DataSet> getDataSetsList()
       Required. The data displayed in this chart.
       
      repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSetsList in interface XyChartOrBuilder
    • getDataSetsOrBuilderList

      public List<? extends XyChart.DataSetOrBuilder> getDataSetsOrBuilderList()
       Required. The data displayed in this chart.
       
      repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSetsOrBuilderList in interface XyChartOrBuilder
    • getDataSetsCount

      public int getDataSetsCount()
       Required. The data displayed in this chart.
       
      repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSetsCount in interface XyChartOrBuilder
    • getDataSets

      public XyChart.DataSet getDataSets(int index)
       Required. The data displayed in this chart.
       
      repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSets in interface XyChartOrBuilder
    • getDataSetsOrBuilder

      public XyChart.DataSetOrBuilder getDataSetsOrBuilder(int index)
       Required. The data displayed in this chart.
       
      repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSetsOrBuilder in interface XyChartOrBuilder
    • hasTimeshiftDuration

      public boolean hasTimeshiftDuration()
       The duration used to display a comparison chart. A comparison chart
       simultaneously shows values from two similar-length time periods
       (e.g., week-over-week metrics).
       The duration must be positive, and it can only be applied to charts with
       data sets of LINE plot type.
       
      .google.protobuf.Duration timeshift_duration = 4;
      Specified by:
      hasTimeshiftDuration in interface XyChartOrBuilder
      Returns:
      Whether the timeshiftDuration field is set.
    • getTimeshiftDuration

      public com.google.protobuf.Duration getTimeshiftDuration()
       The duration used to display a comparison chart. A comparison chart
       simultaneously shows values from two similar-length time periods
       (e.g., week-over-week metrics).
       The duration must be positive, and it can only be applied to charts with
       data sets of LINE plot type.
       
      .google.protobuf.Duration timeshift_duration = 4;
      Specified by:
      getTimeshiftDuration in interface XyChartOrBuilder
      Returns:
      The timeshiftDuration.
    • getTimeshiftDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeshiftDurationOrBuilder()
       The duration used to display a comparison chart. A comparison chart
       simultaneously shows values from two similar-length time periods
       (e.g., week-over-week metrics).
       The duration must be positive, and it can only be applied to charts with
       data sets of LINE plot type.
       
      .google.protobuf.Duration timeshift_duration = 4;
      Specified by:
      getTimeshiftDurationOrBuilder in interface XyChartOrBuilder
    • getThresholdsList

      public List<Threshold> getThresholdsList()
       Threshold lines drawn horizontally across the chart.
       
      repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
      Specified by:
      getThresholdsList in interface XyChartOrBuilder
    • getThresholdsOrBuilderList

      public List<? extends ThresholdOrBuilder> getThresholdsOrBuilderList()
       Threshold lines drawn horizontally across the chart.
       
      repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
      Specified by:
      getThresholdsOrBuilderList in interface XyChartOrBuilder
    • getThresholdsCount

      public int getThresholdsCount()
       Threshold lines drawn horizontally across the chart.
       
      repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
      Specified by:
      getThresholdsCount in interface XyChartOrBuilder
    • getThresholds

      public Threshold getThresholds(int index)
       Threshold lines drawn horizontally across the chart.
       
      repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
      Specified by:
      getThresholds in interface XyChartOrBuilder
    • getThresholdsOrBuilder

      public ThresholdOrBuilder getThresholdsOrBuilder(int index)
       Threshold lines drawn horizontally across the chart.
       
      repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;
      Specified by:
      getThresholdsOrBuilder in interface XyChartOrBuilder
    • hasXAxis

      public boolean hasXAxis()
       The properties applied to the x-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
      Specified by:
      hasXAxis in interface XyChartOrBuilder
      Returns:
      Whether the xAxis field is set.
    • getXAxis

      public XyChart.Axis getXAxis()
       The properties applied to the x-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
      Specified by:
      getXAxis in interface XyChartOrBuilder
      Returns:
      The xAxis.
    • getXAxisOrBuilder

      public XyChart.AxisOrBuilder getXAxisOrBuilder()
       The properties applied to the x-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;
      Specified by:
      getXAxisOrBuilder in interface XyChartOrBuilder
    • hasYAxis

      public boolean hasYAxis()
       The properties applied to the y-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
      Specified by:
      hasYAxis in interface XyChartOrBuilder
      Returns:
      Whether the yAxis field is set.
    • getYAxis

      public XyChart.Axis getYAxis()
       The properties applied to the y-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
      Specified by:
      getYAxis in interface XyChartOrBuilder
      Returns:
      The yAxis.
    • getYAxisOrBuilder

      public XyChart.AxisOrBuilder getYAxisOrBuilder()
       The properties applied to the y-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;
      Specified by:
      getYAxisOrBuilder in interface XyChartOrBuilder
    • hasY2Axis

      public boolean hasY2Axis()
       The properties applied to the y2-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
      Specified by:
      hasY2Axis in interface XyChartOrBuilder
      Returns:
      Whether the y2Axis field is set.
    • getY2Axis

      public XyChart.Axis getY2Axis()
       The properties applied to the y2-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
      Specified by:
      getY2Axis in interface XyChartOrBuilder
      Returns:
      The y2Axis.
    • getY2AxisOrBuilder

      public XyChart.AxisOrBuilder getY2AxisOrBuilder()
       The properties applied to the y2-axis.
       
      .google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;
      Specified by:
      getY2AxisOrBuilder in interface XyChartOrBuilder
    • hasChartOptions

      public boolean hasChartOptions()
       Display options for the chart.
       
      .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
      Specified by:
      hasChartOptions in interface XyChartOrBuilder
      Returns:
      Whether the chartOptions field is set.
    • getChartOptions

      public ChartOptions getChartOptions()
       Display options for the chart.
       
      .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
      Specified by:
      getChartOptions in interface XyChartOrBuilder
      Returns:
      The chartOptions.
    • getChartOptionsOrBuilder

      public ChartOptionsOrBuilder getChartOptionsOrBuilder()
       Display options for the chart.
       
      .google.monitoring.dashboard.v1.ChartOptions chart_options = 8;
      Specified by:
      getChartOptionsOrBuilder in interface XyChartOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static XyChart parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static XyChart parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static XyChart parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static XyChart parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static XyChart parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static XyChart parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static XyChart parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static XyChart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static XyChart parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static XyChart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static XyChart parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static XyChart parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public XyChart.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static XyChart.Builder newBuilder()
    • newBuilder

      public static XyChart.Builder newBuilder(XyChart prototype)
    • toBuilder

      public XyChart.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected XyChart.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static XyChart getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<XyChart> parser()
    • getParserForType

      public com.google.protobuf.Parser<XyChart> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public XyChart getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder