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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchWriteSpansRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchWriteSpansRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchWriteSpansRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder mergeFrom(BatchWriteSpansRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public BatchWriteSpansRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchWriteSpansRequest.Builder>
java.io.IOException
public 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 BatchWriteSpansRequestOrBuilder
public ByteString getNameBytes()
Required. The name of the project where the spans belong. The format is `projects/[PROJECT_ID]`.
string name = 1;
getNameBytes
in interface BatchWriteSpansRequestOrBuilder
public 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 BatchWriteSpansRequestOrBuilder
public 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 BatchWriteSpansRequestOrBuilder
public 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 BatchWriteSpansRequestOrBuilder
public 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 BatchWriteSpansRequestOrBuilder
public 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 BatchWriteSpansRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>
public final BatchWriteSpansRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchWriteSpansRequest.Builder>