public static final class BatchWriteSpansRequest.Builder extends GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder> implements BatchWriteSpansRequestOrBuilder
   
   The request message for the BatchWriteSpans method.
 Protobuf type google.devtools.cloudtrace.v2.BatchWriteSpansRequest
    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 BatchWriteSpansRequest.Builder addAllSpans(Iterable<? extends Span> values)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.devtools.cloudtrace.v2.Span>
 | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder addSpans(Span value)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | Span
 | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder addSpans(Span.Builder builderForValue)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public BatchWriteSpansRequest.Builder addSpans(int index, Span value)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameters | 
      
        | Name | Description | 
      
        | index | int
 | 
      
        | value | Span
 | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder addSpans(int index, Span.Builder builderForValue)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public Span.Builder addSpansBuilder()
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public Span.Builder addSpansBuilder(int index)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  
  
    public BatchWriteSpansRequest build()
   
  
  
  
  
    public BatchWriteSpansRequest buildPartial()
   
  
  
  
  
    public BatchWriteSpansRequest.Builder clear()
   
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder clearName()
   
   Required. The name of the project where the spans belong. The format is
 projects/[PROJECT_ID].
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    public BatchWriteSpansRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder clearSpans()
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public BatchWriteSpansRequest.Builder clone()
   
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest getDefaultInstanceForType()
   
  
  
  
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  
  
   Required. The name of the project where the spans belong. The format is
 projects/[PROJECT_ID].
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The name. | 
    
  
  
  
  
    public ByteString getNameBytes()
   
   Required. The name of the project where the spans belong. The format is
 projects/[PROJECT_ID].
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for name. | 
    
  
  
  
  
    public Span getSpans(int index)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Span |  | 
    
  
  
  
  
    public Span.Builder getSpansBuilder(int index)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  
  
    public List<Span.Builder> getSpansBuilderList()
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public int getSpansCount()
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  
  
    public List<Span> getSpansList()
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public SpanOrBuilder getSpansOrBuilder(int index)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  
  
    public List<? extends SpanOrBuilder> getSpansOrBuilderList()
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<? extends com.google.devtools.cloudtrace.v2.SpanOrBuilder> |  | 
    
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder mergeFrom(BatchWriteSpansRequest other)
   
  
  
  
  
  
    public BatchWriteSpansRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  
  
    public BatchWriteSpansRequest.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | other | Message
 | 
    
  
  
  Overrides
  
  
  
  
    public final BatchWriteSpansRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder removeSpans(int index)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder setName(String value)
   
   Required. The name of the project where the spans belong. The format is
 projects/[PROJECT_ID].
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | String
 The name to set. | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder setNameBytes(ByteString value)
   
   Required. The name of the project where the spans belong. The format is
 projects/[PROJECT_ID].
 
 string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | ByteString
 The bytes for name to set. | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  
  
    public BatchWriteSpansRequest.Builder setSpans(int index, Span value)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameters | 
      
        | Name | Description | 
      
        | index | int
 | 
      
        | value | Span
 | 
    
  
  
  
  
  
    public BatchWriteSpansRequest.Builder setSpans(int index, Span.Builder builderForValue)
   
   Required. A list of new spans. The span names must not match existing
 spans, otherwise the results are undefined.
 
 repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
 
    public final BatchWriteSpansRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides