- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.3.0
- 2.2.6
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > XyChart.Axis.BuilderImplements
XyChart.AxisOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public XyChart.Axis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
build()
public XyChart.Axis build()
Returns | |
---|---|
Type | Description |
XyChart.Axis |
buildPartial()
public XyChart.Axis buildPartial()
Returns | |
---|---|
Type | Description |
XyChart.Axis |
clear()
public XyChart.Axis.Builder clear()
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
clearField(Descriptors.FieldDescriptor field)
public XyChart.Axis.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
clearLabel()
public XyChart.Axis.Builder clearLabel()
The label of the axis.
string label = 1;
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public XyChart.Axis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
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 | |
---|---|
Type | Description |
XyChart.Axis.Builder | This builder for chaining. |
clone()
public XyChart.Axis.Builder clone()
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
getDefaultInstanceForType()
public XyChart.Axis getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
XyChart.Axis |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(XyChart.Axis other)
public XyChart.Axis.Builder mergeFrom(XyChart.Axis other)
Parameter | |
---|---|
Name | Description |
other | XyChart.Axis |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public XyChart.Axis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public XyChart.Axis.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final XyChart.Axis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public XyChart.Axis.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
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 | |
---|---|
Type | Description |
XyChart.Axis.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
XyChart.Axis.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public XyChart.Axis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |
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 | |
---|---|
Name | Description |
value | XyChart.Axis.Scale The scale to set. |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
XyChart.Axis.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final XyChart.Axis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
XyChart.Axis.Builder |