Class Traces.Builder (2.42.0)

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

Implements

TracesOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTraces(Iterable<? extends Trace> values)

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
Type Description
Traces.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Traces.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Traces.Builder
Overrides

addTraces(Trace value)

public Traces.Builder addTraces(Trace value)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
value Trace
Returns
Type Description
Traces.Builder

addTraces(Trace.Builder builderForValue)

public Traces.Builder addTraces(Trace.Builder builderForValue)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
builderForValue Trace.Builder
Returns
Type Description
Traces.Builder

addTraces(int index, Trace value)

public Traces.Builder addTraces(int index, Trace value)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameters
Name Description
index int
value Trace
Returns
Type Description
Traces.Builder

addTraces(int index, Trace.Builder builderForValue)

public Traces.Builder addTraces(int index, Trace.Builder builderForValue)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameters
Name Description
index int
builderForValue Trace.Builder
Returns
Type Description
Traces.Builder

addTracesBuilder()

public Trace.Builder addTracesBuilder()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
Trace.Builder

addTracesBuilder(int index)

public Trace.Builder addTracesBuilder(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
Trace.Builder

build()

public Traces build()
Returns
Type Description
Traces

buildPartial()

public Traces buildPartial()
Returns
Type Description
Traces

clear()

public Traces.Builder clear()
Returns
Type Description
Traces.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Traces.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Traces.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Traces.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Traces.Builder
Overrides

clearTraces()

public Traces.Builder clearTraces()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
Traces.Builder

clone()

public Traces.Builder clone()
Returns
Type Description
Traces.Builder
Overrides

getDefaultInstanceForType()

public Traces getDefaultInstanceForType()
Returns
Type Description
Traces

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTraces(int index)

public Trace getTraces(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
Trace

getTracesBuilder(int index)

public Trace.Builder getTracesBuilder(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
Trace.Builder

getTracesBuilderList()

public List<Trace.Builder> getTracesBuilderList()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
List<Builder>

getTracesCount()

public int getTracesCount()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
int

getTracesList()

public List<Trace> getTracesList()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
List<Trace>

getTracesOrBuilder(int index)

public TraceOrBuilder getTracesOrBuilder(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
TraceOrBuilder

getTracesOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Traces other)

public Traces.Builder mergeFrom(Traces other)
Parameter
Name Description
other Traces
Returns
Type Description
Traces.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Traces.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Traces.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Traces.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Traces.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Traces.Builder
Overrides

removeTraces(int index)

public Traces.Builder removeTraces(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
Traces.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Traces.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Traces.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Traces.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Traces.Builder
Overrides

setTraces(int index, Trace value)

public Traces.Builder setTraces(int index, Trace value)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameters
Name Description
index int
value Trace
Returns
Type Description
Traces.Builder

setTraces(int index, Trace.Builder builderForValue)

public Traces.Builder setTraces(int index, Trace.Builder builderForValue)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameters
Name Description
index int
builderForValue Trace.Builder
Returns
Type Description
Traces.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Traces.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Traces.Builder
Overrides