Interface BatchWriteSpansRequestOrBuilder (2.46.0)

public interface BatchWriteSpansRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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.

getNameBytes()

public abstract 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.

getSpans(int index)

public abstract 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

getSpansCount()

public abstract 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

getSpansList()

public abstract 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];

Returns
Type Description
List<Span>

getSpansOrBuilder(int index)

public abstract 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
Returns
Type Description
SpanOrBuilder

getSpansOrBuilderList()

public abstract 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>