com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, KeyValueOrBuilderpublic final class KeyValue extends com.google.protobuf.GeneratedMessageV3 implements KeyValueOrBuilder
Represent both tags and log fields.Protobuf type
lightstep.collector.KeyValue| Modifier and Type | Class | Description |
|---|---|---|
static class |
KeyValue.Builder |
Represent both tags and log fields.
|
static class |
KeyValue.ValueCase |
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| Modifier and Type | Field | Description |
|---|---|---|
static int |
BOOL_VALUE_FIELD_NUMBER |
|
static int |
DOUBLE_VALUE_FIELD_NUMBER |
|
static int |
INT_VALUE_FIELD_NUMBER |
|
static int |
JSON_VALUE_FIELD_NUMBER |
|
static int |
KEY_FIELD_NUMBER |
|
static int |
STRING_VALUE_FIELD_NUMBER |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
boolean |
getBoolValue() |
bool bool_value = 5; |
static KeyValue |
getDefaultInstance() |
|
KeyValue |
getDefaultInstanceForType() |
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
|
double |
getDoubleValue() |
double double_value = 4; |
long |
getIntValue() |
int64 int_value = 3; |
java.lang.String |
getJsonValue() |
Must be a well-formed JSON value.
|
com.google.protobuf.ByteString |
getJsonValueBytes() |
Must be a well-formed JSON value.
|
java.lang.String |
getKey() |
string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes() |
string key = 1; |
com.google.protobuf.Parser<KeyValue> |
getParserForType() |
|
int |
getSerializedSize() |
|
java.lang.String |
getStringValue() |
Holds arbitrary string data; well-formed JSON strings should go in
json_value.
|
com.google.protobuf.ByteString |
getStringValueBytes() |
Holds arbitrary string data; well-formed JSON strings should go in
json_value.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
|
KeyValue.ValueCase |
getValueCase() |
|
int |
hashCode() |
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
|
boolean |
isInitialized() |
|
static KeyValue.Builder |
newBuilder() |
|
static KeyValue.Builder |
newBuilder(KeyValue prototype) |
|
KeyValue.Builder |
newBuilderForType() |
|
protected KeyValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
|
static KeyValue |
parseDelimitedFrom(java.io.InputStream input) |
|
static KeyValue |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static KeyValue |
parseFrom(byte[] data) |
|
static KeyValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static KeyValue |
parseFrom(com.google.protobuf.ByteString data) |
|
static KeyValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
|
static KeyValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static KeyValue |
parseFrom(java.io.InputStream input) |
|
static KeyValue |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static KeyValue |
parseFrom(java.nio.ByteBuffer data) |
|
static KeyValue |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static com.google.protobuf.Parser<KeyValue> |
parser() |
|
KeyValue.Builder |
toBuilder() |
|
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTocanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int KEY_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER
public static final int JSON_VALUE_FIELD_NUMBER
public 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 KeyValue.ValueCase getValueCase()
getValueCase in interface KeyValueOrBuilderpublic java.lang.String getKey()
string key = 1;getKey in interface KeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
string key = 1;getKeyBytes in interface KeyValueOrBuilderpublic java.lang.String getStringValue()
Holds arbitrary string data; well-formed JSON strings should go in json_value.
string string_value = 2;getStringValue in interface KeyValueOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
Holds arbitrary string data; well-formed JSON strings should go in json_value.
string string_value = 2;getStringValueBytes in interface KeyValueOrBuilderpublic long getIntValue()
int64 int_value = 3;getIntValue in interface KeyValueOrBuilderpublic double getDoubleValue()
double double_value = 4;getDoubleValue in interface KeyValueOrBuilderpublic boolean getBoolValue()
bool bool_value = 5;getBoolValue in interface KeyValueOrBuilderpublic java.lang.String getJsonValue()
Must be a well-formed JSON value. Truncated JSON should go in string_value. Should not be used for tags.
string json_value = 6;getJsonValue in interface KeyValueOrBuilderpublic com.google.protobuf.ByteString getJsonValueBytes()
Must be a well-formed JSON value. Truncated JSON should go in string_value. Should not be used for tags.
string json_value = 6;getJsonValueBytes in interface KeyValueOrBuilderpublic 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 class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in class com.google.protobuf.AbstractMessagepublic static KeyValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValue parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyValue parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static KeyValue parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static KeyValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static KeyValue parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static KeyValue parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static KeyValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic KeyValue.Builder newBuilderForType()
public static KeyValue.Builder newBuilder()
public static KeyValue.Builder newBuilder(KeyValue prototype)
public KeyValue.Builder toBuilder()
protected KeyValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KeyValue getDefaultInstance()
public static com.google.protobuf.Parser<KeyValue> parser()
public com.google.protobuf.Parser<KeyValue> getParserForType()
getParserForType in class com.google.protobuf.GeneratedMessageV3public KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 LightStep. All rights reserved.