- 2.53.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Span.TimeEvent.MessageEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
build()
public Span.TimeEvent.MessageEvent build()
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent |
buildPartial()
public Span.TimeEvent.MessageEvent buildPartial()
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent |
clear()
public Span.TimeEvent.MessageEvent.Builder clear()
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
clearCompressedSizeBytes()
public Span.TimeEvent.MessageEvent.Builder clearCompressedSizeBytes()
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 |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Span.TimeEvent.MessageEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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.
int64 id = 2;
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Span.TimeEvent.MessageEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
clone()
public Span.TimeEvent.MessageEvent.Builder clone()
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Span.TimeEvent.MessageEvent other)
public Span.TimeEvent.MessageEvent.Builder mergeFrom(Span.TimeEvent.MessageEvent other)
Parameter | |
---|---|
Name | Description |
other | Span.TimeEvent.MessageEvent |
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Span.TimeEvent.MessageEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Span.TimeEvent.MessageEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Span.TimeEvent.MessageEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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, the compressed size is assumed to be the same size as the uncompressed size.
int64 compressed_size_bytes = 4;
Parameter | |
---|---|
Name | Description |
value | long The compressedSizeBytes to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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.
int64 id = 2;
Parameter | |
---|---|
Name | Description |
value | long The id to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Span.TimeEvent.MessageEvent.Type The type to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | long The uncompressedSizeBytes to set. |
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Span.TimeEvent.MessageEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Span.TimeEvent.MessageEvent.Builder |