Class OpennmsModelProtos.SnmpInterface.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.SnmpInterface.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.SnmpInterface.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.SnmpInterfaceOrBuilder
- Enclosing class:
- OpennmsModelProtos.SnmpInterface
public static final class OpennmsModelProtos.SnmpInterface.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.SnmpInterface.Builder> implements OpennmsModelProtos.SnmpInterfaceOrBuilder
Protobuf typeSnmpInterface
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpennmsModelProtos.SnmpInterface.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.SnmpInterface
build()
OpennmsModelProtos.SnmpInterface
buildPartial()
OpennmsModelProtos.SnmpInterface.Builder
clear()
OpennmsModelProtos.SnmpInterface.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OpennmsModelProtos.SnmpInterface.Builder
clearId()
uint64 id = 1;
OpennmsModelProtos.SnmpInterface.Builder
clearIfAdminStatus()
uint32 if_admin_status = 8;
OpennmsModelProtos.SnmpInterface.Builder
clearIfAlias()
string if_alias = 10;
OpennmsModelProtos.SnmpInterface.Builder
clearIfDescr()
string if_descr = 3;
OpennmsModelProtos.SnmpInterface.Builder
clearIfIndex()
uint32 if_index = 2;
OpennmsModelProtos.SnmpInterface.Builder
clearIfName()
string if_name = 5;
OpennmsModelProtos.SnmpInterface.Builder
clearIfOperStatus()
uint32 if_oper_status = 9;
OpennmsModelProtos.SnmpInterface.Builder
clearIfPhysAddress()
string if_phys_address = 7;
OpennmsModelProtos.SnmpInterface.Builder
clearIfSpeed()
uint64 if_speed = 6;
OpennmsModelProtos.SnmpInterface.Builder
clearIfType()
uint32 if_type = 4;
OpennmsModelProtos.SnmpInterface.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpennmsModelProtos.SnmpInterface.Builder
clone()
OpennmsModelProtos.SnmpInterface
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getId()
uint64 id = 1;
int
getIfAdminStatus()
uint32 if_admin_status = 8;
java.lang.String
getIfAlias()
string if_alias = 10;
com.google.protobuf.ByteString
getIfAliasBytes()
string if_alias = 10;
java.lang.String
getIfDescr()
string if_descr = 3;
com.google.protobuf.ByteString
getIfDescrBytes()
string if_descr = 3;
int
getIfIndex()
uint32 if_index = 2;
java.lang.String
getIfName()
string if_name = 5;
com.google.protobuf.ByteString
getIfNameBytes()
string if_name = 5;
int
getIfOperStatus()
uint32 if_oper_status = 9;
java.lang.String
getIfPhysAddress()
string if_phys_address = 7;
com.google.protobuf.ByteString
getIfPhysAddressBytes()
string if_phys_address = 7;
long
getIfSpeed()
uint64 if_speed = 6;
int
getIfType()
uint32 if_type = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OpennmsModelProtos.SnmpInterface.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpennmsModelProtos.SnmpInterface.Builder
mergeFrom(com.google.protobuf.Message other)
OpennmsModelProtos.SnmpInterface.Builder
mergeFrom(OpennmsModelProtos.SnmpInterface other)
OpennmsModelProtos.SnmpInterface.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.SnmpInterface.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.SnmpInterface.Builder
setId(long value)
uint64 id = 1;
OpennmsModelProtos.SnmpInterface.Builder
setIfAdminStatus(int value)
uint32 if_admin_status = 8;
OpennmsModelProtos.SnmpInterface.Builder
setIfAlias(java.lang.String value)
string if_alias = 10;
OpennmsModelProtos.SnmpInterface.Builder
setIfAliasBytes(com.google.protobuf.ByteString value)
string if_alias = 10;
OpennmsModelProtos.SnmpInterface.Builder
setIfDescr(java.lang.String value)
string if_descr = 3;
OpennmsModelProtos.SnmpInterface.Builder
setIfDescrBytes(com.google.protobuf.ByteString value)
string if_descr = 3;
OpennmsModelProtos.SnmpInterface.Builder
setIfIndex(int value)
uint32 if_index = 2;
OpennmsModelProtos.SnmpInterface.Builder
setIfName(java.lang.String value)
string if_name = 5;
OpennmsModelProtos.SnmpInterface.Builder
setIfNameBytes(com.google.protobuf.ByteString value)
string if_name = 5;
OpennmsModelProtos.SnmpInterface.Builder
setIfOperStatus(int value)
uint32 if_oper_status = 9;
OpennmsModelProtos.SnmpInterface.Builder
setIfPhysAddress(java.lang.String value)
string if_phys_address = 7;
OpennmsModelProtos.SnmpInterface.Builder
setIfPhysAddressBytes(com.google.protobuf.ByteString value)
string if_phys_address = 7;
OpennmsModelProtos.SnmpInterface.Builder
setIfSpeed(long value)
uint64 if_speed = 6;
OpennmsModelProtos.SnmpInterface.Builder
setIfType(int value)
uint32 if_type = 4;
OpennmsModelProtos.SnmpInterface.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
OpennmsModelProtos.SnmpInterface.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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.SnmpInterface.Builder>
-
clear
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.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.SnmpInterface.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.SnmpInterface getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.SnmpInterface build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.SnmpInterface buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
setField
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
clearField
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
clearOneof
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
setRepeatedField
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
addRepeatedField
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
mergeFrom
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
mergeFrom
public OpennmsModelProtos.SnmpInterface.Builder mergeFrom(OpennmsModelProtos.SnmpInterface other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.SnmpInterface.Builder>
-
mergeFrom
public OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
- Throws:
java.io.IOException
-
getId
public long getId()
uint64 id = 1;
- Specified by:
getId
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setId
public OpennmsModelProtos.SnmpInterface.Builder setId(long value)
uint64 id = 1;
-
clearId
public OpennmsModelProtos.SnmpInterface.Builder clearId()
uint64 id = 1;
-
getIfIndex
public int getIfIndex()
uint32 if_index = 2;
- Specified by:
getIfIndex
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfIndex
public OpennmsModelProtos.SnmpInterface.Builder setIfIndex(int value)
uint32 if_index = 2;
-
clearIfIndex
public OpennmsModelProtos.SnmpInterface.Builder clearIfIndex()
uint32 if_index = 2;
-
getIfDescr
public java.lang.String getIfDescr()
string if_descr = 3;
- Specified by:
getIfDescr
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
getIfDescrBytes
public com.google.protobuf.ByteString getIfDescrBytes()
string if_descr = 3;
- Specified by:
getIfDescrBytes
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfDescr
public OpennmsModelProtos.SnmpInterface.Builder setIfDescr(java.lang.String value)
string if_descr = 3;
-
clearIfDescr
public OpennmsModelProtos.SnmpInterface.Builder clearIfDescr()
string if_descr = 3;
-
setIfDescrBytes
public OpennmsModelProtos.SnmpInterface.Builder setIfDescrBytes(com.google.protobuf.ByteString value)
string if_descr = 3;
-
getIfType
public int getIfType()
uint32 if_type = 4;
- Specified by:
getIfType
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfType
public OpennmsModelProtos.SnmpInterface.Builder setIfType(int value)
uint32 if_type = 4;
-
clearIfType
public OpennmsModelProtos.SnmpInterface.Builder clearIfType()
uint32 if_type = 4;
-
getIfName
public java.lang.String getIfName()
string if_name = 5;
- Specified by:
getIfName
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
getIfNameBytes
public com.google.protobuf.ByteString getIfNameBytes()
string if_name = 5;
- Specified by:
getIfNameBytes
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfName
public OpennmsModelProtos.SnmpInterface.Builder setIfName(java.lang.String value)
string if_name = 5;
-
clearIfName
public OpennmsModelProtos.SnmpInterface.Builder clearIfName()
string if_name = 5;
-
setIfNameBytes
public OpennmsModelProtos.SnmpInterface.Builder setIfNameBytes(com.google.protobuf.ByteString value)
string if_name = 5;
-
getIfSpeed
public long getIfSpeed()
uint64 if_speed = 6;
- Specified by:
getIfSpeed
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfSpeed
public OpennmsModelProtos.SnmpInterface.Builder setIfSpeed(long value)
uint64 if_speed = 6;
-
clearIfSpeed
public OpennmsModelProtos.SnmpInterface.Builder clearIfSpeed()
uint64 if_speed = 6;
-
getIfPhysAddress
public java.lang.String getIfPhysAddress()
string if_phys_address = 7;
- Specified by:
getIfPhysAddress
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
getIfPhysAddressBytes
public com.google.protobuf.ByteString getIfPhysAddressBytes()
string if_phys_address = 7;
- Specified by:
getIfPhysAddressBytes
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfPhysAddress
public OpennmsModelProtos.SnmpInterface.Builder setIfPhysAddress(java.lang.String value)
string if_phys_address = 7;
-
clearIfPhysAddress
public OpennmsModelProtos.SnmpInterface.Builder clearIfPhysAddress()
string if_phys_address = 7;
-
setIfPhysAddressBytes
public OpennmsModelProtos.SnmpInterface.Builder setIfPhysAddressBytes(com.google.protobuf.ByteString value)
string if_phys_address = 7;
-
getIfAdminStatus
public int getIfAdminStatus()
uint32 if_admin_status = 8;
- Specified by:
getIfAdminStatus
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfAdminStatus
public OpennmsModelProtos.SnmpInterface.Builder setIfAdminStatus(int value)
uint32 if_admin_status = 8;
-
clearIfAdminStatus
public OpennmsModelProtos.SnmpInterface.Builder clearIfAdminStatus()
uint32 if_admin_status = 8;
-
getIfOperStatus
public int getIfOperStatus()
uint32 if_oper_status = 9;
- Specified by:
getIfOperStatus
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfOperStatus
public OpennmsModelProtos.SnmpInterface.Builder setIfOperStatus(int value)
uint32 if_oper_status = 9;
-
clearIfOperStatus
public OpennmsModelProtos.SnmpInterface.Builder clearIfOperStatus()
uint32 if_oper_status = 9;
-
getIfAlias
public java.lang.String getIfAlias()
string if_alias = 10;
- Specified by:
getIfAlias
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
getIfAliasBytes
public com.google.protobuf.ByteString getIfAliasBytes()
string if_alias = 10;
- Specified by:
getIfAliasBytes
in interfaceOpennmsModelProtos.SnmpInterfaceOrBuilder
-
setIfAlias
public OpennmsModelProtos.SnmpInterface.Builder setIfAlias(java.lang.String value)
string if_alias = 10;
-
clearIfAlias
public OpennmsModelProtos.SnmpInterface.Builder clearIfAlias()
string if_alias = 10;
-
setIfAliasBytes
public OpennmsModelProtos.SnmpInterface.Builder setIfAliasBytes(com.google.protobuf.ByteString value)
string if_alias = 10;
-
setUnknownFields
public final OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.SnmpInterface.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.SnmpInterface.Builder>
-
-