Class OpennmsModelProtos.IpInterface.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.IpInterface.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.IpInterface.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,OpennmsModelProtos.IpInterfaceOrBuilder
- Enclosing class:
- OpennmsModelProtos.IpInterface
public static final class OpennmsModelProtos.IpInterface.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.IpInterface.Builder> implements OpennmsModelProtos.IpInterfaceOrBuilder
Protobuf typeIpInterface
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpennmsModelProtos.IpInterface.Builder
addAllService(Iterable<String> values)
repeated string service = 5;
OpennmsModelProtos.IpInterface.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
OpennmsModelProtos.IpInterface.Builder
addService(String value)
repeated string service = 5;
OpennmsModelProtos.IpInterface.Builder
addServiceBytes(com.google.protobuf.ByteString value)
repeated string service = 5;
OpennmsModelProtos.IpInterface
build()
OpennmsModelProtos.IpInterface
buildPartial()
OpennmsModelProtos.IpInterface.Builder
clear()
OpennmsModelProtos.IpInterface.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OpennmsModelProtos.IpInterface.Builder
clearId()
uint64 id = 1;
OpennmsModelProtos.IpInterface.Builder
clearIfIndex()
uint32 if_index = 3;
OpennmsModelProtos.IpInterface.Builder
clearIpAddress()
string ip_address = 2;
OpennmsModelProtos.IpInterface.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpennmsModelProtos.IpInterface.Builder
clearPrimaryType()
.IpInterface.PrimaryType primary_type = 4;
OpennmsModelProtos.IpInterface.Builder
clearService()
repeated string service = 5;
OpennmsModelProtos.IpInterface.Builder
clone()
OpennmsModelProtos.IpInterface
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getId()
uint64 id = 1;
int
getIfIndex()
uint32 if_index = 3;
String
getIpAddress()
string ip_address = 2;
com.google.protobuf.ByteString
getIpAddressBytes()
string ip_address = 2;
OpennmsModelProtos.IpInterface.PrimaryType
getPrimaryType()
.IpInterface.PrimaryType primary_type = 4;
int
getPrimaryTypeValue()
.IpInterface.PrimaryType primary_type = 4;
String
getService(int index)
repeated string service = 5;
com.google.protobuf.ByteString
getServiceBytes(int index)
repeated string service = 5;
int
getServiceCount()
repeated string service = 5;
com.google.protobuf.ProtocolStringList
getServiceList()
repeated string service = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OpennmsModelProtos.IpInterface.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpennmsModelProtos.IpInterface.Builder
mergeFrom(com.google.protobuf.Message other)
OpennmsModelProtos.IpInterface.Builder
mergeFrom(OpennmsModelProtos.IpInterface other)
OpennmsModelProtos.IpInterface.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.IpInterface.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
OpennmsModelProtos.IpInterface.Builder
setId(long value)
uint64 id = 1;
OpennmsModelProtos.IpInterface.Builder
setIfIndex(int value)
uint32 if_index = 3;
OpennmsModelProtos.IpInterface.Builder
setIpAddress(String value)
string ip_address = 2;
OpennmsModelProtos.IpInterface.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
string ip_address = 2;
OpennmsModelProtos.IpInterface.Builder
setPrimaryType(OpennmsModelProtos.IpInterface.PrimaryType value)
.IpInterface.PrimaryType primary_type = 4;
OpennmsModelProtos.IpInterface.Builder
setPrimaryTypeValue(int value)
.IpInterface.PrimaryType primary_type = 4;
OpennmsModelProtos.IpInterface.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OpennmsModelProtos.IpInterface.Builder
setService(int index, String value)
repeated string service = 5;
OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
clear
public OpennmsModelProtos.IpInterface.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.IpInterface.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.IpInterface.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.IpInterface getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.IpInterface build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.IpInterface buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
setField
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
clearField
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
clearOneof
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
setRepeatedField
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
addRepeatedField
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
mergeFrom
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
mergeFrom
public OpennmsModelProtos.IpInterface.Builder mergeFrom(OpennmsModelProtos.IpInterface other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.IpInterface.Builder>
-
mergeFrom
public OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
- Throws:
IOException
-
getId
public long getId()
uint64 id = 1;
- Specified by:
getId
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
setId
public OpennmsModelProtos.IpInterface.Builder setId(long value)
uint64 id = 1;
-
clearId
public OpennmsModelProtos.IpInterface.Builder clearId()
uint64 id = 1;
-
getIpAddress
public String getIpAddress()
string ip_address = 2;
- Specified by:
getIpAddress
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
string ip_address = 2;
- Specified by:
getIpAddressBytes
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
setIpAddress
public OpennmsModelProtos.IpInterface.Builder setIpAddress(String value)
string ip_address = 2;
-
clearIpAddress
public OpennmsModelProtos.IpInterface.Builder clearIpAddress()
string ip_address = 2;
-
setIpAddressBytes
public OpennmsModelProtos.IpInterface.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
string ip_address = 2;
-
getIfIndex
public int getIfIndex()
uint32 if_index = 3;
- Specified by:
getIfIndex
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
setIfIndex
public OpennmsModelProtos.IpInterface.Builder setIfIndex(int value)
uint32 if_index = 3;
-
clearIfIndex
public OpennmsModelProtos.IpInterface.Builder clearIfIndex()
uint32 if_index = 3;
-
getPrimaryTypeValue
public int getPrimaryTypeValue()
.IpInterface.PrimaryType primary_type = 4;
- Specified by:
getPrimaryTypeValue
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
setPrimaryTypeValue
public OpennmsModelProtos.IpInterface.Builder setPrimaryTypeValue(int value)
.IpInterface.PrimaryType primary_type = 4;
-
getPrimaryType
public OpennmsModelProtos.IpInterface.PrimaryType getPrimaryType()
.IpInterface.PrimaryType primary_type = 4;
- Specified by:
getPrimaryType
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
setPrimaryType
public OpennmsModelProtos.IpInterface.Builder setPrimaryType(OpennmsModelProtos.IpInterface.PrimaryType value)
.IpInterface.PrimaryType primary_type = 4;
-
clearPrimaryType
public OpennmsModelProtos.IpInterface.Builder clearPrimaryType()
.IpInterface.PrimaryType primary_type = 4;
-
getServiceList
public com.google.protobuf.ProtocolStringList getServiceList()
repeated string service = 5;
- Specified by:
getServiceList
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
getServiceCount
public int getServiceCount()
repeated string service = 5;
- Specified by:
getServiceCount
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
getService
public String getService(int index)
repeated string service = 5;
- Specified by:
getService
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes(int index)
repeated string service = 5;
- Specified by:
getServiceBytes
in interfaceOpennmsModelProtos.IpInterfaceOrBuilder
-
setService
public OpennmsModelProtos.IpInterface.Builder setService(int index, String value)
repeated string service = 5;
-
addService
public OpennmsModelProtos.IpInterface.Builder addService(String value)
repeated string service = 5;
-
addAllService
public OpennmsModelProtos.IpInterface.Builder addAllService(Iterable<String> values)
repeated string service = 5;
-
clearService
public OpennmsModelProtos.IpInterface.Builder clearService()
repeated string service = 5;
-
addServiceBytes
public OpennmsModelProtos.IpInterface.Builder addServiceBytes(com.google.protobuf.ByteString value)
repeated string service = 5;
-
setUnknownFields
public final OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.IpInterface.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.IpInterface.Builder>
-
-