Class Span.TimeEvent.MessageEvent (2.54.0)

public static final class Span.TimeEvent.MessageEvent extends GeneratedMessageV3 implements Span.TimeEvent.MessageEventOrBuilder

An event describing a message sent/received between Spans.

Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent

Static Fields

COMPRESSED_SIZE_BYTES_FIELD_NUMBER

public static final int COMPRESSED_SIZE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UNCOMPRESSED_SIZE_BYTES_FIELD_NUMBER

public static final int UNCOMPRESSED_SIZE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Span.TimeEvent.MessageEvent getDefaultInstance()
Returns
Type Description
Span.TimeEvent.MessageEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Span.TimeEvent.MessageEvent.Builder newBuilder()
Returns
Type Description
Span.TimeEvent.MessageEvent.Builder

newBuilder(Span.TimeEvent.MessageEvent prototype)

public static Span.TimeEvent.MessageEvent.Builder newBuilder(Span.TimeEvent.MessageEvent prototype)
Parameter
Name Description
prototype Span.TimeEvent.MessageEvent
Returns
Type Description
Span.TimeEvent.MessageEvent.Builder

parseDelimitedFrom(InputStream input)

public static Span.TimeEvent.MessageEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Span.TimeEvent.MessageEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Span.TimeEvent.MessageEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Span.TimeEvent.MessageEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Span.TimeEvent.MessageEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Span.TimeEvent.MessageEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Span.TimeEvent.MessageEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Span.TimeEvent.MessageEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Span.TimeEvent.MessageEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Span.TimeEvent.MessageEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Span.TimeEvent.MessageEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Span.TimeEvent.MessageEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Span.TimeEvent.MessageEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Span.TimeEvent.MessageEvent> parser()
Returns
Type Description
Parser<MessageEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCompressedSizeBytes()

public long getCompressedSizeBytes()

The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size.

int64 compressed_size_bytes = 4;

Returns
Type Description
long

The compressedSizeBytes.

getDefaultInstanceForType()

public Span.TimeEvent.MessageEvent getDefaultInstanceForType()
Returns
Type Description
Span.TimeEvent.MessageEvent

getId()

public long getId()

An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.

int64 id = 2;

Returns
Type Description
long

The id.

getParserForType()

public Parser<Span.TimeEvent.MessageEvent> getParserForType()
Returns
Type Description
Parser<MessageEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public Span.TimeEvent.MessageEvent.Type getType()

Type of MessageEvent. Indicates whether the message was sent or received.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;

Returns
Type Description
Span.TimeEvent.MessageEvent.Type

The type.

getTypeValue()

public int getTypeValue()

Type of MessageEvent. Indicates whether the message was sent or received.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUncompressedSizeBytes()

public long getUncompressedSizeBytes()

The number of uncompressed bytes sent or received.

int64 uncompressed_size_bytes = 3;

Returns
Type Description
long

The uncompressedSizeBytes.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Span.TimeEvent.MessageEvent.Builder newBuilderForType()
Returns
Type Description
Span.TimeEvent.MessageEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Span.TimeEvent.MessageEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Span.TimeEvent.MessageEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Span.TimeEvent.MessageEvent.Builder toBuilder()
Returns
Type Description
Span.TimeEvent.MessageEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException