Class TelemetryProtos.TelemetryMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessage.Builder>
-
- org.opennms.netmgt.telemetry.common.ipc.TelemetryProtos.TelemetryMessage.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,TelemetryProtos.TelemetryMessageOrBuilder
- Enclosing class:
- TelemetryProtos.TelemetryMessage
public static final class TelemetryProtos.TelemetryMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessage.Builder> implements TelemetryProtos.TelemetryMessageOrBuilder
Protobuf typeTelemetryMessage
-
-
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.TelemetryMessage.Builder>
-
clear
public TelemetryProtos.TelemetryMessage.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.TelemetryMessage.Builder>
-
clone
public TelemetryProtos.TelemetryMessage.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.TelemetryMessage.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.TelemetryMessage.Builder>
-
getDefaultInstanceForType
public TelemetryProtos.TelemetryMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TelemetryProtos.TelemetryMessage build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TelemetryProtos.TelemetryMessage buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TelemetryProtos.TelemetryMessage.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.TelemetryMessage.Builder>
-
mergeFrom
public TelemetryProtos.TelemetryMessage.Builder mergeFrom(TelemetryProtos.TelemetryMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<TelemetryProtos.TelemetryMessage.Builder>
-
mergeFrom
public TelemetryProtos.TelemetryMessage.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.TelemetryMessage.Builder>
- Throws:
IOException
-
hasTimestamp
public boolean hasTimestamp()
required uint64 timestamp = 1;
- Specified by:
hasTimestamp
in interfaceTelemetryProtos.TelemetryMessageOrBuilder
-
getTimestamp
public long getTimestamp()
required uint64 timestamp = 1;
- Specified by:
getTimestamp
in interfaceTelemetryProtos.TelemetryMessageOrBuilder
-
setTimestamp
public TelemetryProtos.TelemetryMessage.Builder setTimestamp(long value)
required uint64 timestamp = 1;
-
clearTimestamp
public TelemetryProtos.TelemetryMessage.Builder clearTimestamp()
required uint64 timestamp = 1;
-
hasBytes
public boolean hasBytes()
required bytes bytes = 2;
- Specified by:
hasBytes
in interfaceTelemetryProtos.TelemetryMessageOrBuilder
-
getBytes
public com.google.protobuf.ByteString getBytes()
required bytes bytes = 2;
- Specified by:
getBytes
in interfaceTelemetryProtos.TelemetryMessageOrBuilder
-
setBytes
public TelemetryProtos.TelemetryMessage.Builder setBytes(com.google.protobuf.ByteString value)
required bytes bytes = 2;
-
clearBytes
public TelemetryProtos.TelemetryMessage.Builder clearBytes()
required bytes bytes = 2;
-
-