Class NetworkEvent.Builder
java.lang.Object
io.opencensus.trace.NetworkEvent.Builder
- Enclosing class:
NetworkEvent
-
Method Summary
Modifier and TypeMethodDescriptionabstract NetworkEventbuild()Deprecated.Builds and returns aNetworkEventwith the desired values.abstract NetworkEvent.BuildersetCompressedMessageSize(long compressedMessageSize) Deprecated.Sets the compressed message size.abstract NetworkEvent.BuildersetKernelTimestamp(Timestamp kernelTimestamp) Deprecated.Sets the kernel timestamp.setMessageSize(long messageSize) Deprecated.abstract NetworkEvent.BuildersetUncompressedMessageSize(long uncompressedMessageSize) Deprecated.Sets the uncompressed message size.
-
Method Details
-
setKernelTimestamp
Deprecated.Sets the kernel timestamp.- Parameters:
kernelTimestamp- The kernel timestamp of the event.- Returns:
- this.
- Since:
- 0.5
-
setMessageSize
Deprecated.Sets the uncompressed message size.- Parameters:
messageSize- represents the uncompressed size in bytes of this message.- Returns:
- this.
- Since:
- 0.5
-
setUncompressedMessageSize
Deprecated.Sets the uncompressed message size.- Parameters:
uncompressedMessageSize- represents the uncompressed size in bytes of this message.- Returns:
- this.
- Since:
- 0.6
-
setCompressedMessageSize
Deprecated.Sets the compressed message size.- Parameters:
compressedMessageSize- represents the compressed size in bytes of this message.- Returns:
- this.
- Since:
- 0.6
-
build
Deprecated.Builds and returns aNetworkEventwith the desired values.- Returns:
- a
NetworkEventwith the desired values. - Since:
- 0.5
-
NetworkEventis deprecated. Please useMessageEventand its builderMessageEvent.Builder.