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 class
EventsProto.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
DESCRIPTION_FIELD_NUMBER
static int
DIST_POLLER_FIELD_NUMBER
static int
HOST_FIELD_NUMBER
static int
IF_INDEX_FIELD_NUMBER
static int
IP_ADDRESS_FIELD_NUMBER
static int
LOG_CONTENT_FIELD_NUMBER
static int
LOG_DEST_FIELD_NUMBER
static int
NODE_ID_FIELD_NUMBER
static int
PARAMETER_FIELD_NUMBER
static int
SERVICE_NAME_FIELD_NUMBER
static int
SEVERITY_FIELD_NUMBER
static int
SOURCE_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)
static EventsProto.Event
getDefaultInstance()
EventsProto.Event
getDefaultInstanceForType()
String
getDescription()
string description = 9;
com.google.protobuf.ByteString
getDescriptionBytes()
string description = 9;
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDistPoller()
string dist_poller = 10;
com.google.protobuf.ByteString
getDistPollerBytes()
string dist_poller = 10;
String
getHost()
string host = 4;
com.google.protobuf.ByteString
getHostBytes()
string host = 4;
int
getIfIndex()
uint32 if_index = 8;
String
getIpAddress()
string ip_address = 6;
com.google.protobuf.ByteString
getIpAddressBytes()
string ip_address = 6;
String
getLogContent()
string log_content = 12;
com.google.protobuf.ByteString
getLogContentBytes()
string log_content = 12;
String
getLogDest()
string log_dest = 11;
com.google.protobuf.ByteString
getLogDestBytes()
string log_dest = 11;
int
getNodeId()
uint32 node_id = 5;
EventsProto.EventParameter
getParameter(int index)
repeated .EventParameter parameter = 13;
int
getParameterCount()
repeated .EventParameter parameter = 13;
List<EventsProto.EventParameter>
getParameterList()
repeated .EventParameter parameter = 13;
EventsProto.EventParameterOrBuilder
getParameterOrBuilder(int index)
repeated .EventParameter parameter = 13;
List<? extends EventsProto.EventParameterOrBuilder>
getParameterOrBuilderList()
repeated .EventParameter parameter = 13;
com.google.protobuf.Parser<EventsProto.Event>
getParserForType()
int
getSerializedSize()
String
getServiceName()
string service_name = 7;
com.google.protobuf.ByteString
getServiceNameBytes()
string service_name = 7;
EventsProto.Severity
getSeverity()
required fieldint
getSeverityValue()
required fieldString
getSource()
required fieldcom.google.protobuf.ByteString
getSourceBytes()
required fieldString
getUei()
required fieldcom.google.protobuf.ByteString
getUeiBytes()
required fieldcom.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EventsProto.Event.Builder
newBuilder()
static EventsProto.Event.Builder
newBuilder(EventsProto.Event prototype)
EventsProto.Event.Builder
newBuilderForType()
protected EventsProto.Event.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static EventsProto.Event
parseDelimitedFrom(InputStream input)
static EventsProto.Event
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventsProto.Event
parseFrom(byte[] data)
static EventsProto.Event
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventsProto.Event
parseFrom(com.google.protobuf.ByteString data)
static EventsProto.Event
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventsProto.Event
parseFrom(com.google.protobuf.CodedInputStream input)
static EventsProto.Event
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventsProto.Event
parseFrom(InputStream input)
static EventsProto.Event
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EventsProto.Event
parseFrom(ByteBuffer data)
static EventsProto.Event
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EventsProto.Event>
parser()
EventsProto.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
-
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:
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
-
getUei
public String getUei()
required field
string uei = 1;
- Specified by:
getUei
in interfaceEventsProto.EventOrBuilder
-
getUeiBytes
public com.google.protobuf.ByteString getUeiBytes()
required field
string uei = 1;
- Specified by:
getUeiBytes
in interfaceEventsProto.EventOrBuilder
-
getSource
public String getSource()
required field
string source = 2;
- Specified by:
getSource
in interfaceEventsProto.EventOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
required field
string source = 2;
- Specified by:
getSourceBytes
in interfaceEventsProto.EventOrBuilder
-
getSeverityValue
public int getSeverityValue()
required field
.Severity severity = 3;
- Specified by:
getSeverityValue
in interfaceEventsProto.EventOrBuilder
-
getSeverity
public EventsProto.Severity getSeverity()
required field
.Severity severity = 3;
- Specified by:
getSeverity
in interfaceEventsProto.EventOrBuilder
-
getHost
public String getHost()
string host = 4;
- Specified by:
getHost
in interfaceEventsProto.EventOrBuilder
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
string host = 4;
- Specified by:
getHostBytes
in interfaceEventsProto.EventOrBuilder
-
getNodeId
public int getNodeId()
uint32 node_id = 5;
- Specified by:
getNodeId
in interfaceEventsProto.EventOrBuilder
-
getIpAddress
public String getIpAddress()
string ip_address = 6;
- Specified by:
getIpAddress
in interfaceEventsProto.EventOrBuilder
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
string ip_address = 6;
- Specified by:
getIpAddressBytes
in interfaceEventsProto.EventOrBuilder
-
getServiceName
public String getServiceName()
string service_name = 7;
- Specified by:
getServiceName
in interfaceEventsProto.EventOrBuilder
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
string service_name = 7;
- Specified by:
getServiceNameBytes
in interfaceEventsProto.EventOrBuilder
-
getIfIndex
public int getIfIndex()
uint32 if_index = 8;
- Specified by:
getIfIndex
in interfaceEventsProto.EventOrBuilder
-
getDescription
public String getDescription()
string description = 9;
- Specified by:
getDescription
in interfaceEventsProto.EventOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 9;
- Specified by:
getDescriptionBytes
in interfaceEventsProto.EventOrBuilder
-
getDistPoller
public String getDistPoller()
string dist_poller = 10;
- Specified by:
getDistPoller
in interfaceEventsProto.EventOrBuilder
-
getDistPollerBytes
public com.google.protobuf.ByteString getDistPollerBytes()
string dist_poller = 10;
- Specified by:
getDistPollerBytes
in interfaceEventsProto.EventOrBuilder
-
getLogDest
public String getLogDest()
string log_dest = 11;
- Specified by:
getLogDest
in interfaceEventsProto.EventOrBuilder
-
getLogDestBytes
public com.google.protobuf.ByteString getLogDestBytes()
string log_dest = 11;
- Specified by:
getLogDestBytes
in interfaceEventsProto.EventOrBuilder
-
getLogContent
public String getLogContent()
string log_content = 12;
- Specified by:
getLogContent
in interfaceEventsProto.EventOrBuilder
-
getLogContentBytes
public com.google.protobuf.ByteString getLogContentBytes()
string log_content = 12;
- Specified by:
getLogContentBytes
in interfaceEventsProto.EventOrBuilder
-
getParameterList
public List<EventsProto.EventParameter> getParameterList()
repeated .EventParameter parameter = 13;
- Specified by:
getParameterList
in interfaceEventsProto.EventOrBuilder
-
getParameterOrBuilderList
public List<? extends EventsProto.EventParameterOrBuilder> getParameterOrBuilderList()
repeated .EventParameter parameter = 13;
- Specified by:
getParameterOrBuilderList
in interfaceEventsProto.EventOrBuilder
-
getParameterCount
public int getParameterCount()
repeated .EventParameter parameter = 13;
- Specified by:
getParameterCount
in interfaceEventsProto.EventOrBuilder
-
getParameter
public EventsProto.EventParameter getParameter(int index)
repeated .EventParameter parameter = 13;
- Specified by:
getParameter
in interfaceEventsProto.EventOrBuilder
-
getParameterOrBuilder
public EventsProto.EventParameterOrBuilder getParameterOrBuilder(int index)
repeated .EventParameter parameter = 13;
- Specified by:
getParameterOrBuilder
in interfaceEventsProto.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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventsProto.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EventsProto.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-