public static final class XyChart.Axis.Builder extends GeneratedMessageV3.Builder<XyChart.Axis.Builder> implements XyChart.AxisOrBuilder
A chart axis.
Protobuf type google.monitoring.dashboard.v1.XyChart.Axis
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public XyChart.Axis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public XyChart.Axis build()
Returns
buildPartial()
public XyChart.Axis buildPartial()
Returns
clear()
public XyChart.Axis.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public XyChart.Axis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabel()
public XyChart.Axis.Builder clearLabel()
The label of the axis.
string label = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public XyChart.Axis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScale()
public XyChart.Axis.Builder clearScale()
The axis scale. By default, a linear scale is used.
.google.monitoring.dashboard.v1.XyChart.Axis.Scale scale = 2;
Returns
clone()
public XyChart.Axis.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public XyChart.Axis getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(XyChart.Axis other)
public XyChart.Axis.Builder mergeFrom(XyChart.Axis other)
Parameter
Returns
public XyChart.Axis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public XyChart.Axis.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final XyChart.Axis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public XyChart.Axis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLabel(String value)
public XyChart.Axis.Builder setLabel(String value)
The label of the axis.
string label = 1;
Parameter
Name | Description |
value | String
The label to set.
|
Returns
setLabelBytes(ByteString value)
public XyChart.Axis.Builder setLabelBytes(ByteString value)
The label of the axis.
string label = 1;
Parameter
Name | Description |
value | ByteString
The bytes for label to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public XyChart.Axis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScale(XyChart.Axis.Scale value)
public XyChart.Axis.Builder setScale(XyChart.Axis.Scale value)
The axis scale. By default, a linear scale is used.
.google.monitoring.dashboard.v1.XyChart.Axis.Scale scale = 2;
Parameter
Returns
setScaleValue(int value)
public XyChart.Axis.Builder setScaleValue(int value)
The axis scale. By default, a linear scale is used.
.google.monitoring.dashboard.v1.XyChart.Axis.Scale scale = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for scale to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final XyChart.Axis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides