public final class SpanBatch extends com.google.protobuf.GeneratedMessageV3 implements SpanBatchOrBuilder
kamon.apm.ingestion.v1.traces.SpanBatch| Modifier and Type | Class and Description |
|---|---|
static class |
SpanBatch.Builder
Protobuf type
kamon.apm.ingestion.v1.traces.SpanBatch |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AGENT_FIELD_NUMBER |
static int |
APIKEY_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static com.google.protobuf.Parser<SpanBatch> |
PARSER
Deprecated.
|
static int |
SERVICENAME_FIELD_NUMBER |
static int |
SPANS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgent()
optional string agent = 6; |
com.google.protobuf.ByteString |
getAgentBytes()
optional string agent = 6; |
java.lang.String |
getApiKey()
required string apiKey = 2; |
com.google.protobuf.ByteString |
getApiKeyBytes()
required string apiKey = 2; |
static SpanBatch |
getDefaultInstance() |
SpanBatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getHost()
required string host = 3; |
com.google.protobuf.ByteString |
getHostBytes()
required string host = 3; |
java.lang.String |
getInstance()
required string instance = 4; |
com.google.protobuf.ByteString |
getInstanceBytes()
required string instance = 4; |
com.google.protobuf.Parser<SpanBatch> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getServiceName()
required string serviceName = 1; |
com.google.protobuf.ByteString |
getServiceNameBytes()
required string serviceName = 1; |
Span |
getSpans(int index)
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5; |
int |
getSpansCount()
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5; |
java.util.List<Span> |
getSpansList()
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5; |
SpanOrBuilder |
getSpansOrBuilder(int index)
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5; |
java.util.List<? extends SpanOrBuilder> |
getSpansOrBuilderList()
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAgent()
optional string agent = 6; |
boolean |
hasApiKey()
required string apiKey = 2; |
int |
hashCode() |
boolean |
hasHost()
required string host = 3; |
boolean |
hasInstance()
required string instance = 4; |
boolean |
hasServiceName()
required string serviceName = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SpanBatch.Builder |
newBuilder() |
static SpanBatch.Builder |
newBuilder(SpanBatch prototype) |
SpanBatch.Builder |
newBuilderForType() |
protected SpanBatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SpanBatch |
parseDelimitedFrom(java.io.InputStream input) |
static SpanBatch |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpanBatch |
parseFrom(byte[] data) |
static SpanBatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpanBatch |
parseFrom(java.nio.ByteBuffer data) |
static SpanBatch |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpanBatch |
parseFrom(com.google.protobuf.ByteString data) |
static SpanBatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpanBatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SpanBatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpanBatch |
parseFrom(java.io.InputStream input) |
static SpanBatch |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SpanBatch> |
parser() |
SpanBatch.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVICENAME_FIELD_NUMBER
public static final int APIKEY_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int SPANS_FIELD_NUMBER
public static final int AGENT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<SpanBatch> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasServiceName()
required string serviceName = 1;hasServiceName in interface SpanBatchOrBuilderpublic java.lang.String getServiceName()
required string serviceName = 1;getServiceName in interface SpanBatchOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
required string serviceName = 1;getServiceNameBytes in interface SpanBatchOrBuilderpublic boolean hasApiKey()
required string apiKey = 2;hasApiKey in interface SpanBatchOrBuilderpublic java.lang.String getApiKey()
required string apiKey = 2;getApiKey in interface SpanBatchOrBuilderpublic com.google.protobuf.ByteString getApiKeyBytes()
required string apiKey = 2;getApiKeyBytes in interface SpanBatchOrBuilderpublic boolean hasHost()
required string host = 3;hasHost in interface SpanBatchOrBuilderpublic java.lang.String getHost()
required string host = 3;getHost in interface SpanBatchOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
required string host = 3;getHostBytes in interface SpanBatchOrBuilderpublic boolean hasInstance()
required string instance = 4;hasInstance in interface SpanBatchOrBuilderpublic java.lang.String getInstance()
required string instance = 4;getInstance in interface SpanBatchOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
required string instance = 4;getInstanceBytes in interface SpanBatchOrBuilderpublic java.util.List<Span> getSpansList()
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5;getSpansList in interface SpanBatchOrBuilderpublic java.util.List<? extends SpanOrBuilder> getSpansOrBuilderList()
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5;getSpansOrBuilderList in interface SpanBatchOrBuilderpublic int getSpansCount()
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5;getSpansCount in interface SpanBatchOrBuilderpublic Span getSpans(int index)
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5;getSpans in interface SpanBatchOrBuilderpublic SpanOrBuilder getSpansOrBuilder(int index)
repeated .kamon.apm.ingestion.v1.traces.Span spans = 5;getSpansOrBuilder in interface SpanBatchOrBuilderpublic boolean hasAgent()
optional string agent = 6;hasAgent in interface SpanBatchOrBuilderpublic java.lang.String getAgent()
optional string agent = 6;getAgent in interface SpanBatchOrBuilderpublic com.google.protobuf.ByteString getAgentBytes()
optional string agent = 6;getAgentBytes in interface SpanBatchOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SpanBatch parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanBatch parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanBatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanBatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanBatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanBatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanBatch parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SpanBatch parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SpanBatch parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SpanBatch parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SpanBatch parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SpanBatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic SpanBatch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SpanBatch.Builder newBuilder()
public static SpanBatch.Builder newBuilder(SpanBatch prototype)
public SpanBatch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SpanBatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SpanBatch getDefaultInstance()
public static com.google.protobuf.Parser<SpanBatch> parser()
public com.google.protobuf.Parser<SpanBatch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SpanBatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder