Class OpennmsModelProtos.TopologyEdge.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.TopologyEdge.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.TopologyEdge.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.TopologyEdgeOrBuilder
- Enclosing class:
- OpennmsModelProtos.TopologyEdge
public static final class OpennmsModelProtos.TopologyEdge.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.TopologyEdge.Builder> implements OpennmsModelProtos.TopologyEdgeOrBuilder
Protobuf typeTopologyEdge
-
-
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<OpennmsModelProtos.TopologyEdge.Builder>
-
clear
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.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.TopologyEdge.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.TopologyEdge getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.TopologyEdge build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.TopologyEdge buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
setField
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
clearField
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
clearOneof
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
setRepeatedField
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
addRepeatedField
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
mergeFrom
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
mergeFrom
public OpennmsModelProtos.TopologyEdge.Builder mergeFrom(OpennmsModelProtos.TopologyEdge other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.TopologyEdge.Builder>
-
mergeFrom
public OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
- Throws:
java.io.IOException
-
getSourceCase
public OpennmsModelProtos.TopologyEdge.SourceCase getSourceCase()
- Specified by:
getSourceCase
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
clearSource
public OpennmsModelProtos.TopologyEdge.Builder clearSource()
-
getTargetCase
public OpennmsModelProtos.TopologyEdge.TargetCase getTargetCase()
- Specified by:
getTargetCase
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
clearTarget
public OpennmsModelProtos.TopologyEdge.Builder clearTarget()
-
hasRef
public boolean hasRef()
.TopologyRef ref = 1;
- Specified by:
hasRef
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getRef
public OpennmsModelProtos.TopologyRef getRef()
.TopologyRef ref = 1;
- Specified by:
getRef
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setRef
public OpennmsModelProtos.TopologyEdge.Builder setRef(OpennmsModelProtos.TopologyRef value)
.TopologyRef ref = 1;
-
setRef
public OpennmsModelProtos.TopologyEdge.Builder setRef(OpennmsModelProtos.TopologyRef.Builder builderForValue)
.TopologyRef ref = 1;
-
mergeRef
public OpennmsModelProtos.TopologyEdge.Builder mergeRef(OpennmsModelProtos.TopologyRef value)
.TopologyRef ref = 1;
-
clearRef
public OpennmsModelProtos.TopologyEdge.Builder clearRef()
.TopologyRef ref = 1;
-
getRefBuilder
public OpennmsModelProtos.TopologyRef.Builder getRefBuilder()
.TopologyRef ref = 1;
-
getRefOrBuilder
public OpennmsModelProtos.TopologyRefOrBuilder getRefOrBuilder()
.TopologyRef ref = 1;
- Specified by:
getRefOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
hasSourcePort
public boolean hasSourcePort()
.TopologyPort sourcePort = 3;
- Specified by:
hasSourcePort
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getSourcePort
public OpennmsModelProtos.TopologyPort getSourcePort()
.TopologyPort sourcePort = 3;
- Specified by:
getSourcePort
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setSourcePort
public OpennmsModelProtos.TopologyEdge.Builder setSourcePort(OpennmsModelProtos.TopologyPort value)
.TopologyPort sourcePort = 3;
-
setSourcePort
public OpennmsModelProtos.TopologyEdge.Builder setSourcePort(OpennmsModelProtos.TopologyPort.Builder builderForValue)
.TopologyPort sourcePort = 3;
-
mergeSourcePort
public OpennmsModelProtos.TopologyEdge.Builder mergeSourcePort(OpennmsModelProtos.TopologyPort value)
.TopologyPort sourcePort = 3;
-
clearSourcePort
public OpennmsModelProtos.TopologyEdge.Builder clearSourcePort()
.TopologyPort sourcePort = 3;
-
getSourcePortBuilder
public OpennmsModelProtos.TopologyPort.Builder getSourcePortBuilder()
.TopologyPort sourcePort = 3;
-
getSourcePortOrBuilder
public OpennmsModelProtos.TopologyPortOrBuilder getSourcePortOrBuilder()
.TopologyPort sourcePort = 3;
- Specified by:
getSourcePortOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
hasSourceSegment
public boolean hasSourceSegment()
.TopologySegment sourceSegment = 4;
- Specified by:
hasSourceSegment
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getSourceSegment
public OpennmsModelProtos.TopologySegment getSourceSegment()
.TopologySegment sourceSegment = 4;
- Specified by:
getSourceSegment
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setSourceSegment
public OpennmsModelProtos.TopologyEdge.Builder setSourceSegment(OpennmsModelProtos.TopologySegment value)
.TopologySegment sourceSegment = 4;
-
setSourceSegment
public OpennmsModelProtos.TopologyEdge.Builder setSourceSegment(OpennmsModelProtos.TopologySegment.Builder builderForValue)
.TopologySegment sourceSegment = 4;
-
mergeSourceSegment
public OpennmsModelProtos.TopologyEdge.Builder mergeSourceSegment(OpennmsModelProtos.TopologySegment value)
.TopologySegment sourceSegment = 4;
-
clearSourceSegment
public OpennmsModelProtos.TopologyEdge.Builder clearSourceSegment()
.TopologySegment sourceSegment = 4;
-
getSourceSegmentBuilder
public OpennmsModelProtos.TopologySegment.Builder getSourceSegmentBuilder()
.TopologySegment sourceSegment = 4;
-
getSourceSegmentOrBuilder
public OpennmsModelProtos.TopologySegmentOrBuilder getSourceSegmentOrBuilder()
.TopologySegment sourceSegment = 4;
- Specified by:
getSourceSegmentOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
hasSourceNode
public boolean hasSourceNode()
.Node sourceNode = 5;
- Specified by:
hasSourceNode
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getSourceNode
public OpennmsModelProtos.Node getSourceNode()
.Node sourceNode = 5;
- Specified by:
getSourceNode
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setSourceNode
public OpennmsModelProtos.TopologyEdge.Builder setSourceNode(OpennmsModelProtos.Node value)
.Node sourceNode = 5;
-
setSourceNode
public OpennmsModelProtos.TopologyEdge.Builder setSourceNode(OpennmsModelProtos.Node.Builder builderForValue)
.Node sourceNode = 5;
-
mergeSourceNode
public OpennmsModelProtos.TopologyEdge.Builder mergeSourceNode(OpennmsModelProtos.Node value)
.Node sourceNode = 5;
-
clearSourceNode
public OpennmsModelProtos.TopologyEdge.Builder clearSourceNode()
.Node sourceNode = 5;
-
getSourceNodeBuilder
public OpennmsModelProtos.Node.Builder getSourceNodeBuilder()
.Node sourceNode = 5;
-
getSourceNodeOrBuilder
public OpennmsModelProtos.NodeOrBuilder getSourceNodeOrBuilder()
.Node sourceNode = 5;
- Specified by:
getSourceNodeOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
hasTargetPort
public boolean hasTargetPort()
.TopologyPort targetPort = 6;
- Specified by:
hasTargetPort
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getTargetPort
public OpennmsModelProtos.TopologyPort getTargetPort()
.TopologyPort targetPort = 6;
- Specified by:
getTargetPort
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setTargetPort
public OpennmsModelProtos.TopologyEdge.Builder setTargetPort(OpennmsModelProtos.TopologyPort value)
.TopologyPort targetPort = 6;
-
setTargetPort
public OpennmsModelProtos.TopologyEdge.Builder setTargetPort(OpennmsModelProtos.TopologyPort.Builder builderForValue)
.TopologyPort targetPort = 6;
-
mergeTargetPort
public OpennmsModelProtos.TopologyEdge.Builder mergeTargetPort(OpennmsModelProtos.TopologyPort value)
.TopologyPort targetPort = 6;
-
clearTargetPort
public OpennmsModelProtos.TopologyEdge.Builder clearTargetPort()
.TopologyPort targetPort = 6;
-
getTargetPortBuilder
public OpennmsModelProtos.TopologyPort.Builder getTargetPortBuilder()
.TopologyPort targetPort = 6;
-
getTargetPortOrBuilder
public OpennmsModelProtos.TopologyPortOrBuilder getTargetPortOrBuilder()
.TopologyPort targetPort = 6;
- Specified by:
getTargetPortOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
hasTargetSegment
public boolean hasTargetSegment()
.TopologySegment targetSegment = 7;
- Specified by:
hasTargetSegment
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getTargetSegment
public OpennmsModelProtos.TopologySegment getTargetSegment()
.TopologySegment targetSegment = 7;
- Specified by:
getTargetSegment
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setTargetSegment
public OpennmsModelProtos.TopologyEdge.Builder setTargetSegment(OpennmsModelProtos.TopologySegment value)
.TopologySegment targetSegment = 7;
-
setTargetSegment
public OpennmsModelProtos.TopologyEdge.Builder setTargetSegment(OpennmsModelProtos.TopologySegment.Builder builderForValue)
.TopologySegment targetSegment = 7;
-
mergeTargetSegment
public OpennmsModelProtos.TopologyEdge.Builder mergeTargetSegment(OpennmsModelProtos.TopologySegment value)
.TopologySegment targetSegment = 7;
-
clearTargetSegment
public OpennmsModelProtos.TopologyEdge.Builder clearTargetSegment()
.TopologySegment targetSegment = 7;
-
getTargetSegmentBuilder
public OpennmsModelProtos.TopologySegment.Builder getTargetSegmentBuilder()
.TopologySegment targetSegment = 7;
-
getTargetSegmentOrBuilder
public OpennmsModelProtos.TopologySegmentOrBuilder getTargetSegmentOrBuilder()
.TopologySegment targetSegment = 7;
- Specified by:
getTargetSegmentOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
hasTargetNode
public boolean hasTargetNode()
.Node targetNode = 8;
- Specified by:
hasTargetNode
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
getTargetNode
public OpennmsModelProtos.Node getTargetNode()
.Node targetNode = 8;
- Specified by:
getTargetNode
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setTargetNode
public OpennmsModelProtos.TopologyEdge.Builder setTargetNode(OpennmsModelProtos.Node value)
.Node targetNode = 8;
-
setTargetNode
public OpennmsModelProtos.TopologyEdge.Builder setTargetNode(OpennmsModelProtos.Node.Builder builderForValue)
.Node targetNode = 8;
-
mergeTargetNode
public OpennmsModelProtos.TopologyEdge.Builder mergeTargetNode(OpennmsModelProtos.Node value)
.Node targetNode = 8;
-
clearTargetNode
public OpennmsModelProtos.TopologyEdge.Builder clearTargetNode()
.Node targetNode = 8;
-
getTargetNodeBuilder
public OpennmsModelProtos.Node.Builder getTargetNodeBuilder()
.Node targetNode = 8;
-
getTargetNodeOrBuilder
public OpennmsModelProtos.NodeOrBuilder getTargetNodeOrBuilder()
.Node targetNode = 8;
- Specified by:
getTargetNodeOrBuilder
in interfaceOpennmsModelProtos.TopologyEdgeOrBuilder
-
setUnknownFields
public final OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.TopologyEdge.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.TopologyEdge.Builder>
-
-