Class XyChart.Axis (2.57.0)

public static final class XyChart.Axis extends GeneratedMessageV3 implements XyChart.AxisOrBuilder

A chart axis.

Protobuf type google.monitoring.dashboard.v1.XyChart.Axis

Static Fields

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
Type Description
int

SCALE_FIELD_NUMBER

public static final int SCALE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static XyChart.Axis getDefaultInstance()
Returns
Type Description
XyChart.Axis

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static XyChart.Axis.Builder newBuilder()
Returns
Type Description
XyChart.Axis.Builder

newBuilder(XyChart.Axis prototype)

public static XyChart.Axis.Builder newBuilder(XyChart.Axis prototype)
Parameter
Name Description
prototype XyChart.Axis
Returns
Type Description
XyChart.Axis.Builder

parseDelimitedFrom(InputStream input)

public static XyChart.Axis parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static XyChart.Axis parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static XyChart.Axis parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static XyChart.Axis parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static XyChart.Axis parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static XyChart.Axis parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
XyChart.Axis
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<XyChart.Axis> parser()
Returns
Type Description
Parser<Axis>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public XyChart.Axis getDefaultInstanceForType()
Returns
Type Description
XyChart.Axis

getLabel()

public String getLabel()

The label of the axis.

string label = 1;

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

The label of the axis.

string label = 1;

Returns
Type Description
ByteString

The bytes for label.

getParserForType()

public Parser<XyChart.Axis> getParserForType()
Returns
Type Description
Parser<Axis>
Overrides

getScale()

public XyChart.Axis.Scale getScale()

The axis scale. By default, a linear scale is used.

.google.monitoring.dashboard.v1.XyChart.Axis.Scale scale = 2;

Returns
Type Description
XyChart.Axis.Scale

The scale.

getScaleValue()

public int getScaleValue()

The axis scale. By default, a linear scale is used.

.google.monitoring.dashboard.v1.XyChart.Axis.Scale scale = 2;

Returns
Type Description
int

The enum numeric value on the wire for scale.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public XyChart.Axis.Builder newBuilderForType()
Returns
Type Description
XyChart.Axis.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected XyChart.Axis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
XyChart.Axis.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public XyChart.Axis.Builder toBuilder()
Returns
Type Description
XyChart.Axis.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException