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.BatchWriteSpansRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic BatchWriteSpansRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic BatchWriteSpansRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic BatchWriteSpansRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder mergeFrom(BatchWriteSpansRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public BatchWriteSpansRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<BatchWriteSpansRequest.Builder>java.io.IOExceptionpublic java.lang.String getName()
Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.
string name = 1;getName in interface BatchWriteSpansRequestOrBuilderpublic ByteString getNameBytes()
Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.
string name = 1;getNameBytes in interface BatchWriteSpansRequestOrBuilderpublic BatchWriteSpansRequest.Builder setName(java.lang.String value)
Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.
string name = 1;public BatchWriteSpansRequest.Builder clearName()
Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.
string name = 1;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;public java.util.List<Span> getSpansList()
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;getSpansList in interface BatchWriteSpansRequestOrBuilderpublic int getSpansCount()
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;getSpansCount in interface BatchWriteSpansRequestOrBuilderpublic Span getSpans(int index)
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;getSpans in interface BatchWriteSpansRequestOrBuilderpublic BatchWriteSpansRequest.Builder setSpans(int index, Span value)
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;public BatchWriteSpansRequest.Builder setSpans(int index, Span.Builder builderForValue)
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;public BatchWriteSpansRequest.Builder addSpans(Span value)
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;public BatchWriteSpansRequest.Builder addSpans(int index, Span value)
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;public BatchWriteSpansRequest.Builder addSpans(Span.Builder builderForValue)
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;public BatchWriteSpansRequest.Builder addSpans(int index, Span.Builder builderForValue)
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;public BatchWriteSpansRequest.Builder addAllSpans(java.lang.Iterable<? extends Span> values)
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;public BatchWriteSpansRequest.Builder clearSpans()
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;public BatchWriteSpansRequest.Builder removeSpans(int index)
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;public Span.Builder getSpansBuilder(int index)
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;public SpanOrBuilder getSpansOrBuilder(int index)
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;getSpansOrBuilder in interface BatchWriteSpansRequestOrBuilderpublic java.util.List<? extends SpanOrBuilder> getSpansOrBuilderList()
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;getSpansOrBuilderList in interface BatchWriteSpansRequestOrBuilderpublic Span.Builder addSpansBuilder()
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;public Span.Builder addSpansBuilder(int index)
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;public java.util.List<Span.Builder> getSpansBuilderList()
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;public final BatchWriteSpansRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>public final BatchWriteSpansRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>