public static final class ChartOptions.Builder extends GeneratedMessageV3.Builder<ChartOptions.Builder> implements ChartOptionsOrBuilder
Options to control visual rendering of a chart.
Protobuf type google.monitoring.dashboard.v1.ChartOptions
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 ChartOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ChartOptions build()
Returns
buildPartial()
public ChartOptions buildPartial()
Returns
clear()
public ChartOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ChartOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMode()
public ChartOptions.Builder clearMode()
The chart mode.
.google.monitoring.dashboard.v1.ChartOptions.Mode mode = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ChartOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ChartOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ChartOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMode()
public ChartOptions.Mode getMode()
The chart mode.
.google.monitoring.dashboard.v1.ChartOptions.Mode mode = 1;
Returns
getModeValue()
public int getModeValue()
The chart mode.
.google.monitoring.dashboard.v1.ChartOptions.Mode mode = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for mode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ChartOptions other)
public ChartOptions.Builder mergeFrom(ChartOptions other)
Parameter
Returns
public ChartOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ChartOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChartOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ChartOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMode(ChartOptions.Mode value)
public ChartOptions.Builder setMode(ChartOptions.Mode value)
The chart mode.
.google.monitoring.dashboard.v1.ChartOptions.Mode mode = 1;
Parameter
Returns
setModeValue(int value)
public ChartOptions.Builder setModeValue(int value)
The chart mode.
.google.monitoring.dashboard.v1.ChartOptions.Mode mode = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for mode to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChartOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ChartOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides