public static final class DashboardChart.Visualization.Series.MetricTrendConfig.Builder extends GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder> implements DashboardChart.Visualization.Series.MetricTrendConfigOrBuilderMetric trend config for displaying trend value in Metrics chart
Protobuf type
google.cloud.chronicle.v1.DashboardChart.Visualization.Series.MetricTrendConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DashboardChart.Visualization.Series.MetricTrendConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DashboardChart.Visualization.Series.MetricTrendConfig build()| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig |
|
buildPartial()
public DashboardChart.Visualization.Series.MetricTrendConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig |
|
clear()
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
|
clearMetricDisplayTrend()
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder clearMetricDisplayTrend()Optional. Metric chart configuration to display the trend value
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
clearMetricFormat()
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder clearMetricFormat()Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
clearMetricTrendType()
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder clearMetricTrendType()Optional. Metric chart configuration to display trend type whether regular or inverse
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
clearShowMetricTrend()
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder clearShowMetricTrend()Optional. Metric chart configuration to toggle the trend value display
bool show_metric_trend = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DashboardChart.Visualization.Series.MetricTrendConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetricDisplayTrend()
public MetricDisplayTrend getMetricDisplayTrend()Optional. Metric chart configuration to display the trend value
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetricDisplayTrend |
The metricDisplayTrend. |
getMetricDisplayTrendValue()
public int getMetricDisplayTrendValue()Optional. Metric chart configuration to display the trend value
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for metricDisplayTrend. |
getMetricFormat()
public MetricFormat getMetricFormat()Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetricFormat |
The metricFormat. |
getMetricFormatValue()
public int getMetricFormatValue()Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for metricFormat. |
getMetricTrendType()
public MetricTrendType getMetricTrendType()Optional. Metric chart configuration to display trend type whether regular or inverse
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetricTrendType |
The metricTrendType. |
getMetricTrendTypeValue()
public int getMetricTrendTypeValue()Optional. Metric chart configuration to display trend type whether regular or inverse
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for metricTrendType. |
getShowMetricTrend()
public boolean getShowMetricTrend()Optional. Metric chart configuration to toggle the trend value display
bool show_metric_trend = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The showMetricTrend. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DashboardChart.Visualization.Series.MetricTrendConfig other)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder mergeFrom(DashboardChart.Visualization.Series.MetricTrendConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DashboardChart.Visualization.Series.MetricTrendConfig |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
|
setMetricDisplayTrend(MetricDisplayTrend value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setMetricDisplayTrend(MetricDisplayTrend value)Optional. Metric chart configuration to display the trend value
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MetricDisplayTrendThe metricDisplayTrend to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
setMetricDisplayTrendValue(int value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setMetricDisplayTrendValue(int value)Optional. Metric chart configuration to display the trend value
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for metricDisplayTrend to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
setMetricFormat(MetricFormat value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setMetricFormat(MetricFormat value)Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MetricFormatThe metricFormat to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
setMetricFormatValue(int value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setMetricFormatValue(int value)Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for metricFormat to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
setMetricTrendType(MetricTrendType value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setMetricTrendType(MetricTrendType value)Optional. Metric chart configuration to display trend type whether regular or inverse
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MetricTrendTypeThe metricTrendType to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
setMetricTrendTypeValue(int value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setMetricTrendTypeValue(int value)Optional. Metric chart configuration to display trend type whether regular or inverse
.google.cloud.chronicle.v1.MetricTrendType metric_trend_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for metricTrendType to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |
setShowMetricTrend(boolean value)
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder setShowMetricTrend(boolean value)Optional. Metric chart configuration to toggle the trend value display
bool show_metric_trend = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe showMetricTrend to set. |
| Returns | |
|---|---|
| Type | Description |
DashboardChart.Visualization.Series.MetricTrendConfig.Builder |
This builder for chaining. |