Class OpennmsModelProtos.AlarmFeedback.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.AlarmFeedback.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,OpennmsModelProtos.AlarmFeedbackOrBuilder
- Enclosing class:
- OpennmsModelProtos.AlarmFeedback
public static final class OpennmsModelProtos.AlarmFeedback.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder> implements OpennmsModelProtos.AlarmFeedbackOrBuilder
Protobuf typeAlarmFeedback
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpennmsModelProtos.AlarmFeedback.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.AlarmFeedback
build()
OpennmsModelProtos.AlarmFeedback
buildPartial()
OpennmsModelProtos.AlarmFeedback.Builder
clear()
OpennmsModelProtos.AlarmFeedback.Builder
clearAlarmKey()
string alarm_key = 3;
OpennmsModelProtos.AlarmFeedback.Builder
clearFeedbackType()
.AlarmFeedback.FeedbackType feedback_type = 4;
OpennmsModelProtos.AlarmFeedback.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OpennmsModelProtos.AlarmFeedback.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpennmsModelProtos.AlarmFeedback.Builder
clearReason()
string reason = 5;
OpennmsModelProtos.AlarmFeedback.Builder
clearSituationFingerprint()
string situation_fingerprint = 2;
OpennmsModelProtos.AlarmFeedback.Builder
clearSituationKey()
string situation_key = 1;
OpennmsModelProtos.AlarmFeedback.Builder
clearTimestamp()
uint64 timestamp = 7;
OpennmsModelProtos.AlarmFeedback.Builder
clearUser()
string user = 6;
OpennmsModelProtos.AlarmFeedback.Builder
clone()
java.lang.String
getAlarmKey()
string alarm_key = 3;
com.google.protobuf.ByteString
getAlarmKeyBytes()
string alarm_key = 3;
OpennmsModelProtos.AlarmFeedback
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
OpennmsModelProtos.AlarmFeedback.FeedbackType
getFeedbackType()
.AlarmFeedback.FeedbackType feedback_type = 4;
int
getFeedbackTypeValue()
.AlarmFeedback.FeedbackType feedback_type = 4;
java.lang.String
getReason()
string reason = 5;
com.google.protobuf.ByteString
getReasonBytes()
string reason = 5;
java.lang.String
getSituationFingerprint()
string situation_fingerprint = 2;
com.google.protobuf.ByteString
getSituationFingerprintBytes()
string situation_fingerprint = 2;
java.lang.String
getSituationKey()
string situation_key = 1;
com.google.protobuf.ByteString
getSituationKeyBytes()
string situation_key = 1;
long
getTimestamp()
uint64 timestamp = 7;
java.lang.String
getUser()
string user = 6;
com.google.protobuf.ByteString
getUserBytes()
string user = 6;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OpennmsModelProtos.AlarmFeedback.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpennmsModelProtos.AlarmFeedback.Builder
mergeFrom(com.google.protobuf.Message other)
OpennmsModelProtos.AlarmFeedback.Builder
mergeFrom(OpennmsModelProtos.AlarmFeedback other)
OpennmsModelProtos.AlarmFeedback.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.AlarmFeedback.Builder
setAlarmKey(java.lang.String value)
string alarm_key = 3;
OpennmsModelProtos.AlarmFeedback.Builder
setAlarmKeyBytes(com.google.protobuf.ByteString value)
string alarm_key = 3;
OpennmsModelProtos.AlarmFeedback.Builder
setFeedbackType(OpennmsModelProtos.AlarmFeedback.FeedbackType value)
.AlarmFeedback.FeedbackType feedback_type = 4;
OpennmsModelProtos.AlarmFeedback.Builder
setFeedbackTypeValue(int value)
.AlarmFeedback.FeedbackType feedback_type = 4;
OpennmsModelProtos.AlarmFeedback.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.AlarmFeedback.Builder
setReason(java.lang.String value)
string reason = 5;
OpennmsModelProtos.AlarmFeedback.Builder
setReasonBytes(com.google.protobuf.ByteString value)
string reason = 5;
OpennmsModelProtos.AlarmFeedback.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
OpennmsModelProtos.AlarmFeedback.Builder
setSituationFingerprint(java.lang.String value)
string situation_fingerprint = 2;
OpennmsModelProtos.AlarmFeedback.Builder
setSituationFingerprintBytes(com.google.protobuf.ByteString value)
string situation_fingerprint = 2;
OpennmsModelProtos.AlarmFeedback.Builder
setSituationKey(java.lang.String value)
string situation_key = 1;
OpennmsModelProtos.AlarmFeedback.Builder
setSituationKeyBytes(com.google.protobuf.ByteString value)
string situation_key = 1;
OpennmsModelProtos.AlarmFeedback.Builder
setTimestamp(long value)
uint64 timestamp = 7;
OpennmsModelProtos.AlarmFeedback.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.AlarmFeedback.Builder
setUser(java.lang.String value)
string user = 6;
OpennmsModelProtos.AlarmFeedback.Builder
setUserBytes(com.google.protobuf.ByteString value)
string user = 6;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
clear
public OpennmsModelProtos.AlarmFeedback.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.AlarmFeedback getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.AlarmFeedback build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.AlarmFeedback buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.AlarmFeedback.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
setField
public OpennmsModelProtos.AlarmFeedback.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
clearField
public OpennmsModelProtos.AlarmFeedback.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
clearOneof
public OpennmsModelProtos.AlarmFeedback.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
setRepeatedField
public OpennmsModelProtos.AlarmFeedback.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
addRepeatedField
public OpennmsModelProtos.AlarmFeedback.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
mergeFrom
public OpennmsModelProtos.AlarmFeedback.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
mergeFrom
public OpennmsModelProtos.AlarmFeedback.Builder mergeFrom(OpennmsModelProtos.AlarmFeedback other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
mergeFrom
public OpennmsModelProtos.AlarmFeedback.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
- Throws:
java.io.IOException
-
getSituationKey
public java.lang.String getSituationKey()
string situation_key = 1;
- Specified by:
getSituationKey
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
getSituationKeyBytes
public com.google.protobuf.ByteString getSituationKeyBytes()
string situation_key = 1;
- Specified by:
getSituationKeyBytes
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setSituationKey
public OpennmsModelProtos.AlarmFeedback.Builder setSituationKey(java.lang.String value)
string situation_key = 1;
-
clearSituationKey
public OpennmsModelProtos.AlarmFeedback.Builder clearSituationKey()
string situation_key = 1;
-
setSituationKeyBytes
public OpennmsModelProtos.AlarmFeedback.Builder setSituationKeyBytes(com.google.protobuf.ByteString value)
string situation_key = 1;
-
getSituationFingerprint
public java.lang.String getSituationFingerprint()
string situation_fingerprint = 2;
- Specified by:
getSituationFingerprint
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
getSituationFingerprintBytes
public com.google.protobuf.ByteString getSituationFingerprintBytes()
string situation_fingerprint = 2;
- Specified by:
getSituationFingerprintBytes
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setSituationFingerprint
public OpennmsModelProtos.AlarmFeedback.Builder setSituationFingerprint(java.lang.String value)
string situation_fingerprint = 2;
-
clearSituationFingerprint
public OpennmsModelProtos.AlarmFeedback.Builder clearSituationFingerprint()
string situation_fingerprint = 2;
-
setSituationFingerprintBytes
public OpennmsModelProtos.AlarmFeedback.Builder setSituationFingerprintBytes(com.google.protobuf.ByteString value)
string situation_fingerprint = 2;
-
getAlarmKey
public java.lang.String getAlarmKey()
string alarm_key = 3;
- Specified by:
getAlarmKey
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
getAlarmKeyBytes
public com.google.protobuf.ByteString getAlarmKeyBytes()
string alarm_key = 3;
- Specified by:
getAlarmKeyBytes
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setAlarmKey
public OpennmsModelProtos.AlarmFeedback.Builder setAlarmKey(java.lang.String value)
string alarm_key = 3;
-
clearAlarmKey
public OpennmsModelProtos.AlarmFeedback.Builder clearAlarmKey()
string alarm_key = 3;
-
setAlarmKeyBytes
public OpennmsModelProtos.AlarmFeedback.Builder setAlarmKeyBytes(com.google.protobuf.ByteString value)
string alarm_key = 3;
-
getFeedbackTypeValue
public int getFeedbackTypeValue()
.AlarmFeedback.FeedbackType feedback_type = 4;
- Specified by:
getFeedbackTypeValue
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setFeedbackTypeValue
public OpennmsModelProtos.AlarmFeedback.Builder setFeedbackTypeValue(int value)
.AlarmFeedback.FeedbackType feedback_type = 4;
-
getFeedbackType
public OpennmsModelProtos.AlarmFeedback.FeedbackType getFeedbackType()
.AlarmFeedback.FeedbackType feedback_type = 4;
- Specified by:
getFeedbackType
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setFeedbackType
public OpennmsModelProtos.AlarmFeedback.Builder setFeedbackType(OpennmsModelProtos.AlarmFeedback.FeedbackType value)
.AlarmFeedback.FeedbackType feedback_type = 4;
-
clearFeedbackType
public OpennmsModelProtos.AlarmFeedback.Builder clearFeedbackType()
.AlarmFeedback.FeedbackType feedback_type = 4;
-
getReason
public java.lang.String getReason()
string reason = 5;
- Specified by:
getReason
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 5;
- Specified by:
getReasonBytes
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setReason
public OpennmsModelProtos.AlarmFeedback.Builder setReason(java.lang.String value)
string reason = 5;
-
clearReason
public OpennmsModelProtos.AlarmFeedback.Builder clearReason()
string reason = 5;
-
setReasonBytes
public OpennmsModelProtos.AlarmFeedback.Builder setReasonBytes(com.google.protobuf.ByteString value)
string reason = 5;
-
getUser
public java.lang.String getUser()
string user = 6;
- Specified by:
getUser
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
string user = 6;
- Specified by:
getUserBytes
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setUser
public OpennmsModelProtos.AlarmFeedback.Builder setUser(java.lang.String value)
string user = 6;
-
clearUser
public OpennmsModelProtos.AlarmFeedback.Builder clearUser()
string user = 6;
-
setUserBytes
public OpennmsModelProtos.AlarmFeedback.Builder setUserBytes(com.google.protobuf.ByteString value)
string user = 6;
-
getTimestamp
public long getTimestamp()
uint64 timestamp = 7;
- Specified by:
getTimestamp
in interfaceOpennmsModelProtos.AlarmFeedbackOrBuilder
-
setTimestamp
public OpennmsModelProtos.AlarmFeedback.Builder setTimestamp(long value)
uint64 timestamp = 7;
-
clearTimestamp
public OpennmsModelProtos.AlarmFeedback.Builder clearTimestamp()
uint64 timestamp = 7;
-
setUnknownFields
public final OpennmsModelProtos.AlarmFeedback.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.AlarmFeedback.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.AlarmFeedback.Builder>
-
-