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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA chart axis.static interfacestatic final classA chart that displays data on a 2D (X and Y axes) plane.static final classGroups a time series query definition with charting options.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDisplay options for the chart.Display options for the chart.getDataSets(int index) Required.intRequired.Required.getDataSetsOrBuilder(int index) Required.List<? extends XyChart.DataSetOrBuilder>Required.static XyChartstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<XyChart>intgetThresholds(int index) Threshold lines drawn horizontally across the chart.intThreshold lines drawn horizontally across the chart.Threshold lines drawn horizontally across the chart.getThresholdsOrBuilder(int index) Threshold lines drawn horizontally across the chart.List<? extends ThresholdOrBuilder>Threshold lines drawn horizontally across the chart.com.google.protobuf.DurationThe duration used to display a comparison chart.com.google.protobuf.DurationOrBuilderThe duration used to display a comparison chart.getXAxis()The properties applied to the x-axis.The properties applied to the x-axis.The properties applied to the y2-axis.The properties applied to the y2-axis.getYAxis()The properties applied to the y-axis.The properties applied to the y-axis.booleanDisplay options for the chart.inthashCode()booleanThe duration used to display a comparison chart.booleanhasXAxis()The properties applied to the x-axis.booleanThe properties applied to the y2-axis.booleanhasYAxis()The properties applied to the y-axis.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic XyChart.Builderstatic XyChart.BuildernewBuilder(XyChart prototype) protected XyChart.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static XyChartparseDelimitedFrom(InputStream input) static XyChartparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static XyChartparseFrom(byte[] data) static XyChartparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static XyChartparseFrom(com.google.protobuf.ByteString data) static XyChartparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static XyChartparseFrom(com.google.protobuf.CodedInputStream input) static XyChartparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static XyChartparseFrom(InputStream input) static XyChartparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static XyChartparseFrom(ByteBuffer data) static XyChartparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<XyChart>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getDataSetsListin interfaceXyChartOrBuilder
-
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:
getDataSetsOrBuilderListin interfaceXyChartOrBuilder
-
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:
getDataSetsCountin interfaceXyChartOrBuilder
-
getDataSets
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataSetsin interfaceXyChartOrBuilder
-
getDataSetsOrBuilder
Required. The data displayed in this chart.
repeated .google.monitoring.dashboard.v1.XyChart.DataSet data_sets = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataSetsOrBuilderin interfaceXyChartOrBuilder
-
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:
hasTimeshiftDurationin interfaceXyChartOrBuilder- 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:
getTimeshiftDurationin interfaceXyChartOrBuilder- 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:
getTimeshiftDurationOrBuilderin interfaceXyChartOrBuilder
-
getThresholdsList
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;- Specified by:
getThresholdsListin interfaceXyChartOrBuilder
-
getThresholdsOrBuilderList
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;- Specified by:
getThresholdsOrBuilderListin interfaceXyChartOrBuilder
-
getThresholdsCount
public int getThresholdsCount()Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;- Specified by:
getThresholdsCountin interfaceXyChartOrBuilder
-
getThresholds
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;- Specified by:
getThresholdsin interfaceXyChartOrBuilder
-
getThresholdsOrBuilder
Threshold lines drawn horizontally across the chart.
repeated .google.monitoring.dashboard.v1.Threshold thresholds = 5;- Specified by:
getThresholdsOrBuilderin interfaceXyChartOrBuilder
-
hasXAxis
public boolean hasXAxis()The properties applied to the x-axis.
.google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;- Specified by:
hasXAxisin interfaceXyChartOrBuilder- Returns:
- Whether the xAxis field is set.
-
getXAxis
The properties applied to the x-axis.
.google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;- Specified by:
getXAxisin interfaceXyChartOrBuilder- Returns:
- The xAxis.
-
getXAxisOrBuilder
The properties applied to the x-axis.
.google.monitoring.dashboard.v1.XyChart.Axis x_axis = 6;- Specified by:
getXAxisOrBuilderin interfaceXyChartOrBuilder
-
hasYAxis
public boolean hasYAxis()The properties applied to the y-axis.
.google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;- Specified by:
hasYAxisin interfaceXyChartOrBuilder- Returns:
- Whether the yAxis field is set.
-
getYAxis
The properties applied to the y-axis.
.google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;- Specified by:
getYAxisin interfaceXyChartOrBuilder- Returns:
- The yAxis.
-
getYAxisOrBuilder
The properties applied to the y-axis.
.google.monitoring.dashboard.v1.XyChart.Axis y_axis = 7;- Specified by:
getYAxisOrBuilderin interfaceXyChartOrBuilder
-
hasY2Axis
public boolean hasY2Axis()The properties applied to the y2-axis.
.google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;- Specified by:
hasY2Axisin interfaceXyChartOrBuilder- Returns:
- Whether the y2Axis field is set.
-
getY2Axis
The properties applied to the y2-axis.
.google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;- Specified by:
getY2Axisin interfaceXyChartOrBuilder- Returns:
- The y2Axis.
-
getY2AxisOrBuilder
The properties applied to the y2-axis.
.google.monitoring.dashboard.v1.XyChart.Axis y2_axis = 9;- Specified by:
getY2AxisOrBuilderin interfaceXyChartOrBuilder
-
hasChartOptions
public boolean hasChartOptions()Display options for the chart.
.google.monitoring.dashboard.v1.ChartOptions chart_options = 8;- Specified by:
hasChartOptionsin interfaceXyChartOrBuilder- Returns:
- Whether the chartOptions field is set.
-
getChartOptions
Display options for the chart.
.google.monitoring.dashboard.v1.ChartOptions chart_options = 8;- Specified by:
getChartOptionsin interfaceXyChartOrBuilder- Returns:
- The chartOptions.
-
getChartOptionsOrBuilder
Display options for the chart.
.google.monitoring.dashboard.v1.ChartOptions chart_options = 8;- Specified by:
getChartOptionsOrBuilderin interfaceXyChartOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static XyChart parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static XyChart parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static XyChart parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected XyChart.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-