public static final class Controlcenter.MetricMeasurement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder> implements Controlcenter.MetricMeasurementOrBuilder
controlcenter.MetricMeasurement
Modifier and Type | Method and Description |
---|---|
Controlcenter.MetricMeasurement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Controlcenter.MetricMeasurement |
build() |
Controlcenter.MetricMeasurement |
buildPartial() |
Controlcenter.MetricMeasurement.Builder |
clear() |
Controlcenter.MetricMeasurement.Builder |
clearBrokerMetric()
.command_alert.BrokerTriggerMetricType brokerMetric = 1; |
Controlcenter.MetricMeasurement.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Controlcenter.MetricMeasurement.Builder |
clearLongValue()
int64 longValue = 3; |
Controlcenter.MetricMeasurement.Builder |
clearMetricType() |
Controlcenter.MetricMeasurement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Controlcenter.MetricMeasurement.Builder |
clearStatusValue()
.command_alert.StatusValue statusValue = 4; |
Controlcenter.MetricMeasurement.Builder |
clearTopicMetric()
.command_alert.TopicTriggerMetricType topicMetric = 2; |
Controlcenter.MetricMeasurement.Builder |
clearValue() |
Controlcenter.MetricMeasurement.Builder |
clone() |
CommandAlert.BrokerTriggerMetricType |
getBrokerMetric()
.command_alert.BrokerTriggerMetricType brokerMetric = 1; |
int |
getBrokerMetricValue()
.command_alert.BrokerTriggerMetricType brokerMetric = 1; |
Controlcenter.MetricMeasurement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLongValue()
int64 longValue = 3; |
Controlcenter.MetricMeasurement.MetricTypeCase |
getMetricTypeCase() |
CommandAlert.StatusValue |
getStatusValue()
.command_alert.StatusValue statusValue = 4; |
int |
getStatusValueValue()
.command_alert.StatusValue statusValue = 4; |
CommandAlert.TopicTriggerMetricType |
getTopicMetric()
.command_alert.TopicTriggerMetricType topicMetric = 2; |
int |
getTopicMetricValue()
.command_alert.TopicTriggerMetricType topicMetric = 2; |
Controlcenter.MetricMeasurement.ValueCase |
getValueCase() |
boolean |
hasBrokerMetric()
.command_alert.BrokerTriggerMetricType brokerMetric = 1; |
boolean |
hasLongValue()
int64 longValue = 3; |
boolean |
hasStatusValue()
.command_alert.StatusValue statusValue = 4; |
boolean |
hasTopicMetric()
.command_alert.TopicTriggerMetricType topicMetric = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Controlcenter.MetricMeasurement.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Controlcenter.MetricMeasurement.Builder |
mergeFrom(Controlcenter.MetricMeasurement other) |
Controlcenter.MetricMeasurement.Builder |
mergeFrom(com.google.protobuf.Message other) |
Controlcenter.MetricMeasurement.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Controlcenter.MetricMeasurement.Builder |
setBrokerMetric(CommandAlert.BrokerTriggerMetricType value)
.command_alert.BrokerTriggerMetricType brokerMetric = 1; |
Controlcenter.MetricMeasurement.Builder |
setBrokerMetricValue(int value)
.command_alert.BrokerTriggerMetricType brokerMetric = 1; |
Controlcenter.MetricMeasurement.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Controlcenter.MetricMeasurement.Builder |
setLongValue(long value)
int64 longValue = 3; |
Controlcenter.MetricMeasurement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Controlcenter.MetricMeasurement.Builder |
setStatusValue(CommandAlert.StatusValue value)
.command_alert.StatusValue statusValue = 4; |
Controlcenter.MetricMeasurement.Builder |
setStatusValueValue(int value)
.command_alert.StatusValue statusValue = 4; |
Controlcenter.MetricMeasurement.Builder |
setTopicMetric(CommandAlert.TopicTriggerMetricType value)
.command_alert.TopicTriggerMetricType topicMetric = 2; |
Controlcenter.MetricMeasurement.Builder |
setTopicMetricValue(int value)
.command_alert.TopicTriggerMetricType topicMetric = 2; |
Controlcenter.MetricMeasurement.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Controlcenter.MetricMeasurement build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Controlcenter.MetricMeasurement buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Controlcenter.MetricMeasurement.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder mergeFrom(Controlcenter.MetricMeasurement other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public Controlcenter.MetricMeasurement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Controlcenter.MetricMeasurement.Builder>
java.io.IOException
public Controlcenter.MetricMeasurement.MetricTypeCase getMetricTypeCase()
getMetricTypeCase
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder clearMetricType()
public Controlcenter.MetricMeasurement.ValueCase getValueCase()
getValueCase
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder clearValue()
public boolean hasBrokerMetric()
.command_alert.BrokerTriggerMetricType brokerMetric = 1;
hasBrokerMetric
in interface Controlcenter.MetricMeasurementOrBuilder
public int getBrokerMetricValue()
.command_alert.BrokerTriggerMetricType brokerMetric = 1;
getBrokerMetricValue
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setBrokerMetricValue(int value)
.command_alert.BrokerTriggerMetricType brokerMetric = 1;
value
- The enum numeric value on the wire for brokerMetric to set.public CommandAlert.BrokerTriggerMetricType getBrokerMetric()
.command_alert.BrokerTriggerMetricType brokerMetric = 1;
getBrokerMetric
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setBrokerMetric(CommandAlert.BrokerTriggerMetricType value)
.command_alert.BrokerTriggerMetricType brokerMetric = 1;
value
- The brokerMetric to set.public Controlcenter.MetricMeasurement.Builder clearBrokerMetric()
.command_alert.BrokerTriggerMetricType brokerMetric = 1;
public boolean hasTopicMetric()
.command_alert.TopicTriggerMetricType topicMetric = 2;
hasTopicMetric
in interface Controlcenter.MetricMeasurementOrBuilder
public int getTopicMetricValue()
.command_alert.TopicTriggerMetricType topicMetric = 2;
getTopicMetricValue
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setTopicMetricValue(int value)
.command_alert.TopicTriggerMetricType topicMetric = 2;
value
- The enum numeric value on the wire for topicMetric to set.public CommandAlert.TopicTriggerMetricType getTopicMetric()
.command_alert.TopicTriggerMetricType topicMetric = 2;
getTopicMetric
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setTopicMetric(CommandAlert.TopicTriggerMetricType value)
.command_alert.TopicTriggerMetricType topicMetric = 2;
value
- The topicMetric to set.public Controlcenter.MetricMeasurement.Builder clearTopicMetric()
.command_alert.TopicTriggerMetricType topicMetric = 2;
public boolean hasLongValue()
int64 longValue = 3;
hasLongValue
in interface Controlcenter.MetricMeasurementOrBuilder
public long getLongValue()
int64 longValue = 3;
getLongValue
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setLongValue(long value)
int64 longValue = 3;
value
- The longValue to set.public Controlcenter.MetricMeasurement.Builder clearLongValue()
int64 longValue = 3;
public boolean hasStatusValue()
.command_alert.StatusValue statusValue = 4;
hasStatusValue
in interface Controlcenter.MetricMeasurementOrBuilder
public int getStatusValueValue()
.command_alert.StatusValue statusValue = 4;
getStatusValueValue
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setStatusValueValue(int value)
.command_alert.StatusValue statusValue = 4;
value
- The enum numeric value on the wire for statusValue to set.public CommandAlert.StatusValue getStatusValue()
.command_alert.StatusValue statusValue = 4;
getStatusValue
in interface Controlcenter.MetricMeasurementOrBuilder
public Controlcenter.MetricMeasurement.Builder setStatusValue(CommandAlert.StatusValue value)
.command_alert.StatusValue statusValue = 4;
value
- The statusValue to set.public Controlcenter.MetricMeasurement.Builder clearStatusValue()
.command_alert.StatusValue statusValue = 4;
public final Controlcenter.MetricMeasurement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>
public final Controlcenter.MetricMeasurement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Controlcenter.MetricMeasurement.Builder>