Class OpennmsModelProtos.SnmpInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.SnmpInfo.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.SnmpInfo.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.SnmpInfoOrBuilder
- Enclosing class:
- OpennmsModelProtos.SnmpInfo
public static final class OpennmsModelProtos.SnmpInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.SnmpInfo.Builder> implements OpennmsModelProtos.SnmpInfoOrBuilder
Protobuf typeSnmpInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpennmsModelProtos.SnmpInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.SnmpInfo
build()
OpennmsModelProtos.SnmpInfo
buildPartial()
OpennmsModelProtos.SnmpInfo.Builder
clear()
OpennmsModelProtos.SnmpInfo.Builder
clearCommunity()
string community = 5;
OpennmsModelProtos.SnmpInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OpennmsModelProtos.SnmpInfo.Builder
clearGeneric()
uint32 generic = 4;
OpennmsModelProtos.SnmpInfo.Builder
clearId()
string id = 1;
OpennmsModelProtos.SnmpInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpennmsModelProtos.SnmpInfo.Builder
clearSpecific()
uint32 specific = 3;
OpennmsModelProtos.SnmpInfo.Builder
clearTrapOid()
string trap_oid = 6;
OpennmsModelProtos.SnmpInfo.Builder
clearVersion()
string version = 2;
OpennmsModelProtos.SnmpInfo.Builder
clone()
java.lang.String
getCommunity()
string community = 5;
com.google.protobuf.ByteString
getCommunityBytes()
string community = 5;
OpennmsModelProtos.SnmpInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getGeneric()
uint32 generic = 4;
java.lang.String
getId()
string id = 1;
com.google.protobuf.ByteString
getIdBytes()
string id = 1;
int
getSpecific()
uint32 specific = 3;
java.lang.String
getTrapOid()
string trap_oid = 6;
com.google.protobuf.ByteString
getTrapOidBytes()
string trap_oid = 6;
java.lang.String
getVersion()
string version = 2;
com.google.protobuf.ByteString
getVersionBytes()
string version = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OpennmsModelProtos.SnmpInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpennmsModelProtos.SnmpInfo.Builder
mergeFrom(com.google.protobuf.Message other)
OpennmsModelProtos.SnmpInfo.Builder
mergeFrom(OpennmsModelProtos.SnmpInfo other)
OpennmsModelProtos.SnmpInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.SnmpInfo.Builder
setCommunity(java.lang.String value)
string community = 5;
OpennmsModelProtos.SnmpInfo.Builder
setCommunityBytes(com.google.protobuf.ByteString value)
string community = 5;
OpennmsModelProtos.SnmpInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.SnmpInfo.Builder
setGeneric(int value)
uint32 generic = 4;
OpennmsModelProtos.SnmpInfo.Builder
setId(java.lang.String value)
string id = 1;
OpennmsModelProtos.SnmpInfo.Builder
setIdBytes(com.google.protobuf.ByteString value)
string id = 1;
OpennmsModelProtos.SnmpInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
OpennmsModelProtos.SnmpInfo.Builder
setSpecific(int value)
uint32 specific = 3;
OpennmsModelProtos.SnmpInfo.Builder
setTrapOid(java.lang.String value)
string trap_oid = 6;
OpennmsModelProtos.SnmpInfo.Builder
setTrapOidBytes(com.google.protobuf.ByteString value)
string trap_oid = 6;
OpennmsModelProtos.SnmpInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.SnmpInfo.Builder
setVersion(java.lang.String value)
string version = 2;
OpennmsModelProtos.SnmpInfo.Builder
setVersionBytes(com.google.protobuf.ByteString value)
string version = 2;
-
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.SnmpInfo.Builder>
-
clear
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.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.SnmpInfo.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.SnmpInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.SnmpInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.SnmpInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
setField
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
clearField
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
clearOneof
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
setRepeatedField
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
addRepeatedField
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
mergeFrom
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
mergeFrom
public OpennmsModelProtos.SnmpInfo.Builder mergeFrom(OpennmsModelProtos.SnmpInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.SnmpInfo.Builder>
-
mergeFrom
public OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
string id = 1;
- Specified by:
getId
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;
- Specified by:
getIdBytes
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
setId
public OpennmsModelProtos.SnmpInfo.Builder setId(java.lang.String value)
string id = 1;
-
clearId
public OpennmsModelProtos.SnmpInfo.Builder clearId()
string id = 1;
-
setIdBytes
public OpennmsModelProtos.SnmpInfo.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1;
-
getVersion
public java.lang.String getVersion()
string version = 2;
- Specified by:
getVersion
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
string version = 2;
- Specified by:
getVersionBytes
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
setVersion
public OpennmsModelProtos.SnmpInfo.Builder setVersion(java.lang.String value)
string version = 2;
-
clearVersion
public OpennmsModelProtos.SnmpInfo.Builder clearVersion()
string version = 2;
-
setVersionBytes
public OpennmsModelProtos.SnmpInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
string version = 2;
-
getSpecific
public int getSpecific()
uint32 specific = 3;
- Specified by:
getSpecific
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
setSpecific
public OpennmsModelProtos.SnmpInfo.Builder setSpecific(int value)
uint32 specific = 3;
-
clearSpecific
public OpennmsModelProtos.SnmpInfo.Builder clearSpecific()
uint32 specific = 3;
-
getGeneric
public int getGeneric()
uint32 generic = 4;
- Specified by:
getGeneric
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
setGeneric
public OpennmsModelProtos.SnmpInfo.Builder setGeneric(int value)
uint32 generic = 4;
-
clearGeneric
public OpennmsModelProtos.SnmpInfo.Builder clearGeneric()
uint32 generic = 4;
-
getCommunity
public java.lang.String getCommunity()
string community = 5;
- Specified by:
getCommunity
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
getCommunityBytes
public com.google.protobuf.ByteString getCommunityBytes()
string community = 5;
- Specified by:
getCommunityBytes
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
setCommunity
public OpennmsModelProtos.SnmpInfo.Builder setCommunity(java.lang.String value)
string community = 5;
-
clearCommunity
public OpennmsModelProtos.SnmpInfo.Builder clearCommunity()
string community = 5;
-
setCommunityBytes
public OpennmsModelProtos.SnmpInfo.Builder setCommunityBytes(com.google.protobuf.ByteString value)
string community = 5;
-
getTrapOid
public java.lang.String getTrapOid()
string trap_oid = 6;
- Specified by:
getTrapOid
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
getTrapOidBytes
public com.google.protobuf.ByteString getTrapOidBytes()
string trap_oid = 6;
- Specified by:
getTrapOidBytes
in interfaceOpennmsModelProtos.SnmpInfoOrBuilder
-
setTrapOid
public OpennmsModelProtos.SnmpInfo.Builder setTrapOid(java.lang.String value)
string trap_oid = 6;
-
clearTrapOid
public OpennmsModelProtos.SnmpInfo.Builder clearTrapOid()
string trap_oid = 6;
-
setTrapOidBytes
public OpennmsModelProtos.SnmpInfo.Builder setTrapOidBytes(com.google.protobuf.ByteString value)
string trap_oid = 6;
-
setUnknownFields
public final OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.SnmpInfo.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.SnmpInfo.Builder>
-
-