Class EventsProto.Event
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.opennms.features.kafka.consumer.events.EventsProto.Event
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,EventsProto.EventOrBuilder
- Enclosing class:
- EventsProto
public static final class EventsProto.Event extends com.google.protobuf.GeneratedMessageV3 implements EventsProto.EventOrBuilder
Protobuf typeEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventsProto.Event.BuilderProtobuf 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 intDESCRIPTION_FIELD_NUMBERstatic intDIST_POLLER_FIELD_NUMBERstatic intHOST_FIELD_NUMBERstatic intIF_INDEX_FIELD_NUMBERstatic intIP_ADDRESS_FIELD_NUMBERstatic intLOG_CONTENT_FIELD_NUMBERstatic intLOG_DEST_FIELD_NUMBERstatic intNODE_ID_FIELD_NUMBERstatic intPARAMETER_FIELD_NUMBERstatic intSERVICE_NAME_FIELD_NUMBERstatic intSEVERITY_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intUEI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static EventsProto.EventgetDefaultInstance()EventsProto.EventgetDefaultInstanceForType()StringgetDescription()string description = 9;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 9;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDistPoller()string dist_poller = 10;com.google.protobuf.ByteStringgetDistPollerBytes()string dist_poller = 10;StringgetHost()string host = 4;com.google.protobuf.ByteStringgetHostBytes()string host = 4;intgetIfIndex()uint32 if_index = 8;StringgetIpAddress()string ip_address = 6;com.google.protobuf.ByteStringgetIpAddressBytes()string ip_address = 6;StringgetLogContent()string log_content = 12;com.google.protobuf.ByteStringgetLogContentBytes()string log_content = 12;StringgetLogDest()string log_dest = 11;com.google.protobuf.ByteStringgetLogDestBytes()string log_dest = 11;intgetNodeId()uint32 node_id = 5;EventsProto.EventParametergetParameter(int index)repeated .EventParameter parameter = 13;intgetParameterCount()repeated .EventParameter parameter = 13;List<EventsProto.EventParameter>getParameterList()repeated .EventParameter parameter = 13;EventsProto.EventParameterOrBuildergetParameterOrBuilder(int index)repeated .EventParameter parameter = 13;List<? extends EventsProto.EventParameterOrBuilder>getParameterOrBuilderList()repeated .EventParameter parameter = 13;com.google.protobuf.Parser<EventsProto.Event>getParserForType()intgetSerializedSize()StringgetServiceName()string service_name = 7;com.google.protobuf.ByteStringgetServiceNameBytes()string service_name = 7;EventsProto.SeveritygetSeverity()required fieldintgetSeverityValue()required fieldStringgetSource()required fieldcom.google.protobuf.ByteStringgetSourceBytes()required fieldStringgetUei()required fieldcom.google.protobuf.ByteStringgetUeiBytes()required fieldcom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static EventsProto.Event.BuildernewBuilder()static EventsProto.Event.BuildernewBuilder(EventsProto.Event prototype)EventsProto.Event.BuildernewBuilderForType()protected EventsProto.Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static EventsProto.EventparseDelimitedFrom(InputStream input)static EventsProto.EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventsProto.EventparseFrom(byte[] data)static EventsProto.EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventsProto.EventparseFrom(com.google.protobuf.ByteString data)static EventsProto.EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventsProto.EventparseFrom(com.google.protobuf.CodedInputStream input)static EventsProto.EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventsProto.EventparseFrom(InputStream input)static EventsProto.EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventsProto.EventparseFrom(ByteBuffer data)static EventsProto.EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<EventsProto.Event>parser()EventsProto.Event.BuildertoBuilder()voidwriteTo(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
-
UEI_FIELD_NUMBER
public static final int UEI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_INDEX_FIELD_NUMBER
public static final int IF_INDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIST_POLLER_FIELD_NUMBER
public static final int DIST_POLLER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_DEST_FIELD_NUMBER
public static final int LOG_DEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_CONTENT_FIELD_NUMBER
public static final int LOG_CONTENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETER_FIELD_NUMBER
public static final int PARAMETER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUei
public String getUei()
required field
string uei = 1;- Specified by:
getUeiin interfaceEventsProto.EventOrBuilder
-
getUeiBytes
public com.google.protobuf.ByteString getUeiBytes()
required field
string uei = 1;- Specified by:
getUeiBytesin interfaceEventsProto.EventOrBuilder
-
getSource
public String getSource()
required field
string source = 2;- Specified by:
getSourcein interfaceEventsProto.EventOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
required field
string source = 2;- Specified by:
getSourceBytesin interfaceEventsProto.EventOrBuilder
-
getSeverityValue
public int getSeverityValue()
required field
.Severity severity = 3;- Specified by:
getSeverityValuein interfaceEventsProto.EventOrBuilder
-
getSeverity
public EventsProto.Severity getSeverity()
required field
.Severity severity = 3;- Specified by:
getSeverityin interfaceEventsProto.EventOrBuilder
-
getHost
public String getHost()
string host = 4;- Specified by:
getHostin interfaceEventsProto.EventOrBuilder
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
string host = 4;- Specified by:
getHostBytesin interfaceEventsProto.EventOrBuilder
-
getNodeId
public int getNodeId()
uint32 node_id = 5;- Specified by:
getNodeIdin interfaceEventsProto.EventOrBuilder
-
getIpAddress
public String getIpAddress()
string ip_address = 6;- Specified by:
getIpAddressin interfaceEventsProto.EventOrBuilder
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
string ip_address = 6;- Specified by:
getIpAddressBytesin interfaceEventsProto.EventOrBuilder
-
getServiceName
public String getServiceName()
string service_name = 7;- Specified by:
getServiceNamein interfaceEventsProto.EventOrBuilder
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
string service_name = 7;- Specified by:
getServiceNameBytesin interfaceEventsProto.EventOrBuilder
-
getIfIndex
public int getIfIndex()
uint32 if_index = 8;- Specified by:
getIfIndexin interfaceEventsProto.EventOrBuilder
-
getDescription
public String getDescription()
string description = 9;- Specified by:
getDescriptionin interfaceEventsProto.EventOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 9;- Specified by:
getDescriptionBytesin interfaceEventsProto.EventOrBuilder
-
getDistPoller
public String getDistPoller()
string dist_poller = 10;- Specified by:
getDistPollerin interfaceEventsProto.EventOrBuilder
-
getDistPollerBytes
public com.google.protobuf.ByteString getDistPollerBytes()
string dist_poller = 10;- Specified by:
getDistPollerBytesin interfaceEventsProto.EventOrBuilder
-
getLogDest
public String getLogDest()
string log_dest = 11;- Specified by:
getLogDestin interfaceEventsProto.EventOrBuilder
-
getLogDestBytes
public com.google.protobuf.ByteString getLogDestBytes()
string log_dest = 11;- Specified by:
getLogDestBytesin interfaceEventsProto.EventOrBuilder
-
getLogContent
public String getLogContent()
string log_content = 12;- Specified by:
getLogContentin interfaceEventsProto.EventOrBuilder
-
getLogContentBytes
public com.google.protobuf.ByteString getLogContentBytes()
string log_content = 12;- Specified by:
getLogContentBytesin interfaceEventsProto.EventOrBuilder
-
getParameterList
public List<EventsProto.EventParameter> getParameterList()
repeated .EventParameter parameter = 13;- Specified by:
getParameterListin interfaceEventsProto.EventOrBuilder
-
getParameterOrBuilderList
public List<? extends EventsProto.EventParameterOrBuilder> getParameterOrBuilderList()
repeated .EventParameter parameter = 13;- Specified by:
getParameterOrBuilderListin interfaceEventsProto.EventOrBuilder
-
getParameterCount
public int getParameterCount()
repeated .EventParameter parameter = 13;- Specified by:
getParameterCountin interfaceEventsProto.EventOrBuilder
-
getParameter
public EventsProto.EventParameter getParameter(int index)
repeated .EventParameter parameter = 13;- Specified by:
getParameterin interfaceEventsProto.EventOrBuilder
-
getParameterOrBuilder
public EventsProto.EventParameterOrBuilder getParameterOrBuilder(int index)
repeated .EventParameter parameter = 13;- Specified by:
getParameterOrBuilderin interfaceEventsProto.EventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EventsProto.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventsProto.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventsProto.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventsProto.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 EventsProto.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventsProto.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventsProto.Event parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EventsProto.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EventsProto.Event parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EventsProto.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EventsProto.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EventsProto.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EventsProto.Event.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EventsProto.Event.Builder newBuilder()
-
newBuilder
public static EventsProto.Event.Builder newBuilder(EventsProto.Event prototype)
-
toBuilder
public EventsProto.Event.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventsProto.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EventsProto.Event getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EventsProto.Event> parser()
-
getParserForType
public com.google.protobuf.Parser<EventsProto.Event> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EventsProto.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-