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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<CellProtos.KeyValue.Builder>
public CellProtos.KeyValue.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<CellProtos.KeyValue.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<CellProtos.KeyValue.Builder>
public CellProtos.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CellProtos.KeyValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CellProtos.KeyValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CellProtos.KeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CellProtos.KeyValue.Builder>
IOException
public boolean hasRow()
required bytes row = 1;
hasRow
in interface CellProtos.KeyValueOrBuilder
public com.google.protobuf.ByteString getRow()
required bytes row = 1;
getRow
in interface CellProtos.KeyValueOrBuilder
public 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.KeyValueOrBuilder
public com.google.protobuf.ByteString getFamily()
required bytes family = 2;
getFamily
in interface CellProtos.KeyValueOrBuilder
public 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.KeyValueOrBuilder
public com.google.protobuf.ByteString getQualifier()
required bytes qualifier = 3;
getQualifier
in interface CellProtos.KeyValueOrBuilder
public 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.KeyValueOrBuilder
public long getTimestamp()
optional uint64 timestamp = 4;
getTimestamp
in interface CellProtos.KeyValueOrBuilder
public 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.KeyValueOrBuilder
public CellProtos.CellType getKeyType()
optional .CellType key_type = 5;
getKeyType
in interface CellProtos.KeyValueOrBuilder
public 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.KeyValueOrBuilder
public com.google.protobuf.ByteString getValue()
optional bytes value = 6;
getValue
in interface CellProtos.KeyValueOrBuilder
public 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.KeyValueOrBuilder
public com.google.protobuf.ByteString getTags()
optional bytes tags = 7;
getTags
in interface CellProtos.KeyValueOrBuilder
public CellProtos.KeyValue.Builder setTags(com.google.protobuf.ByteString value)
optional bytes tags = 7;
public CellProtos.KeyValue.Builder clearTags()
optional bytes tags = 7;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.