public static final class Span.TimeEvents.Builder extends GeneratedMessageV3.Builder<Span.TimeEvents.Builder> implements Span.TimeEventsOrBuilder
A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation on the span, consisting of either user-supplied key:value pairs, or details of a message sent/received between Spans.Protobuf type
google.devtools.cloudtrace.v2.Span.TimeEvents
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.TimeEvents.Builder>
public Span.TimeEvents.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Span.TimeEvents build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Span.TimeEvents buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Span.TimeEvents.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.Builder mergeFrom(Span.TimeEvents other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public Span.TimeEvents.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.TimeEvents.Builder>
java.io.IOException
public java.util.List<Span.TimeEvent> getTimeEventList()
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
getTimeEventList
in interface Span.TimeEventsOrBuilder
public int getTimeEventCount()
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
getTimeEventCount
in interface Span.TimeEventsOrBuilder
public Span.TimeEvent getTimeEvent(int index)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
getTimeEvent
in interface Span.TimeEventsOrBuilder
public Span.TimeEvents.Builder setTimeEvent(int index, Span.TimeEvent value)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder setTimeEvent(int index, Span.TimeEvent.Builder builderForValue)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder addTimeEvent(Span.TimeEvent value)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder addTimeEvent(int index, Span.TimeEvent value)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder addTimeEvent(Span.TimeEvent.Builder builderForValue)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder addTimeEvent(int index, Span.TimeEvent.Builder builderForValue)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder addAllTimeEvent(java.lang.Iterable<? extends Span.TimeEvent> values)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder clearTimeEvent()
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvents.Builder removeTimeEvent(int index)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvent.Builder getTimeEventBuilder(int index)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEventOrBuilder getTimeEventOrBuilder(int index)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
getTimeEventOrBuilder
in interface Span.TimeEventsOrBuilder
public java.util.List<? extends Span.TimeEventOrBuilder> getTimeEventOrBuilderList()
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
getTimeEventOrBuilderList
in interface Span.TimeEventsOrBuilder
public Span.TimeEvent.Builder addTimeEventBuilder()
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public Span.TimeEvent.Builder addTimeEventBuilder(int index)
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public java.util.List<Span.TimeEvent.Builder> getTimeEventBuilderList()
A collection of `TimeEvent`s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
public int getDroppedAnnotationsCount()
The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped.
int32 dropped_annotations_count = 2;
getDroppedAnnotationsCount
in interface Span.TimeEventsOrBuilder
public Span.TimeEvents.Builder setDroppedAnnotationsCount(int value)
The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped.
int32 dropped_annotations_count = 2;
public Span.TimeEvents.Builder clearDroppedAnnotationsCount()
The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped.
int32 dropped_annotations_count = 2;
public int getDroppedMessageEventsCount()
The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped.
int32 dropped_message_events_count = 3;
getDroppedMessageEventsCount
in interface Span.TimeEventsOrBuilder
public Span.TimeEvents.Builder setDroppedMessageEventsCount(int value)
The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped.
int32 dropped_message_events_count = 3;
public Span.TimeEvents.Builder clearDroppedMessageEventsCount()
The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped.
int32 dropped_message_events_count = 3;
public final Span.TimeEvents.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>
public final Span.TimeEvents.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Span.TimeEvents.Builder>