public static final class HistoryLoggerProtos.KVPair.Builder extends com.google.protobuf.GeneratedMessage.Builder<HistoryLoggerProtos.KVPair.Builder> implements HistoryLoggerProtos.KVPairOrBuilder
KVPair| Modifier and Type | Method and Description |
|---|---|
HistoryLoggerProtos.KVPair |
build() |
HistoryLoggerProtos.KVPair |
buildPartial() |
HistoryLoggerProtos.KVPair.Builder |
clear() |
HistoryLoggerProtos.KVPair.Builder |
clearKey()
optional string key = 1; |
HistoryLoggerProtos.KVPair.Builder |
clearValue()
optional string value = 2; |
HistoryLoggerProtos.KVPair.Builder |
clone() |
HistoryLoggerProtos.KVPair |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
optional string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
optional string key = 1; |
String |
getValue()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasKey()
optional string key = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HistoryLoggerProtos.KVPair.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HistoryLoggerProtos.KVPair.Builder |
mergeFrom(HistoryLoggerProtos.KVPair other) |
HistoryLoggerProtos.KVPair.Builder |
mergeFrom(com.google.protobuf.Message other) |
HistoryLoggerProtos.KVPair.Builder |
setKey(String value)
optional string key = 1; |
HistoryLoggerProtos.KVPair.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 1; |
HistoryLoggerProtos.KVPair.Builder |
setValue(String value)
optional string value = 2; |
HistoryLoggerProtos.KVPair.Builder |
setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HistoryLoggerProtos.KVPair.Builder>public HistoryLoggerProtos.KVPair.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HistoryLoggerProtos.KVPair.Builder>public HistoryLoggerProtos.KVPair.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HistoryLoggerProtos.KVPair.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HistoryLoggerProtos.KVPair.Builder>public HistoryLoggerProtos.KVPair getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HistoryLoggerProtos.KVPair build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HistoryLoggerProtos.KVPair buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HistoryLoggerProtos.KVPair.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HistoryLoggerProtos.KVPair.Builder>public HistoryLoggerProtos.KVPair.Builder mergeFrom(HistoryLoggerProtos.KVPair other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<HistoryLoggerProtos.KVPair.Builder>public HistoryLoggerProtos.KVPair.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HistoryLoggerProtos.KVPair.Builder>IOExceptionpublic boolean hasKey()
optional string key = 1;hasKey in interface HistoryLoggerProtos.KVPairOrBuilderpublic String getKey()
optional string key = 1;getKey in interface HistoryLoggerProtos.KVPairOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
optional string key = 1;getKeyBytes in interface HistoryLoggerProtos.KVPairOrBuilderpublic HistoryLoggerProtos.KVPair.Builder setKey(String value)
optional string key = 1;public HistoryLoggerProtos.KVPair.Builder clearKey()
optional string key = 1;public HistoryLoggerProtos.KVPair.Builder setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 1;public boolean hasValue()
optional string value = 2;hasValue in interface HistoryLoggerProtos.KVPairOrBuilderpublic String getValue()
optional string value = 2;getValue in interface HistoryLoggerProtos.KVPairOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
optional string value = 2;getValueBytes in interface HistoryLoggerProtos.KVPairOrBuilderpublic HistoryLoggerProtos.KVPair.Builder setValue(String value)
optional string value = 2;public HistoryLoggerProtos.KVPair.Builder clearValue()
optional string value = 2;public HistoryLoggerProtos.KVPair.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2;Copyright © 2022 Apache Software Foundation. All rights reserved.