public static final class CellProtos.KeyValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<CellProtos.KeyValue.Builder> implements CellProtos.KeyValueOrBuilder
KeyValue
Protocol buffer version of KeyValue. It doesn't have those transient parameters
| Modifier and Type | Method and Description |
|---|---|
CellProtos.KeyValue |
build() |
CellProtos.KeyValue |
buildPartial() |
CellProtos.KeyValue.Builder |
clear() |
CellProtos.KeyValue.Builder |
clearFamily()
required bytes family = 2; |
CellProtos.KeyValue.Builder |
clearKeyType()
optional .CellType key_type = 5; |
CellProtos.KeyValue.Builder |
clearQualifier()
required bytes qualifier = 3; |
CellProtos.KeyValue.Builder |
clearRow()
required bytes row = 1; |
CellProtos.KeyValue.Builder |
clearTags()
optional bytes tags = 7; |
CellProtos.KeyValue.Builder |
clearTimestamp()
optional uint64 timestamp = 4; |
CellProtos.KeyValue.Builder |
clearValue()
optional bytes value = 6; |
CellProtos.KeyValue.Builder |
clone() |
CellProtos.KeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getFamily()
required bytes family = 2; |
CellProtos.CellType |
getKeyType()
optional .CellType key_type = 5; |
com.google.protobuf.ByteString |
getQualifier()
required bytes qualifier = 3; |
com.google.protobuf.ByteString |
getRow()
required bytes row = 1; |
com.google.protobuf.ByteString |
getTags()
optional bytes tags = 7; |
long |
getTimestamp()
optional uint64 timestamp = 4; |
com.google.protobuf.ByteString |
getValue()
optional bytes value = 6; |
boolean |
hasFamily()
required bytes family = 2; |
boolean |
hasKeyType()
optional .CellType key_type = 5; |
boolean |
hasQualifier()
required bytes qualifier = 3; |
boolean |
hasRow()
required bytes row = 1; |
boolean |
hasTags()
optional bytes tags = 7; |
boolean |
hasTimestamp()
optional uint64 timestamp = 4; |
boolean |
hasValue()
optional bytes value = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CellProtos.KeyValue.Builder |
mergeFrom(CellProtos.KeyValue other) |
CellProtos.KeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CellProtos.KeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
CellProtos.KeyValue.Builder |
setFamily(com.google.protobuf.ByteString value)
required bytes family = 2; |
CellProtos.KeyValue.Builder |
setKeyType(CellProtos.CellType value)
optional .CellType key_type = 5; |
CellProtos.KeyValue.Builder |
setQualifier(com.google.protobuf.ByteString value)
required bytes qualifier = 3; |
CellProtos.KeyValue.Builder |
setRow(com.google.protobuf.ByteString value)
required bytes row = 1; |
CellProtos.KeyValue.Builder |
setTags(com.google.protobuf.ByteString value)
optional bytes tags = 7; |
CellProtos.KeyValue.Builder |
setTimestamp(long value)
optional uint64 timestamp = 4; |
CellProtos.KeyValue.Builder |
setValue(com.google.protobuf.ByteString value)
optional bytes value = 6; |
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<CellProtos.KeyValue.Builder>public CellProtos.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<CellProtos.KeyValue.Builder>public CellProtos.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<CellProtos.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<CellProtos.KeyValue.Builder>public CellProtos.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CellProtos.KeyValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CellProtos.KeyValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CellProtos.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CellProtos.KeyValue.Builder>public CellProtos.KeyValue.Builder mergeFrom(CellProtos.KeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CellProtos.KeyValue.Builder>public CellProtos.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<CellProtos.KeyValue.Builder>IOExceptionpublic boolean hasRow()
required bytes row = 1;hasRow in interface CellProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getRow()
required bytes row = 1;getRow in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setRow(com.google.protobuf.ByteString value)
required bytes row = 1;public CellProtos.KeyValue.Builder clearRow()
required bytes row = 1;public boolean hasFamily()
required bytes family = 2;hasFamily in interface CellProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getFamily()
required bytes family = 2;getFamily in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setFamily(com.google.protobuf.ByteString value)
required bytes family = 2;public CellProtos.KeyValue.Builder clearFamily()
required bytes family = 2;public boolean hasQualifier()
required bytes qualifier = 3;hasQualifier in interface CellProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getQualifier()
required bytes qualifier = 3;getQualifier in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setQualifier(com.google.protobuf.ByteString value)
required bytes qualifier = 3;public CellProtos.KeyValue.Builder clearQualifier()
required bytes qualifier = 3;public boolean hasTimestamp()
optional uint64 timestamp = 4;hasTimestamp in interface CellProtos.KeyValueOrBuilderpublic long getTimestamp()
optional uint64 timestamp = 4;getTimestamp in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setTimestamp(long value)
optional uint64 timestamp = 4;public CellProtos.KeyValue.Builder clearTimestamp()
optional uint64 timestamp = 4;public boolean hasKeyType()
optional .CellType key_type = 5;hasKeyType in interface CellProtos.KeyValueOrBuilderpublic CellProtos.CellType getKeyType()
optional .CellType key_type = 5;getKeyType in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setKeyType(CellProtos.CellType value)
optional .CellType key_type = 5;public CellProtos.KeyValue.Builder clearKeyType()
optional .CellType key_type = 5;public boolean hasValue()
optional bytes value = 6;hasValue in interface CellProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getValue()
optional bytes value = 6;getValue in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setValue(com.google.protobuf.ByteString value)
optional bytes value = 6;public CellProtos.KeyValue.Builder clearValue()
optional bytes value = 6;public boolean hasTags()
optional bytes tags = 7;hasTags in interface CellProtos.KeyValueOrBuilderpublic com.google.protobuf.ByteString getTags()
optional bytes tags = 7;getTags in interface CellProtos.KeyValueOrBuilderpublic CellProtos.KeyValue.Builder setTags(com.google.protobuf.ByteString value)
optional bytes tags = 7;public CellProtos.KeyValue.Builder clearTags()
optional bytes tags = 7;Copyright © 2014 The Apache Software Foundation. All rights reserved.