Send feedback
Class Traces.Builder (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]