Class TelemetryProtos.TelemetryMessageLog.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder>
-
- org.opennms.netmgt.telemetry.common.ipc.TelemetryProtos.TelemetryMessageLog.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,TelemetryProtos.TelemetryMessageLogOrBuilder
- Enclosing class:
- TelemetryProtos.TelemetryMessageLog
public static final class TelemetryProtos.TelemetryMessageLog.Builder extends com.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder> implements TelemetryProtos.TelemetryMessageLogOrBuilder
Protobuf typeTelemetryMessageLog
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder>
-
clear
public TelemetryProtos.TelemetryMessageLog.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.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder>
-
clone
public TelemetryProtos.TelemetryMessageLog.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.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.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.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder>
-
getDefaultInstanceForType
public TelemetryProtos.TelemetryMessageLog getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TelemetryProtos.TelemetryMessageLog build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TelemetryProtos.TelemetryMessageLog buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TelemetryProtos.TelemetryMessageLog.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder>
-
mergeFrom
public TelemetryProtos.TelemetryMessageLog.Builder mergeFrom(TelemetryProtos.TelemetryMessageLog other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessageLog.Builder>
-
mergeFrom
public TelemetryProtos.TelemetryMessageLog.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<TelemetryProtos.TelemetryMessageLog.Builder>
- Throws:
IOException
-
hasLocation
public boolean hasLocation()
required string location = 1;
- Specified by:
hasLocation
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getLocation
public String getLocation()
required string location = 1;
- Specified by:
getLocation
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
required string location = 1;
- Specified by:
getLocationBytes
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
setLocation
public TelemetryProtos.TelemetryMessageLog.Builder setLocation(String value)
required string location = 1;
-
clearLocation
public TelemetryProtos.TelemetryMessageLog.Builder clearLocation()
required string location = 1;
-
setLocationBytes
public TelemetryProtos.TelemetryMessageLog.Builder setLocationBytes(com.google.protobuf.ByteString value)
required string location = 1;
-
hasSystemId
public boolean hasSystemId()
required string system_id = 2;
- Specified by:
hasSystemId
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSystemId
public String getSystemId()
required string system_id = 2;
- Specified by:
getSystemId
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSystemIdBytes
public com.google.protobuf.ByteString getSystemIdBytes()
required string system_id = 2;
- Specified by:
getSystemIdBytes
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
setSystemId
public TelemetryProtos.TelemetryMessageLog.Builder setSystemId(String value)
required string system_id = 2;
-
clearSystemId
public TelemetryProtos.TelemetryMessageLog.Builder clearSystemId()
required string system_id = 2;
-
setSystemIdBytes
public TelemetryProtos.TelemetryMessageLog.Builder setSystemIdBytes(com.google.protobuf.ByteString value)
required string system_id = 2;
-
hasSourceAddress
public boolean hasSourceAddress()
optional string source_address = 3;
- Specified by:
hasSourceAddress
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSourceAddress
public String getSourceAddress()
optional string source_address = 3;
- Specified by:
getSourceAddress
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSourceAddressBytes
public com.google.protobuf.ByteString getSourceAddressBytes()
optional string source_address = 3;
- Specified by:
getSourceAddressBytes
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
setSourceAddress
public TelemetryProtos.TelemetryMessageLog.Builder setSourceAddress(String value)
optional string source_address = 3;
-
clearSourceAddress
public TelemetryProtos.TelemetryMessageLog.Builder clearSourceAddress()
optional string source_address = 3;
-
setSourceAddressBytes
public TelemetryProtos.TelemetryMessageLog.Builder setSourceAddressBytes(com.google.protobuf.ByteString value)
optional string source_address = 3;
-
hasSourcePort
public boolean hasSourcePort()
optional uint32 source_port = 4;
- Specified by:
hasSourcePort
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getSourcePort
public int getSourcePort()
optional uint32 source_port = 4;
- Specified by:
getSourcePort
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
setSourcePort
public TelemetryProtos.TelemetryMessageLog.Builder setSourcePort(int value)
optional uint32 source_port = 4;
-
clearSourcePort
public TelemetryProtos.TelemetryMessageLog.Builder clearSourcePort()
optional uint32 source_port = 4;
-
getMessageList
public List<TelemetryProtos.TelemetryMessage> getMessageList()
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageList
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getMessageCount
public int getMessageCount()
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageCount
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getMessage
public TelemetryProtos.TelemetryMessage getMessage(int index)
repeated .TelemetryMessage message = 5;
- Specified by:
getMessage
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
setMessage
public TelemetryProtos.TelemetryMessageLog.Builder setMessage(int index, TelemetryProtos.TelemetryMessage value)
repeated .TelemetryMessage message = 5;
-
setMessage
public TelemetryProtos.TelemetryMessageLog.Builder setMessage(int index, TelemetryProtos.TelemetryMessage.Builder builderForValue)
repeated .TelemetryMessage message = 5;
-
addMessage
public TelemetryProtos.TelemetryMessageLog.Builder addMessage(TelemetryProtos.TelemetryMessage value)
repeated .TelemetryMessage message = 5;
-
addMessage
public TelemetryProtos.TelemetryMessageLog.Builder addMessage(int index, TelemetryProtos.TelemetryMessage value)
repeated .TelemetryMessage message = 5;
-
addMessage
public TelemetryProtos.TelemetryMessageLog.Builder addMessage(TelemetryProtos.TelemetryMessage.Builder builderForValue)
repeated .TelemetryMessage message = 5;
-
addMessage
public TelemetryProtos.TelemetryMessageLog.Builder addMessage(int index, TelemetryProtos.TelemetryMessage.Builder builderForValue)
repeated .TelemetryMessage message = 5;
-
addAllMessage
public TelemetryProtos.TelemetryMessageLog.Builder addAllMessage(Iterable<? extends TelemetryProtos.TelemetryMessage> values)
repeated .TelemetryMessage message = 5;
-
clearMessage
public TelemetryProtos.TelemetryMessageLog.Builder clearMessage()
repeated .TelemetryMessage message = 5;
-
removeMessage
public TelemetryProtos.TelemetryMessageLog.Builder removeMessage(int index)
repeated .TelemetryMessage message = 5;
-
getMessageBuilder
public TelemetryProtos.TelemetryMessage.Builder getMessageBuilder(int index)
repeated .TelemetryMessage message = 5;
-
getMessageOrBuilder
public TelemetryProtos.TelemetryMessageOrBuilder getMessageOrBuilder(int index)
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageOrBuilder
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
getMessageOrBuilderList
public List<? extends TelemetryProtos.TelemetryMessageOrBuilder> getMessageOrBuilderList()
repeated .TelemetryMessage message = 5;
- Specified by:
getMessageOrBuilderList
in interfaceTelemetryProtos.TelemetryMessageLogOrBuilder
-
addMessageBuilder
public TelemetryProtos.TelemetryMessage.Builder addMessageBuilder()
repeated .TelemetryMessage message = 5;
-
addMessageBuilder
public TelemetryProtos.TelemetryMessage.Builder addMessageBuilder(int index)
repeated .TelemetryMessage message = 5;
-
getMessageBuilderList
public List<TelemetryProtos.TelemetryMessage.Builder> getMessageBuilderList()
repeated .TelemetryMessage message = 5;
-
-