Interface BatchWriteSpansRequestOrBuilder (2.4.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
TypeDescription
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
TypeDescription
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, or the results are undefined.

repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Span

getSpansCount()

public abstract int getSpansCount()

Required. A list of new spans. The span names must not match existing spans, or the results are undefined.

repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getSpansList()

public abstract List<Span> getSpansList()

Required. A list of new spans. The span names must not match existing spans, or the results are undefined.

repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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, or the results are undefined.

repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SpanOrBuilder

getSpansOrBuilderList()

public abstract List<? extends SpanOrBuilder> getSpansOrBuilderList()

Required. A list of new spans. The span names must not match existing spans, or the results are undefined.

repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.devtools.cloudtrace.v2.SpanOrBuilder>