Class CollectionSetProtos.NodeLevelResource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.NodeLevelResource.Builder>
-
- org.opennms.features.kafka.producer.model.CollectionSetProtos.NodeLevelResource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,CollectionSetProtos.NodeLevelResourceOrBuilder
- Enclosing class:
- CollectionSetProtos.NodeLevelResource
public static final class CollectionSetProtos.NodeLevelResource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.NodeLevelResource.Builder> implements CollectionSetProtos.NodeLevelResourceOrBuilder
Protobuf typeNodeLevelResource
-
-
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<CollectionSetProtos.NodeLevelResource.Builder>
-
clear
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
getDefaultInstanceForType
public CollectionSetProtos.NodeLevelResource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CollectionSetProtos.NodeLevelResource build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CollectionSetProtos.NodeLevelResource buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
setField
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
clearField
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
clearOneof
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
setRepeatedField
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
addRepeatedField
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
-
mergeFrom
public CollectionSetProtos.NodeLevelResource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CollectionSetProtos.NodeLevelResource.Builder>
-
mergeFrom
public CollectionSetProtos.NodeLevelResource.Builder mergeFrom(CollectionSetProtos.NodeLevelResource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.NodeLevelResource.Builder>
-
mergeFrom
public CollectionSetProtos.NodeLevelResource.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<CollectionSetProtos.NodeLevelResource.Builder>
- Throws:
IOException
-
getNodeId
public long getNodeId()
int64 node_id = 1;
- Specified by:
getNodeId
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
setNodeId
public CollectionSetProtos.NodeLevelResource.Builder setNodeId(long value)
int64 node_id = 1;
-
clearNodeId
public CollectionSetProtos.NodeLevelResource.Builder clearNodeId()
int64 node_id = 1;
-
getForeignSource
public String getForeignSource()
string foreign_source = 2;
- Specified by:
getForeignSource
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
getForeignSourceBytes
public com.google.protobuf.ByteString getForeignSourceBytes()
string foreign_source = 2;
- Specified by:
getForeignSourceBytes
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
setForeignSource
public CollectionSetProtos.NodeLevelResource.Builder setForeignSource(String value)
string foreign_source = 2;
-
clearForeignSource
public CollectionSetProtos.NodeLevelResource.Builder clearForeignSource()
string foreign_source = 2;
-
setForeignSourceBytes
public CollectionSetProtos.NodeLevelResource.Builder setForeignSourceBytes(com.google.protobuf.ByteString value)
string foreign_source = 2;
-
getForeignId
public String getForeignId()
string foreign_id = 3;
- Specified by:
getForeignId
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
getForeignIdBytes
public com.google.protobuf.ByteString getForeignIdBytes()
string foreign_id = 3;
- Specified by:
getForeignIdBytes
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
setForeignId
public CollectionSetProtos.NodeLevelResource.Builder setForeignId(String value)
string foreign_id = 3;
-
clearForeignId
public CollectionSetProtos.NodeLevelResource.Builder clearForeignId()
string foreign_id = 3;
-
setForeignIdBytes
public CollectionSetProtos.NodeLevelResource.Builder setForeignIdBytes(com.google.protobuf.ByteString value)
string foreign_id = 3;
-
getNodeLabel
public String getNodeLabel()
string node_label = 4;
- Specified by:
getNodeLabel
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
getNodeLabelBytes
public com.google.protobuf.ByteString getNodeLabelBytes()
string node_label = 4;
- Specified by:
getNodeLabelBytes
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
setNodeLabel
public CollectionSetProtos.NodeLevelResource.Builder setNodeLabel(String value)
string node_label = 4;
-
clearNodeLabel
public CollectionSetProtos.NodeLevelResource.Builder clearNodeLabel()
string node_label = 4;
-
setNodeLabelBytes
public CollectionSetProtos.NodeLevelResource.Builder setNodeLabelBytes(com.google.protobuf.ByteString value)
string node_label = 4;
-
getLocation
public String getLocation()
string location = 5;
- Specified by:
getLocation
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
string location = 5;
- Specified by:
getLocationBytes
in interfaceCollectionSetProtos.NodeLevelResourceOrBuilder
-
setLocation
public CollectionSetProtos.NodeLevelResource.Builder setLocation(String value)
string location = 5;
-
clearLocation
public CollectionSetProtos.NodeLevelResource.Builder clearLocation()
string location = 5;
-
setLocationBytes
public CollectionSetProtos.NodeLevelResource.Builder setLocationBytes(com.google.protobuf.ByteString value)
string location = 5;
-
setUnknownFields
public final CollectionSetProtos.NodeLevelResource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.NodeLevelResource.Builder>
-
mergeUnknownFields
public final CollectionSetProtos.NodeLevelResource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.NodeLevelResource.Builder>
-
-