Package com.google.cloud.chronicle.v1
Class DashboardChart.Visualization.Series.MetricTrendConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
com.google.cloud.chronicle.v1.DashboardChart.Visualization.Series.MetricTrendConfig.Builder
- All Implemented Interfaces:
DashboardChart.Visualization.Series.MetricTrendConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DashboardChart.Visualization.Series.MetricTrendConfig
public static final class DashboardChart.Visualization.Series.MetricTrendConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
implements DashboardChart.Visualization.Series.MetricTrendConfigOrBuilder
Metric trend config for displaying trend value in Metrics chartProtobuf type
google.cloud.chronicle.v1.DashboardChart.Visualization.Series.MetricTrendConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.intOptional.Optional.intOptional.Optional.intOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setMetricDisplayTrendValue(int value) Optional.setMetricFormat(MetricFormat value) Optional.setMetricFormatValue(int value) Optional.Optional.setMetricTrendTypeValue(int value) Optional.setShowMetricTrend(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>
-
mergeFrom
public DashboardChart.Visualization.Series.MetricTrendConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DashboardChart.Visualization.Series.MetricTrendConfig.Builder>- Throws:
IOException
-
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];- Specified by:
getMetricFormatValuein interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The enum numeric value on the wire for metricFormat.
-
setMetricFormatValue
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];- Parameters:
value- The enum numeric value on the wire for metricFormat to set.- Returns:
- This builder for chaining.
-
getMetricFormat
Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricFormatin interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The metricFormat.
-
setMetricFormat
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];- Parameters:
value- The metricFormat to set.- Returns:
- This builder for chaining.
-
clearMetricFormat
Optional. Metric chart configuration to display metric trend
.google.cloud.chronicle.v1.MetricFormat metric_format = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getShowMetricTrend
public boolean getShowMetricTrend()Optional. Metric chart configuration to toggle the trend value display
bool show_metric_trend = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getShowMetricTrendin interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The showMetricTrend.
-
setShowMetricTrend
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];- Parameters:
value- The showMetricTrend to set.- Returns:
- This builder for chaining.
-
clearShowMetricTrend
Optional. Metric chart configuration to toggle the trend value display
bool show_metric_trend = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
getMetricDisplayTrendValuein interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The enum numeric value on the wire for metricDisplayTrend.
-
setMetricDisplayTrendValue
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];- Parameters:
value- The enum numeric value on the wire for metricDisplayTrend to set.- Returns:
- This builder for chaining.
-
getMetricDisplayTrend
Optional. Metric chart configuration to display the trend value
.google.cloud.chronicle.v1.MetricDisplayTrend metric_display_trend = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricDisplayTrendin interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The metricDisplayTrend.
-
setMetricDisplayTrend
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];- Parameters:
value- The metricDisplayTrend to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getMetricTrendTypeValuein interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The enum numeric value on the wire for metricTrendType.
-
setMetricTrendTypeValue
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];- Parameters:
value- The enum numeric value on the wire for metricTrendType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getMetricTrendTypein interfaceDashboardChart.Visualization.Series.MetricTrendConfigOrBuilder- Returns:
- The metricTrendType.
-
setMetricTrendType
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];- Parameters:
value- The metricTrendType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-