Class OpennmsModelProtos.Event
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.Event
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,OpennmsModelProtos.EventOrBuilder
- Enclosing class:
- OpennmsModelProtos
public static final class OpennmsModelProtos.Event extends com.google.protobuf.GeneratedMessageV3 implements OpennmsModelProtos.EventOrBuilder
Protobuf typeEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpennmsModelProtos.Event.Builder
Protobuf typeEvent
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_TIME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DISPLAY_FIELD_NUMBER
static int
DIST_POLLER_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
IP_ADDRESS_FIELD_NUMBER
static int
LABEL_FIELD_NUMBER
static int
LOG_FIELD_NUMBER
static int
LOG_MESSAGE_FIELD_NUMBER
static int
NODE_CRITERIA_FIELD_NUMBER
static int
PARAMETER_FIELD_NUMBER
static int
SEVERITY_FIELD_NUMBER
static int
SNMPINFO_FIELD_NUMBER
static int
SOURCE_FIELD_NUMBER
static int
TIME_FIELD_NUMBER
static int
UEI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getCreateTime()
uint64 create_time = 7;
static OpennmsModelProtos.Event
getDefaultInstance()
OpennmsModelProtos.Event
getDefaultInstanceForType()
String
getDescription()
string description = 8;
com.google.protobuf.ByteString
getDescriptionBytes()
string description = 8;
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getDisplay()
bool display = 12;
String
getDistPoller()
string dist_poller = 15;
com.google.protobuf.ByteString
getDistPollerBytes()
string dist_poller = 15;
long
getId()
uint64 id = 1;
String
getIpAddress()
string ip_address = 14;
com.google.protobuf.ByteString
getIpAddressBytes()
string ip_address = 14;
String
getLabel()
string label = 3;
com.google.protobuf.ByteString
getLabelBytes()
string label = 3;
boolean
getLog()
bool log = 11;
String
getLogMessage()
string log_message = 9;
com.google.protobuf.ByteString
getLogMessageBytes()
string log_message = 9;
OpennmsModelProtos.NodeCriteria
getNodeCriteria()
.NodeCriteria node_criteria = 13;
OpennmsModelProtos.NodeCriteriaOrBuilder
getNodeCriteriaOrBuilder()
.NodeCriteria node_criteria = 13;
OpennmsModelProtos.EventParameter
getParameter(int index)
repeated .EventParameter parameter = 6;
int
getParameterCount()
repeated .EventParameter parameter = 6;
List<OpennmsModelProtos.EventParameter>
getParameterList()
repeated .EventParameter parameter = 6;
OpennmsModelProtos.EventParameterOrBuilder
getParameterOrBuilder(int index)
repeated .EventParameter parameter = 6;
List<? extends OpennmsModelProtos.EventParameterOrBuilder>
getParameterOrBuilderList()
repeated .EventParameter parameter = 6;
com.google.protobuf.Parser<OpennmsModelProtos.Event>
getParserForType()
int
getSerializedSize()
OpennmsModelProtos.Severity
getSeverity()
.Severity severity = 10;
int
getSeverityValue()
.Severity severity = 10;
OpennmsModelProtos.SnmpInfo
getSnmpInfo()
.SnmpInfo snmpInfo = 16;
OpennmsModelProtos.SnmpInfoOrBuilder
getSnmpInfoOrBuilder()
.SnmpInfo snmpInfo = 16;
String
getSource()
string source = 5;
com.google.protobuf.ByteString
getSourceBytes()
string source = 5;
long
getTime()
uint64 time = 4;
String
getUei()
string uei = 2;
com.google.protobuf.ByteString
getUeiBytes()
string uei = 2;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasNodeCriteria()
.NodeCriteria node_criteria = 13;
boolean
hasSnmpInfo()
.SnmpInfo snmpInfo = 16;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OpennmsModelProtos.Event.Builder
newBuilder()
static OpennmsModelProtos.Event.Builder
newBuilder(OpennmsModelProtos.Event prototype)
OpennmsModelProtos.Event.Builder
newBuilderForType()
protected OpennmsModelProtos.Event.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static OpennmsModelProtos.Event
parseDelimitedFrom(InputStream input)
static OpennmsModelProtos.Event
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OpennmsModelProtos.Event
parseFrom(byte[] data)
static OpennmsModelProtos.Event
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OpennmsModelProtos.Event
parseFrom(com.google.protobuf.ByteString data)
static OpennmsModelProtos.Event
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OpennmsModelProtos.Event
parseFrom(com.google.protobuf.CodedInputStream input)
static OpennmsModelProtos.Event
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OpennmsModelProtos.Event
parseFrom(InputStream input)
static OpennmsModelProtos.Event
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OpennmsModelProtos.Event
parseFrom(ByteBuffer data)
static OpennmsModelProtos.Event
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OpennmsModelProtos.Event>
parser()
OpennmsModelProtos.Event.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UEI_FIELD_NUMBER
public static final int UEI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETER_FIELD_NUMBER
public static final int PARAMETER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_MESSAGE_FIELD_NUMBER
public static final int LOG_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_FIELD_NUMBER
public static final int LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_FIELD_NUMBER
public static final int DISPLAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_CRITERIA_FIELD_NUMBER
public static final int NODE_CRITERIA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIST_POLLER_FIELD_NUMBER
public static final int DIST_POLLER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNMPINFO_FIELD_NUMBER
public static final int SNMPINFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getId
public long getId()
uint64 id = 1;
- Specified by:
getId
in interfaceOpennmsModelProtos.EventOrBuilder
-
getUei
public String getUei()
string uei = 2;
- Specified by:
getUei
in interfaceOpennmsModelProtos.EventOrBuilder
-
getUeiBytes
public com.google.protobuf.ByteString getUeiBytes()
string uei = 2;
- Specified by:
getUeiBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
getLabel
public String getLabel()
string label = 3;
- Specified by:
getLabel
in interfaceOpennmsModelProtos.EventOrBuilder
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
string label = 3;
- Specified by:
getLabelBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
getTime
public long getTime()
uint64 time = 4;
- Specified by:
getTime
in interfaceOpennmsModelProtos.EventOrBuilder
-
getSource
public String getSource()
string source = 5;
- Specified by:
getSource
in interfaceOpennmsModelProtos.EventOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
string source = 5;
- Specified by:
getSourceBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
getParameterList
public List<OpennmsModelProtos.EventParameter> getParameterList()
repeated .EventParameter parameter = 6;
- Specified by:
getParameterList
in interfaceOpennmsModelProtos.EventOrBuilder
-
getParameterOrBuilderList
public List<? extends OpennmsModelProtos.EventParameterOrBuilder> getParameterOrBuilderList()
repeated .EventParameter parameter = 6;
- Specified by:
getParameterOrBuilderList
in interfaceOpennmsModelProtos.EventOrBuilder
-
getParameterCount
public int getParameterCount()
repeated .EventParameter parameter = 6;
- Specified by:
getParameterCount
in interfaceOpennmsModelProtos.EventOrBuilder
-
getParameter
public OpennmsModelProtos.EventParameter getParameter(int index)
repeated .EventParameter parameter = 6;
- Specified by:
getParameter
in interfaceOpennmsModelProtos.EventOrBuilder
-
getParameterOrBuilder
public OpennmsModelProtos.EventParameterOrBuilder getParameterOrBuilder(int index)
repeated .EventParameter parameter = 6;
- Specified by:
getParameterOrBuilder
in interfaceOpennmsModelProtos.EventOrBuilder
-
getCreateTime
public long getCreateTime()
uint64 create_time = 7;
- Specified by:
getCreateTime
in interfaceOpennmsModelProtos.EventOrBuilder
-
getDescription
public String getDescription()
string description = 8;
- Specified by:
getDescription
in interfaceOpennmsModelProtos.EventOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 8;
- Specified by:
getDescriptionBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
getLogMessage
public String getLogMessage()
string log_message = 9;
- Specified by:
getLogMessage
in interfaceOpennmsModelProtos.EventOrBuilder
-
getLogMessageBytes
public com.google.protobuf.ByteString getLogMessageBytes()
string log_message = 9;
- Specified by:
getLogMessageBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
getSeverityValue
public int getSeverityValue()
.Severity severity = 10;
- Specified by:
getSeverityValue
in interfaceOpennmsModelProtos.EventOrBuilder
-
getSeverity
public OpennmsModelProtos.Severity getSeverity()
.Severity severity = 10;
- Specified by:
getSeverity
in interfaceOpennmsModelProtos.EventOrBuilder
-
getLog
public boolean getLog()
bool log = 11;
- Specified by:
getLog
in interfaceOpennmsModelProtos.EventOrBuilder
-
getDisplay
public boolean getDisplay()
bool display = 12;
- Specified by:
getDisplay
in interfaceOpennmsModelProtos.EventOrBuilder
-
hasNodeCriteria
public boolean hasNodeCriteria()
.NodeCriteria node_criteria = 13;
- Specified by:
hasNodeCriteria
in interfaceOpennmsModelProtos.EventOrBuilder
-
getNodeCriteria
public OpennmsModelProtos.NodeCriteria getNodeCriteria()
.NodeCriteria node_criteria = 13;
- Specified by:
getNodeCriteria
in interfaceOpennmsModelProtos.EventOrBuilder
-
getNodeCriteriaOrBuilder
public OpennmsModelProtos.NodeCriteriaOrBuilder getNodeCriteriaOrBuilder()
.NodeCriteria node_criteria = 13;
- Specified by:
getNodeCriteriaOrBuilder
in interfaceOpennmsModelProtos.EventOrBuilder
-
getIpAddress
public String getIpAddress()
string ip_address = 14;
- Specified by:
getIpAddress
in interfaceOpennmsModelProtos.EventOrBuilder
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
string ip_address = 14;
- Specified by:
getIpAddressBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
getDistPoller
public String getDistPoller()
string dist_poller = 15;
- Specified by:
getDistPoller
in interfaceOpennmsModelProtos.EventOrBuilder
-
getDistPollerBytes
public com.google.protobuf.ByteString getDistPollerBytes()
string dist_poller = 15;
- Specified by:
getDistPollerBytes
in interfaceOpennmsModelProtos.EventOrBuilder
-
hasSnmpInfo
public boolean hasSnmpInfo()
.SnmpInfo snmpInfo = 16;
- Specified by:
hasSnmpInfo
in interfaceOpennmsModelProtos.EventOrBuilder
-
getSnmpInfo
public OpennmsModelProtos.SnmpInfo getSnmpInfo()
.SnmpInfo snmpInfo = 16;
- Specified by:
getSnmpInfo
in interfaceOpennmsModelProtos.EventOrBuilder
-
getSnmpInfoOrBuilder
public OpennmsModelProtos.SnmpInfoOrBuilder getSnmpInfoOrBuilder()
.SnmpInfo snmpInfo = 16;
- Specified by:
getSnmpInfoOrBuilder
in interfaceOpennmsModelProtos.EventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpennmsModelProtos.Event parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpennmsModelProtos.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpennmsModelProtos.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpennmsModelProtos.Event.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpennmsModelProtos.Event.Builder newBuilder()
-
newBuilder
public static OpennmsModelProtos.Event.Builder newBuilder(OpennmsModelProtos.Event prototype)
-
toBuilder
public OpennmsModelProtos.Event.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpennmsModelProtos.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpennmsModelProtos.Event getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpennmsModelProtos.Event> parser()
-
getParserForType
public com.google.protobuf.Parser<OpennmsModelProtos.Event> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpennmsModelProtos.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-