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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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>
|
public Traces.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Traces.Builder addTraces(Trace value)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
value | Trace
|
public Traces.Builder addTraces(Trace.Builder builderForValue)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
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
|
public Traces.Builder addTraces(int index, Trace.Builder builderForValue)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Trace.Builder addTracesBuilder()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Trace.Builder addTracesBuilder(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public Traces buildPartial()
public Traces.Builder clear()
Overrides
public Traces.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Traces.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Traces.Builder clearTraces()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public Traces.Builder clone()
Overrides
public Traces getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 | |
public Trace.Builder getTracesBuilder(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Trace.Builder> getTracesBuilderList()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public int getTracesCount()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Returns |
---|
Type | Description |
int | |
public List<Trace> getTracesList()
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public TraceOrBuilder getTracesOrBuilder(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public Traces.Builder mergeFrom(Traces other)
Parameter |
---|
Name | Description |
other | Traces
|
public Traces.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Traces.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final Traces.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Traces.Builder removeTraces(int index)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
Parameter |
---|
Name | Description |
index | int
|
public Traces.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Traces.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
public Traces.Builder setTraces(int index, Trace.Builder builderForValue)
List of traces.
repeated .google.devtools.cloudtrace.v1.Trace traces = 1;
public final Traces.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides