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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Span.TimeEvent.MessageEvent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Span.TimeEvent.MessageEvent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Span.TimeEvent.MessageEvent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder mergeFrom(Span.TimeEvent.MessageEvent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public Span.TimeEvent.MessageEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Span.TimeEvent.MessageEvent.Builder>
java.io.IOException
public int getTypeValue()
Type of MessageEvent. Indicates whether the message was sent or received.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type type = 1;
getTypeValue
in interface Span.TimeEvent.MessageEventOrBuilder
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;
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;
getType
in interface Span.TimeEvent.MessageEventOrBuilder
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;
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;
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;
getId
in interface Span.TimeEvent.MessageEventOrBuilder
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;
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;
public long getUncompressedSizeBytes()
The number of uncompressed bytes sent or received.
int64 uncompressed_size_bytes = 3;
getUncompressedSizeBytes
in interface Span.TimeEvent.MessageEventOrBuilder
public Span.TimeEvent.MessageEvent.Builder setUncompressedSizeBytes(long value)
The number of uncompressed bytes sent or received.
int64 uncompressed_size_bytes = 3;
public Span.TimeEvent.MessageEvent.Builder clearUncompressedSizeBytes()
The number of uncompressed bytes sent or received.
int64 uncompressed_size_bytes = 3;
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;
getCompressedSizeBytes
in interface Span.TimeEvent.MessageEventOrBuilder
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;
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;
public final Span.TimeEvent.MessageEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>
public final Span.TimeEvent.MessageEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Span.TimeEvent.MessageEvent.Builder>