Interface BatchWriteSpansRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchWriteSpansRequest
,BatchWriteSpansRequest.Builder
public interface BatchWriteSpansRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.Span
getSpans(int index)
Required.int
getSpansCount()
Required.List<Span>
getSpansList()
Required.SpanOrBuilder
getSpansOrBuilder(int index)
Required.List<? extends SpanOrBuilder>
getSpansOrBuilderList()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getSpansList
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];
-
getSpans
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];
-
getSpansCount
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];
-
getSpansOrBuilderList
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];
-
getSpansOrBuilder
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];
-
-