Class NodeInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
-
- org.opennms.netmgt.flows.persistence.model.NodeInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NodeInfoOrBuilder
- Enclosing class:
- NodeInfo
public static final class NodeInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder> implements NodeInfoOrBuilder
Protobuf typeNodeInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInfo.Builder
addAllCategories(Iterable<String> values)
repeated string categories = 4;
NodeInfo.Builder
addCategories(String value)
repeated string categories = 4;
NodeInfo.Builder
addCategoriesBytes(com.google.protobuf.ByteString value)
repeated string categories = 4;
NodeInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodeInfo
build()
NodeInfo
buildPartial()
NodeInfo.Builder
clear()
NodeInfo.Builder
clearCategories()
repeated string categories = 4;
NodeInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NodeInfo.Builder
clearForeginId()
string foregin_id = 2;
NodeInfo.Builder
clearForeignSource()
string foreign_source = 1;
NodeInfo.Builder
clearNodeId()
uint32 node_id = 3;
NodeInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NodeInfo.Builder
clone()
String
getCategories(int index)
repeated string categories = 4;
com.google.protobuf.ByteString
getCategoriesBytes(int index)
repeated string categories = 4;
int
getCategoriesCount()
repeated string categories = 4;
com.google.protobuf.ProtocolStringList
getCategoriesList()
repeated string categories = 4;
NodeInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getForeginId()
string foregin_id = 2;
com.google.protobuf.ByteString
getForeginIdBytes()
string foregin_id = 2;
String
getForeignSource()
string foreign_source = 1;
com.google.protobuf.ByteString
getForeignSourceBytes()
string foreign_source = 1;
int
getNodeId()
uint32 node_id = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NodeInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NodeInfo.Builder
mergeFrom(com.google.protobuf.Message other)
NodeInfo.Builder
mergeFrom(NodeInfo other)
NodeInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NodeInfo.Builder
setCategories(int index, String value)
repeated string categories = 4;
NodeInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodeInfo.Builder
setForeginId(String value)
string foregin_id = 2;
NodeInfo.Builder
setForeginIdBytes(com.google.protobuf.ByteString value)
string foregin_id = 2;
NodeInfo.Builder
setForeignSource(String value)
string foreign_source = 1;
NodeInfo.Builder
setForeignSourceBytes(com.google.protobuf.ByteString value)
string foreign_source = 1;
NodeInfo.Builder
setNodeId(int value)
uint32 node_id = 3;
NodeInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NodeInfo.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<NodeInfo.Builder>
-
clear
public NodeInfo.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<NodeInfo.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<NodeInfo.Builder>
-
getDefaultInstanceForType
public NodeInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeInfo.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<NodeInfo.Builder>
-
setField
public NodeInfo.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<NodeInfo.Builder>
-
clearField
public NodeInfo.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<NodeInfo.Builder>
-
clearOneof
public NodeInfo.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<NodeInfo.Builder>
-
setRepeatedField
public NodeInfo.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<NodeInfo.Builder>
-
addRepeatedField
public NodeInfo.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<NodeInfo.Builder>
-
mergeFrom
public NodeInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeInfo.Builder>
-
mergeFrom
public NodeInfo.Builder mergeFrom(NodeInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
-
mergeFrom
public NodeInfo.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<NodeInfo.Builder>
- Throws:
IOException
-
getForeignSource
public String getForeignSource()
string foreign_source = 1;
- Specified by:
getForeignSource
in interfaceNodeInfoOrBuilder
-
getForeignSourceBytes
public com.google.protobuf.ByteString getForeignSourceBytes()
string foreign_source = 1;
- Specified by:
getForeignSourceBytes
in interfaceNodeInfoOrBuilder
-
setForeignSource
public NodeInfo.Builder setForeignSource(String value)
string foreign_source = 1;
-
clearForeignSource
public NodeInfo.Builder clearForeignSource()
string foreign_source = 1;
-
setForeignSourceBytes
public NodeInfo.Builder setForeignSourceBytes(com.google.protobuf.ByteString value)
string foreign_source = 1;
-
getForeginId
public String getForeginId()
string foregin_id = 2;
- Specified by:
getForeginId
in interfaceNodeInfoOrBuilder
-
getForeginIdBytes
public com.google.protobuf.ByteString getForeginIdBytes()
string foregin_id = 2;
- Specified by:
getForeginIdBytes
in interfaceNodeInfoOrBuilder
-
setForeginId
public NodeInfo.Builder setForeginId(String value)
string foregin_id = 2;
-
clearForeginId
public NodeInfo.Builder clearForeginId()
string foregin_id = 2;
-
setForeginIdBytes
public NodeInfo.Builder setForeginIdBytes(com.google.protobuf.ByteString value)
string foregin_id = 2;
-
getNodeId
public int getNodeId()
uint32 node_id = 3;
- Specified by:
getNodeId
in interfaceNodeInfoOrBuilder
-
setNodeId
public NodeInfo.Builder setNodeId(int value)
uint32 node_id = 3;
-
clearNodeId
public NodeInfo.Builder clearNodeId()
uint32 node_id = 3;
-
getCategoriesList
public com.google.protobuf.ProtocolStringList getCategoriesList()
repeated string categories = 4;
- Specified by:
getCategoriesList
in interfaceNodeInfoOrBuilder
-
getCategoriesCount
public int getCategoriesCount()
repeated string categories = 4;
- Specified by:
getCategoriesCount
in interfaceNodeInfoOrBuilder
-
getCategories
public String getCategories(int index)
repeated string categories = 4;
- Specified by:
getCategories
in interfaceNodeInfoOrBuilder
-
getCategoriesBytes
public com.google.protobuf.ByteString getCategoriesBytes(int index)
repeated string categories = 4;
- Specified by:
getCategoriesBytes
in interfaceNodeInfoOrBuilder
-
setCategories
public NodeInfo.Builder setCategories(int index, String value)
repeated string categories = 4;
-
addCategories
public NodeInfo.Builder addCategories(String value)
repeated string categories = 4;
-
addAllCategories
public NodeInfo.Builder addAllCategories(Iterable<String> values)
repeated string categories = 4;
-
clearCategories
public NodeInfo.Builder clearCategories()
repeated string categories = 4;
-
addCategoriesBytes
public NodeInfo.Builder addCategoriesBytes(com.google.protobuf.ByteString value)
repeated string categories = 4;
-
setUnknownFields
public final NodeInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
-
mergeUnknownFields
public final NodeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeInfo.Builder>
-
-