Class OpennmsModelProtos.Event.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.Event.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.Event.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,OpennmsModelProtos.EventOrBuilder
- Enclosing class:
- OpennmsModelProtos.Event
public static final class OpennmsModelProtos.Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.Event.Builder> implements OpennmsModelProtos.EventOrBuilder
Protobuf typeEvent
-
-
Method Summary
-
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.Event.Builder>
-
clear
public OpennmsModelProtos.Event.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.Event.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.Event.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.Event build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.Event buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.Event.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.Event.Builder>
-
setField
public OpennmsModelProtos.Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.Event.Builder>
-
clearField
public OpennmsModelProtos.Event.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.Event.Builder>
-
clearOneof
public OpennmsModelProtos.Event.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.Event.Builder>
-
setRepeatedField
public OpennmsModelProtos.Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.Event.Builder>
-
addRepeatedField
public OpennmsModelProtos.Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.Event.Builder>
-
mergeFrom
public OpennmsModelProtos.Event.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.Event.Builder>
-
mergeFrom
public OpennmsModelProtos.Event.Builder mergeFrom(OpennmsModelProtos.Event other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.Event.Builder>
-
mergeFrom
public OpennmsModelProtos.Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.Event.Builder>
- Throws:
IOException
-
getId
public long getId()
uint64 id = 1;
- Specified by:
getId
in interfaceOpennmsModelProtos.EventOrBuilder
-
setId
public OpennmsModelProtos.Event.Builder setId(long value)
uint64 id = 1;
-
clearId
public OpennmsModelProtos.Event.Builder clearId()
uint64 id = 1;
-
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
-
setUei
public OpennmsModelProtos.Event.Builder setUei(String value)
string uei = 2;
-
clearUei
public OpennmsModelProtos.Event.Builder clearUei()
string uei = 2;
-
setUeiBytes
public OpennmsModelProtos.Event.Builder setUeiBytes(com.google.protobuf.ByteString value)
string uei = 2;
-
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
-
setLabel
public OpennmsModelProtos.Event.Builder setLabel(String value)
string label = 3;
-
clearLabel
public OpennmsModelProtos.Event.Builder clearLabel()
string label = 3;
-
setLabelBytes
public OpennmsModelProtos.Event.Builder setLabelBytes(com.google.protobuf.ByteString value)
string label = 3;
-
getTime
public long getTime()
uint64 time = 4;
- Specified by:
getTime
in interfaceOpennmsModelProtos.EventOrBuilder
-
setTime
public OpennmsModelProtos.Event.Builder setTime(long value)
uint64 time = 4;
-
clearTime
public OpennmsModelProtos.Event.Builder clearTime()
uint64 time = 4;
-
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
-
setSource
public OpennmsModelProtos.Event.Builder setSource(String value)
string source = 5;
-
clearSource
public OpennmsModelProtos.Event.Builder clearSource()
string source = 5;
-
setSourceBytes
public OpennmsModelProtos.Event.Builder setSourceBytes(com.google.protobuf.ByteString value)
string source = 5;
-
getParameterList
public List<OpennmsModelProtos.EventParameter> getParameterList()
repeated .EventParameter parameter = 6;
- Specified by:
getParameterList
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
-
setParameter
public OpennmsModelProtos.Event.Builder setParameter(int index, OpennmsModelProtos.EventParameter value)
repeated .EventParameter parameter = 6;
-
setParameter
public OpennmsModelProtos.Event.Builder setParameter(int index, OpennmsModelProtos.EventParameter.Builder builderForValue)
repeated .EventParameter parameter = 6;
-
addParameter
public OpennmsModelProtos.Event.Builder addParameter(OpennmsModelProtos.EventParameter value)
repeated .EventParameter parameter = 6;
-
addParameter
public OpennmsModelProtos.Event.Builder addParameter(int index, OpennmsModelProtos.EventParameter value)
repeated .EventParameter parameter = 6;
-
addParameter
public OpennmsModelProtos.Event.Builder addParameter(OpennmsModelProtos.EventParameter.Builder builderForValue)
repeated .EventParameter parameter = 6;
-
addParameter
public OpennmsModelProtos.Event.Builder addParameter(int index, OpennmsModelProtos.EventParameter.Builder builderForValue)
repeated .EventParameter parameter = 6;
-
addAllParameter
public OpennmsModelProtos.Event.Builder addAllParameter(Iterable<? extends OpennmsModelProtos.EventParameter> values)
repeated .EventParameter parameter = 6;
-
clearParameter
public OpennmsModelProtos.Event.Builder clearParameter()
repeated .EventParameter parameter = 6;
-
removeParameter
public OpennmsModelProtos.Event.Builder removeParameter(int index)
repeated .EventParameter parameter = 6;
-
getParameterBuilder
public OpennmsModelProtos.EventParameter.Builder getParameterBuilder(int index)
repeated .EventParameter parameter = 6;
-
getParameterOrBuilder
public OpennmsModelProtos.EventParameterOrBuilder getParameterOrBuilder(int index)
repeated .EventParameter parameter = 6;
- Specified by:
getParameterOrBuilder
in interfaceOpennmsModelProtos.EventOrBuilder
-
getParameterOrBuilderList
public List<? extends OpennmsModelProtos.EventParameterOrBuilder> getParameterOrBuilderList()
repeated .EventParameter parameter = 6;
- Specified by:
getParameterOrBuilderList
in interfaceOpennmsModelProtos.EventOrBuilder
-
addParameterBuilder
public OpennmsModelProtos.EventParameter.Builder addParameterBuilder()
repeated .EventParameter parameter = 6;
-
addParameterBuilder
public OpennmsModelProtos.EventParameter.Builder addParameterBuilder(int index)
repeated .EventParameter parameter = 6;
-
getParameterBuilderList
public List<OpennmsModelProtos.EventParameter.Builder> getParameterBuilderList()
repeated .EventParameter parameter = 6;
-
getCreateTime
public long getCreateTime()
uint64 create_time = 7;
- Specified by:
getCreateTime
in interfaceOpennmsModelProtos.EventOrBuilder
-
setCreateTime
public OpennmsModelProtos.Event.Builder setCreateTime(long value)
uint64 create_time = 7;
-
clearCreateTime
public OpennmsModelProtos.Event.Builder clearCreateTime()
uint64 create_time = 7;
-
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
-
setDescription
public OpennmsModelProtos.Event.Builder setDescription(String value)
string description = 8;
-
clearDescription
public OpennmsModelProtos.Event.Builder clearDescription()
string description = 8;
-
setDescriptionBytes
public OpennmsModelProtos.Event.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
string description = 8;
-
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
-
setLogMessage
public OpennmsModelProtos.Event.Builder setLogMessage(String value)
string log_message = 9;
-
clearLogMessage
public OpennmsModelProtos.Event.Builder clearLogMessage()
string log_message = 9;
-
setLogMessageBytes
public OpennmsModelProtos.Event.Builder setLogMessageBytes(com.google.protobuf.ByteString value)
string log_message = 9;
-
getSeverityValue
public int getSeverityValue()
.Severity severity = 10;
- Specified by:
getSeverityValue
in interfaceOpennmsModelProtos.EventOrBuilder
-
setSeverityValue
public OpennmsModelProtos.Event.Builder setSeverityValue(int value)
.Severity severity = 10;
-
getSeverity
public OpennmsModelProtos.Severity getSeverity()
.Severity severity = 10;
- Specified by:
getSeverity
in interfaceOpennmsModelProtos.EventOrBuilder
-
setSeverity
public OpennmsModelProtos.Event.Builder setSeverity(OpennmsModelProtos.Severity value)
.Severity severity = 10;
-
clearSeverity
public OpennmsModelProtos.Event.Builder clearSeverity()
.Severity severity = 10;
-
getLog
public boolean getLog()
bool log = 11;
- Specified by:
getLog
in interfaceOpennmsModelProtos.EventOrBuilder
-
setLog
public OpennmsModelProtos.Event.Builder setLog(boolean value)
bool log = 11;
-
clearLog
public OpennmsModelProtos.Event.Builder clearLog()
bool log = 11;
-
getDisplay
public boolean getDisplay()
bool display = 12;
- Specified by:
getDisplay
in interfaceOpennmsModelProtos.EventOrBuilder
-
setDisplay
public OpennmsModelProtos.Event.Builder setDisplay(boolean value)
bool display = 12;
-
clearDisplay
public OpennmsModelProtos.Event.Builder clearDisplay()
bool display = 12;
-
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
-
setNodeCriteria
public OpennmsModelProtos.Event.Builder setNodeCriteria(OpennmsModelProtos.NodeCriteria value)
.NodeCriteria node_criteria = 13;
-
setNodeCriteria
public OpennmsModelProtos.Event.Builder setNodeCriteria(OpennmsModelProtos.NodeCriteria.Builder builderForValue)
.NodeCriteria node_criteria = 13;
-
mergeNodeCriteria
public OpennmsModelProtos.Event.Builder mergeNodeCriteria(OpennmsModelProtos.NodeCriteria value)
.NodeCriteria node_criteria = 13;
-
clearNodeCriteria
public OpennmsModelProtos.Event.Builder clearNodeCriteria()
.NodeCriteria node_criteria = 13;
-
getNodeCriteriaBuilder
public OpennmsModelProtos.NodeCriteria.Builder getNodeCriteriaBuilder()
.NodeCriteria node_criteria = 13;
-
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
-
setIpAddress
public OpennmsModelProtos.Event.Builder setIpAddress(String value)
string ip_address = 14;
-
clearIpAddress
public OpennmsModelProtos.Event.Builder clearIpAddress()
string ip_address = 14;
-
setIpAddressBytes
public OpennmsModelProtos.Event.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
string ip_address = 14;
-
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
-
setDistPoller
public OpennmsModelProtos.Event.Builder setDistPoller(String value)
string dist_poller = 15;
-
clearDistPoller
public OpennmsModelProtos.Event.Builder clearDistPoller()
string dist_poller = 15;
-
setDistPollerBytes
public OpennmsModelProtos.Event.Builder setDistPollerBytes(com.google.protobuf.ByteString value)
string dist_poller = 15;
-
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
-
setSnmpInfo
public OpennmsModelProtos.Event.Builder setSnmpInfo(OpennmsModelProtos.SnmpInfo value)
.SnmpInfo snmpInfo = 16;
-
setSnmpInfo
public OpennmsModelProtos.Event.Builder setSnmpInfo(OpennmsModelProtos.SnmpInfo.Builder builderForValue)
.SnmpInfo snmpInfo = 16;
-
mergeSnmpInfo
public OpennmsModelProtos.Event.Builder mergeSnmpInfo(OpennmsModelProtos.SnmpInfo value)
.SnmpInfo snmpInfo = 16;
-
clearSnmpInfo
public OpennmsModelProtos.Event.Builder clearSnmpInfo()
.SnmpInfo snmpInfo = 16;
-
getSnmpInfoBuilder
public OpennmsModelProtos.SnmpInfo.Builder getSnmpInfoBuilder()
.SnmpInfo snmpInfo = 16;
-
getSnmpInfoOrBuilder
public OpennmsModelProtos.SnmpInfoOrBuilder getSnmpInfoOrBuilder()
.SnmpInfo snmpInfo = 16;
- Specified by:
getSnmpInfoOrBuilder
in interfaceOpennmsModelProtos.EventOrBuilder
-
setUnknownFields
public final OpennmsModelProtos.Event.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.Event.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.Event.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.Event.Builder>
-
-