com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, KeyValueOrBuilderpublic static final class KeyValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder> implements KeyValueOrBuilder
Represent both tags and log fields.Protobuf type
lightstep.collector.KeyValue| Modifier and Type | Method | Description |
|---|---|---|
KeyValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
|
KeyValue |
build() |
|
KeyValue |
buildPartial() |
|
KeyValue.Builder |
clear() |
|
KeyValue.Builder |
clearBoolValue() |
bool bool_value = 5; |
KeyValue.Builder |
clearDoubleValue() |
double double_value = 4; |
KeyValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
|
KeyValue.Builder |
clearIntValue() |
int64 int_value = 3; |
KeyValue.Builder |
clearJsonValue() |
Must be a well-formed JSON value.
|
KeyValue.Builder |
clearKey() |
string key = 1; |
KeyValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
|
KeyValue.Builder |
clearStringValue() |
Holds arbitrary string data; well-formed JSON strings should go in
json_value.
|
KeyValue.Builder |
clearValue() |
|
KeyValue.Builder |
clone() |
|
boolean |
getBoolValue() |
bool bool_value = 5; |
KeyValue |
getDefaultInstanceForType() |
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
|
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
|
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; |
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.
|
KeyValue.ValueCase |
getValueCase() |
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
|
boolean |
isInitialized() |
|
KeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
KeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
|
KeyValue.Builder |
mergeFrom(KeyValue other) |
|
KeyValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
|
KeyValue.Builder |
setBoolValue(boolean value) |
bool bool_value = 5; |
KeyValue.Builder |
setDoubleValue(double value) |
double double_value = 4; |
KeyValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
|
KeyValue.Builder |
setIntValue(long value) |
int64 int_value = 3; |
KeyValue.Builder |
setJsonValue(java.lang.String value) |
Must be a well-formed JSON value.
|
KeyValue.Builder |
setJsonValueBytes(com.google.protobuf.ByteString value) |
Must be a well-formed JSON value.
|
KeyValue.Builder |
setKey(java.lang.String value) |
string key = 1; |
KeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value) |
string key = 1; |
KeyValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
|
KeyValue.Builder |
setStringValue(java.lang.String value) |
Holds arbitrary string data; well-formed JSON strings should go in
json_value.
|
KeyValue.Builder |
setStringValueBytes(com.google.protobuf.ByteString value) |
Holds arbitrary string data; well-formed JSON strings should go in
json_value.
|
KeyValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder clear()
clear in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic KeyValue build()
public KeyValue buildPartial()
public KeyValue.Builder clone()
clone in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeyValue.Builder>public KeyValue.Builder mergeFrom(KeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public KeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeyValue.Builder>java.io.IOExceptionpublic KeyValue.ValueCase getValueCase()
getValueCase in interface KeyValueOrBuilderpublic KeyValue.Builder clearValue()
public java.lang.String getKey()
string key = 1;getKey in interface KeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
string key = 1;getKeyBytes in interface KeyValueOrBuilderpublic KeyValue.Builder setKey(java.lang.String value)
string key = 1;public KeyValue.Builder clearKey()
string key = 1;public KeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
string key = 1;public 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 KeyValue.Builder setStringValue(java.lang.String value)
Holds arbitrary string data; well-formed JSON strings should go in json_value.
string string_value = 2;public KeyValue.Builder clearStringValue()
Holds arbitrary string data; well-formed JSON strings should go in json_value.
string string_value = 2;public KeyValue.Builder setStringValueBytes(com.google.protobuf.ByteString value)
Holds arbitrary string data; well-formed JSON strings should go in json_value.
string string_value = 2;public long getIntValue()
int64 int_value = 3;getIntValue in interface KeyValueOrBuilderpublic KeyValue.Builder setIntValue(long value)
int64 int_value = 3;public KeyValue.Builder clearIntValue()
int64 int_value = 3;public double getDoubleValue()
double double_value = 4;getDoubleValue in interface KeyValueOrBuilderpublic KeyValue.Builder setDoubleValue(double value)
double double_value = 4;public KeyValue.Builder clearDoubleValue()
double double_value = 4;public boolean getBoolValue()
bool bool_value = 5;getBoolValue in interface KeyValueOrBuilderpublic KeyValue.Builder setBoolValue(boolean value)
bool bool_value = 5;public KeyValue.Builder clearBoolValue()
bool bool_value = 5;public 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 KeyValue.Builder setJsonValue(java.lang.String value)
Must be a well-formed JSON value. Truncated JSON should go in string_value. Should not be used for tags.
string json_value = 6;public KeyValue.Builder clearJsonValue()
Must be a well-formed JSON value. Truncated JSON should go in string_value. Should not be used for tags.
string json_value = 6;public KeyValue.Builder setJsonValueBytes(com.google.protobuf.ByteString value)
Must be a well-formed JSON value. Truncated JSON should go in string_value. Should not be used for tags.
string json_value = 6;public final KeyValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>public final KeyValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeyValue.Builder>Copyright © 2018 LightStep. All rights reserved.