public static final class Traces.Builder extends GeneratedMessageV3.Builder<Traces.Builder> implements TracesOrBuilder
List of new or updated traces.
Protobuf type google.devtools.cloudtrace.v1.Traces
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Traces.Builder addAllTraces(Iterable<? extends Trace> values)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.cloudtrace.v1.Trace>
|
Returns
public Traces.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Traces.Builder addTraces(Trace value)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Name | Description |
value | Trace
|
Returns
public Traces.Builder addTraces(Trace.Builder builderForValue)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
public Traces.Builder addTraces(int index, Trace value)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameters
Returns
public Traces.Builder addTraces(int index, Trace.Builder builderForValue)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameters
Returns
public Trace.Builder addTracesBuilder()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public Trace.Builder addTracesBuilder(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
Returns
public Traces buildPartial()
Returns
public Traces.Builder clear()
Returns
Overrides
public Traces.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Traces.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Traces.Builder clearTraces()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public Traces.Builder clone()
Returns
Overrides
public Traces getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Trace getTraces(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
public Trace.Builder getTracesBuilder(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
public List<Trace.Builder> getTracesBuilderList()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public int getTracesCount()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public List<Trace> getTracesList()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
public TraceOrBuilder getTracesOrBuilder(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
public List<? extends TraceOrBuilder> getTracesOrBuilderList()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns
Type | Description |
List<? extends com.google.devtools.cloudtrace.v1.TraceOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Traces.Builder mergeFrom(Traces other)
Parameter
Returns
public Traces.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Traces.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Traces.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Traces.Builder removeTraces(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter
Returns
public Traces.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Traces.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public Traces.Builder setTraces(int index, Trace value)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameters
Returns
public Traces.Builder setTraces(int index, Trace.Builder builderForValue)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameters
Returns
public final Traces.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides