public static final class MLDataFormats.KeyValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder> implements MLDataFormats.KeyValueOrBuilder
KeyValue| Modifier and Type | Method and Description |
|---|---|
MLDataFormats.KeyValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLDataFormats.KeyValue |
build() |
MLDataFormats.KeyValue |
buildPartial() |
MLDataFormats.KeyValue.Builder |
clear() |
MLDataFormats.KeyValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLDataFormats.KeyValue.Builder |
clearKey()
required string key = 1; |
MLDataFormats.KeyValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLDataFormats.KeyValue.Builder |
clearValue()
required string value = 2; |
MLDataFormats.KeyValue.Builder |
clone() |
MLDataFormats.KeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
String |
getValue()
required string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 2; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
required string value = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MLDataFormats.KeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLDataFormats.KeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
MLDataFormats.KeyValue.Builder |
mergeFrom(MLDataFormats.KeyValue other) |
MLDataFormats.KeyValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLDataFormats.KeyValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLDataFormats.KeyValue.Builder |
setKey(String value)
required string key = 1; |
MLDataFormats.KeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1; |
MLDataFormats.KeyValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLDataFormats.KeyValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLDataFormats.KeyValue.Builder |
setValue(String value)
required string value = 2; |
MLDataFormats.KeyValue.Builder |
setValueBytes(com.google.protobuf.ByteString value)
required string value = 2; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.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.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MLDataFormats.KeyValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MLDataFormats.KeyValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MLDataFormats.KeyValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.Builder mergeFrom(MLDataFormats.KeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public MLDataFormats.KeyValue.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<MLDataFormats.KeyValue.Builder>IOExceptionpublic boolean hasKey()
required string key = 1;hasKey in interface MLDataFormats.KeyValueOrBuilderpublic String getKey()
required string key = 1;getKey in interface MLDataFormats.KeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
required string key = 1;getKeyBytes in interface MLDataFormats.KeyValueOrBuilderpublic MLDataFormats.KeyValue.Builder setKey(String value)
required string key = 1;value - The key to set.public MLDataFormats.KeyValue.Builder clearKey()
required string key = 1;public MLDataFormats.KeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;value - The bytes for key to set.public boolean hasValue()
required string value = 2;hasValue in interface MLDataFormats.KeyValueOrBuilderpublic String getValue()
required string value = 2;getValue in interface MLDataFormats.KeyValueOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
required string value = 2;getValueBytes in interface MLDataFormats.KeyValueOrBuilderpublic MLDataFormats.KeyValue.Builder setValue(String value)
required string value = 2;value - The value to set.public MLDataFormats.KeyValue.Builder clearValue()
required string value = 2;public MLDataFormats.KeyValue.Builder setValueBytes(com.google.protobuf.ByteString value)
required string value = 2;value - The bytes for value to set.public final MLDataFormats.KeyValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>public final MLDataFormats.KeyValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MLDataFormats.KeyValue.Builder>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.