public static final class FieldTypeProtos.KeyValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<FieldTypeProtos.KeyValue.Builder> implements FieldTypeProtos.KeyValueOrBuilder
eu.dnetlib.data.proto.KeyValue
Generic container for identified values, e.g: <oaf:hostedBy name="Publications at Bielefeld University" id="opendoar::2294"/> <oaf:collectedFrom name="Publications at Bielefeld University" id="opendoar::2294"/>
| Modifier and Type | Method and Description |
|---|---|
FieldTypeProtos.KeyValue |
build() |
FieldTypeProtos.KeyValue |
buildPartial() |
FieldTypeProtos.KeyValue.Builder |
clear() |
FieldTypeProtos.KeyValue.Builder |
clearDataInfo()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.KeyValue.Builder |
clearKey()
required string key = 1; |
FieldTypeProtos.KeyValue.Builder |
clearValue()
optional string value = 2; |
FieldTypeProtos.KeyValue.Builder |
clone() |
FieldTypeProtos.DataInfo |
getDataInfo()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.DataInfo.Builder |
getDataInfoBuilder()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.DataInfoOrBuilder |
getDataInfoOrBuilder()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.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()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasDataInfo()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FieldTypeProtos.KeyValue.Builder |
mergeDataInfo(FieldTypeProtos.DataInfo value)
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.KeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FieldTypeProtos.KeyValue.Builder |
mergeFrom(FieldTypeProtos.KeyValue other) |
FieldTypeProtos.KeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
FieldTypeProtos.KeyValue.Builder |
setDataInfo(FieldTypeProtos.DataInfo.Builder builderForValue)
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.KeyValue.Builder |
setDataInfo(FieldTypeProtos.DataInfo value)
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3; |
FieldTypeProtos.KeyValue.Builder |
setKey(String value)
required string key = 1; |
FieldTypeProtos.KeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1; |
FieldTypeProtos.KeyValue.Builder |
setValue(String value)
optional string value = 2; |
FieldTypeProtos.KeyValue.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<FieldTypeProtos.KeyValue.Builder>public FieldTypeProtos.KeyValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FieldTypeProtos.KeyValue.Builder>public FieldTypeProtos.KeyValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<FieldTypeProtos.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.GeneratedMessage.Builder<FieldTypeProtos.KeyValue.Builder>public FieldTypeProtos.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FieldTypeProtos.KeyValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FieldTypeProtos.KeyValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FieldTypeProtos.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldTypeProtos.KeyValue.Builder>public FieldTypeProtos.KeyValue.Builder mergeFrom(FieldTypeProtos.KeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FieldTypeProtos.KeyValue.Builder>public FieldTypeProtos.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<FieldTypeProtos.KeyValue.Builder>IOExceptionpublic boolean hasKey()
required string key = 1;hasKey in interface FieldTypeProtos.KeyValueOrBuilderpublic String getKey()
required string key = 1;getKey in interface FieldTypeProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
required string key = 1;getKeyBytes in interface FieldTypeProtos.KeyValueOrBuilderpublic FieldTypeProtos.KeyValue.Builder setKey(String value)
required string key = 1;public FieldTypeProtos.KeyValue.Builder clearKey()
required string key = 1;public FieldTypeProtos.KeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;public boolean hasValue()
optional string value = 2;hasValue in interface FieldTypeProtos.KeyValueOrBuilderpublic String getValue()
optional string value = 2;getValue in interface FieldTypeProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
optional string value = 2;getValueBytes in interface FieldTypeProtos.KeyValueOrBuilderpublic FieldTypeProtos.KeyValue.Builder setValue(String value)
optional string value = 2;public FieldTypeProtos.KeyValue.Builder clearValue()
optional string value = 2;public FieldTypeProtos.KeyValue.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2;public boolean hasDataInfo()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;hasDataInfo in interface FieldTypeProtos.KeyValueOrBuilderpublic FieldTypeProtos.DataInfo getDataInfo()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;getDataInfo in interface FieldTypeProtos.KeyValueOrBuilderpublic FieldTypeProtos.KeyValue.Builder setDataInfo(FieldTypeProtos.DataInfo value)
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;public FieldTypeProtos.KeyValue.Builder setDataInfo(FieldTypeProtos.DataInfo.Builder builderForValue)
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;public FieldTypeProtos.KeyValue.Builder mergeDataInfo(FieldTypeProtos.DataInfo value)
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;public FieldTypeProtos.KeyValue.Builder clearDataInfo()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;public FieldTypeProtos.DataInfo.Builder getDataInfoBuilder()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;public FieldTypeProtos.DataInfoOrBuilder getDataInfoOrBuilder()
optional .eu.dnetlib.data.proto.DataInfo dataInfo = 3;getDataInfoOrBuilder in interface FieldTypeProtos.KeyValueOrBuilderCopyright © 2019. All rights reserved.