- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.0
- 2.1.13
public static final class Span.TimeEvent.MessageEvent.Builder extends GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder> implements Span.TimeEvent.MessageEventOrBuilder
An event describing a message sent/received between Spans.
Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Span.TimeEvent.MessageEvent.BuilderImplements
Span.TimeEvent.MessageEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Span.TimeEvent.MessageEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
build()
public Span.TimeEvent.MessageEvent build()
Type | Description |
Span.TimeEvent.MessageEvent |
buildPartial()
public Span.TimeEvent.MessageEvent buildPartial()
Type | Description |
Span.TimeEvent.MessageEvent |
clear()
public Span.TimeEvent.MessageEvent.Builder clear()
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
clearCompressedSizeBytes()
public Span.TimeEvent.MessageEvent.Builder clearCompressedSizeBytes()
The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
int64 compressed_size_bytes = 4;
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Span.TimeEvent.MessageEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
clearId()
public Span.TimeEvent.MessageEvent.Builder clearId()
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.
int64 id = 2;
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Span.TimeEvent.MessageEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
clearType()
public Span.TimeEvent.MessageEvent.Builder clearType()
Type of MessageEvent. Indicates whether the message was sent or received.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clearUncompressedSizeBytes()
public Span.TimeEvent.MessageEvent.Builder clearUncompressedSizeBytes()
The number of uncompressed bytes sent or received.
int64 uncompressed_size_bytes = 3;
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clone()
public Span.TimeEvent.MessageEvent.Builder clone()
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
getCompressedSizeBytes()
public long getCompressedSizeBytes()
The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
int64 compressed_size_bytes = 4;
Type | Description |
long | The compressedSizeBytes. |
getDefaultInstanceForType()
public Span.TimeEvent.MessageEvent getDefaultInstanceForType()
Type | Description |
Span.TimeEvent.MessageEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public long getId()
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.
int64 id = 2;
Type | Description |
long | The id. |
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;
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;
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;
Type | Description |
long | The uncompressedSizeBytes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Span.TimeEvent.MessageEvent other)
public Span.TimeEvent.MessageEvent.Builder mergeFrom(Span.TimeEvent.MessageEvent other)
Name | Description |
other | Span.TimeEvent.MessageEvent |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Span.TimeEvent.MessageEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Span.TimeEvent.MessageEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Span.TimeEvent.MessageEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
setCompressedSizeBytes(long value)
public Span.TimeEvent.MessageEvent.Builder setCompressedSizeBytes(long value)
The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
int64 compressed_size_bytes = 4;
Name | Description |
value | long The compressedSizeBytes to set. |
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Span.TimeEvent.MessageEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
setId(long value)
public Span.TimeEvent.MessageEvent.Builder setId(long value)
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.
int64 id = 2;
Name | Description |
value | long The id to set. |
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Span.TimeEvent.MessageEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
setType(Span.TimeEvent.MessageEvent.Type value)
public Span.TimeEvent.MessageEvent.Builder setType(Span.TimeEvent.MessageEvent.Type value)
Type of MessageEvent. Indicates whether the message was sent or received.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
Name | Description |
value | Span.TimeEvent.MessageEvent.Type The type to set. |
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
setTypeValue(int value)
public Span.TimeEvent.MessageEvent.Builder setTypeValue(int value)
Type of MessageEvent. Indicates whether the message was sent or received.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
setUncompressedSizeBytes(long value)
public Span.TimeEvent.MessageEvent.Builder setUncompressedSizeBytes(long value)
The number of uncompressed bytes sent or received.
int64 uncompressed_size_bytes = 3;
Name | Description |
value | long The uncompressedSizeBytes to set. |
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Span.TimeEvent.MessageEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Span.TimeEvent.MessageEvent.Builder |