Class XyChart.Axis (2.41.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
TypeDescription
int

SCALE_FIELD_NUMBER

public static final int SCALE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static XyChart.Axis getDefaultInstance()
Returns
TypeDescription
XyChart.Axis

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static XyChart.Axis.Builder newBuilder()
Returns
TypeDescription
XyChart.Axis.Builder

newBuilder(XyChart.Axis prototype)

public static XyChart.Axis.Builder newBuilder(XyChart.Axis prototype)
Parameter
NameDescription
prototypeXyChart.Axis
Returns
TypeDescription
XyChart.Axis.Builder

parseDelimitedFrom(InputStream input)

public static XyChart.Axis parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static XyChart.Axis parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static XyChart.Axis parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static XyChart.Axis parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static XyChart.Axis parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static XyChart.Axis parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static XyChart.Axis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
XyChart.Axis
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public XyChart.Axis getDefaultInstanceForType()
Returns
TypeDescription
XyChart.Axis

getLabel()

public String getLabel()

The label of the axis.

string label = 1;

Returns
TypeDescription
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

The label of the axis.

string label = 1;

Returns
TypeDescription
ByteString

The bytes for label.

getParserForType()

public Parser<XyChart.Axis> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for scale.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public XyChart.Axis.Builder newBuilderForType()
Returns
TypeDescription
XyChart.Axis.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected XyChart.Axis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
XyChart.Axis.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public XyChart.Axis.Builder toBuilder()
Returns
TypeDescription
XyChart.Axis.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException