Class OpennmsModelProtos.TopologyRef.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.TopologyRef.Builder>
-
- org.opennms.features.kafka.producer.model.OpennmsModelProtos.TopologyRef.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.TopologyRefOrBuilder
- Enclosing class:
- OpennmsModelProtos.TopologyRef
public static final class OpennmsModelProtos.TopologyRef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.TopologyRef.Builder> implements OpennmsModelProtos.TopologyRefOrBuilder
Protobuf typeTopologyRef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpennmsModelProtos.TopologyRef.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.TopologyRef
build()
OpennmsModelProtos.TopologyRef
buildPartial()
OpennmsModelProtos.TopologyRef.Builder
clear()
OpennmsModelProtos.TopologyRef.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OpennmsModelProtos.TopologyRef.Builder
clearId()
string id = 1;
OpennmsModelProtos.TopologyRef.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpennmsModelProtos.TopologyRef.Builder
clearProtocol()
.TopologyRef.Protocol protocol = 2;
OpennmsModelProtos.TopologyRef.Builder
clone()
OpennmsModelProtos.TopologyRef
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getId()
string id = 1;
com.google.protobuf.ByteString
getIdBytes()
string id = 1;
OpennmsModelProtos.TopologyRef.Protocol
getProtocol()
.TopologyRef.Protocol protocol = 2;
int
getProtocolValue()
.TopologyRef.Protocol protocol = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OpennmsModelProtos.TopologyRef.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpennmsModelProtos.TopologyRef.Builder
mergeFrom(com.google.protobuf.Message other)
OpennmsModelProtos.TopologyRef.Builder
mergeFrom(OpennmsModelProtos.TopologyRef other)
OpennmsModelProtos.TopologyRef.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OpennmsModelProtos.TopologyRef.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
OpennmsModelProtos.TopologyRef.Builder
setId(java.lang.String value)
string id = 1;
OpennmsModelProtos.TopologyRef.Builder
setIdBytes(com.google.protobuf.ByteString value)
string id = 1;
OpennmsModelProtos.TopologyRef.Builder
setProtocol(OpennmsModelProtos.TopologyRef.Protocol value)
.TopologyRef.Protocol protocol = 2;
OpennmsModelProtos.TopologyRef.Builder
setProtocolValue(int value)
.TopologyRef.Protocol protocol = 2;
OpennmsModelProtos.TopologyRef.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
clear
public OpennmsModelProtos.TopologyRef.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.TopologyRef.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.TopologyRef.Builder>
-
getDefaultInstanceForType
public OpennmsModelProtos.TopologyRef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpennmsModelProtos.TopologyRef build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpennmsModelProtos.TopologyRef buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
setField
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
clearField
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
clearOneof
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
setRepeatedField
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
addRepeatedField
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
mergeFrom
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
mergeFrom
public OpennmsModelProtos.TopologyRef.Builder mergeFrom(OpennmsModelProtos.TopologyRef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OpennmsModelProtos.TopologyRef.Builder>
-
mergeFrom
public OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
string id = 1;
- Specified by:
getId
in interfaceOpennmsModelProtos.TopologyRefOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;
- Specified by:
getIdBytes
in interfaceOpennmsModelProtos.TopologyRefOrBuilder
-
setId
public OpennmsModelProtos.TopologyRef.Builder setId(java.lang.String value)
string id = 1;
-
clearId
public OpennmsModelProtos.TopologyRef.Builder clearId()
string id = 1;
-
setIdBytes
public OpennmsModelProtos.TopologyRef.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1;
-
getProtocolValue
public int getProtocolValue()
.TopologyRef.Protocol protocol = 2;
- Specified by:
getProtocolValue
in interfaceOpennmsModelProtos.TopologyRefOrBuilder
-
setProtocolValue
public OpennmsModelProtos.TopologyRef.Builder setProtocolValue(int value)
.TopologyRef.Protocol protocol = 2;
-
getProtocol
public OpennmsModelProtos.TopologyRef.Protocol getProtocol()
.TopologyRef.Protocol protocol = 2;
- Specified by:
getProtocol
in interfaceOpennmsModelProtos.TopologyRefOrBuilder
-
setProtocol
public OpennmsModelProtos.TopologyRef.Builder setProtocol(OpennmsModelProtos.TopologyRef.Protocol value)
.TopologyRef.Protocol protocol = 2;
-
clearProtocol
public OpennmsModelProtos.TopologyRef.Builder clearProtocol()
.TopologyRef.Protocol protocol = 2;
-
setUnknownFields
public final OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
mergeUnknownFields
public final OpennmsModelProtos.TopologyRef.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.TopologyRef.Builder>
-
-