org.apache.hadoop.hbase.protobuf.generated
Class EncryptionProtos.WrappedKey.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.EncryptionProtos.WrappedKey.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, EncryptionProtos.WrappedKeyOrBuilder
Enclosing class:
EncryptionProtos.WrappedKey

public static final class EncryptionProtos.WrappedKey.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>
implements EncryptionProtos.WrappedKeyOrBuilder

Protobuf type WrappedKey


Method Summary
 EncryptionProtos.WrappedKey build()
           
 EncryptionProtos.WrappedKey buildPartial()
           
 EncryptionProtos.WrappedKey.Builder clear()
           
 EncryptionProtos.WrappedKey.Builder clearAlgorithm()
          required string algorithm = 1;
 EncryptionProtos.WrappedKey.Builder clearData()
          required bytes data = 3;
 EncryptionProtos.WrappedKey.Builder clearHash()
          optional bytes hash = 5;
 EncryptionProtos.WrappedKey.Builder clearIv()
          optional bytes iv = 4;
 EncryptionProtos.WrappedKey.Builder clearLength()
          required uint32 length = 2;
 EncryptionProtos.WrappedKey.Builder clone()
           
 String getAlgorithm()
          required string algorithm = 1;
 com.google.protobuf.ByteString getAlgorithmBytes()
          required string algorithm = 1;
 com.google.protobuf.ByteString getData()
          required bytes data = 3;
 EncryptionProtos.WrappedKey getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getHash()
          optional bytes hash = 5;
 com.google.protobuf.ByteString getIv()
          optional bytes iv = 4;
 int getLength()
          required uint32 length = 2;
 boolean hasAlgorithm()
          required string algorithm = 1;
 boolean hasData()
          required bytes data = 3;
 boolean hasHash()
          optional bytes hash = 5;
 boolean hasIv()
          optional bytes iv = 4;
 boolean hasLength()
          required uint32 length = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 EncryptionProtos.WrappedKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 EncryptionProtos.WrappedKey.Builder mergeFrom(EncryptionProtos.WrappedKey other)
           
 EncryptionProtos.WrappedKey.Builder mergeFrom(com.google.protobuf.Message other)
           
 EncryptionProtos.WrappedKey.Builder setAlgorithm(String value)
          required string algorithm = 1;
 EncryptionProtos.WrappedKey.Builder setAlgorithmBytes(com.google.protobuf.ByteString value)
          required string algorithm = 1;
 EncryptionProtos.WrappedKey.Builder setData(com.google.protobuf.ByteString value)
          required bytes data = 3;
 EncryptionProtos.WrappedKey.Builder setHash(com.google.protobuf.ByteString value)
          optional bytes hash = 5;
 EncryptionProtos.WrappedKey.Builder setIv(com.google.protobuf.ByteString value)
          optional bytes iv = 4;
 EncryptionProtos.WrappedKey.Builder setLength(int value)
          required uint32 length = 2;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>

clear

public EncryptionProtos.WrappedKey.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>

clone

public EncryptionProtos.WrappedKey.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>

getDefaultInstanceForType

public EncryptionProtos.WrappedKey getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public EncryptionProtos.WrappedKey build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public EncryptionProtos.WrappedKey buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public EncryptionProtos.WrappedKey.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EncryptionProtos.WrappedKey.Builder>

mergeFrom

public EncryptionProtos.WrappedKey.Builder mergeFrom(EncryptionProtos.WrappedKey other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>

mergeFrom

public EncryptionProtos.WrappedKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EncryptionProtos.WrappedKey.Builder>
Throws:
IOException

hasAlgorithm

public boolean hasAlgorithm()
required string algorithm = 1;

Specified by:
hasAlgorithm in interface EncryptionProtos.WrappedKeyOrBuilder

getAlgorithm

public String getAlgorithm()
required string algorithm = 1;

Specified by:
getAlgorithm in interface EncryptionProtos.WrappedKeyOrBuilder

getAlgorithmBytes

public com.google.protobuf.ByteString getAlgorithmBytes()
required string algorithm = 1;

Specified by:
getAlgorithmBytes in interface EncryptionProtos.WrappedKeyOrBuilder

setAlgorithm

public EncryptionProtos.WrappedKey.Builder setAlgorithm(String value)
required string algorithm = 1;


clearAlgorithm

public EncryptionProtos.WrappedKey.Builder clearAlgorithm()
required string algorithm = 1;


setAlgorithmBytes

public EncryptionProtos.WrappedKey.Builder setAlgorithmBytes(com.google.protobuf.ByteString value)
required string algorithm = 1;


hasLength

public boolean hasLength()
required uint32 length = 2;

Specified by:
hasLength in interface EncryptionProtos.WrappedKeyOrBuilder

getLength

public int getLength()
required uint32 length = 2;

Specified by:
getLength in interface EncryptionProtos.WrappedKeyOrBuilder

setLength

public EncryptionProtos.WrappedKey.Builder setLength(int value)
required uint32 length = 2;


clearLength

public EncryptionProtos.WrappedKey.Builder clearLength()
required uint32 length = 2;


hasData

public boolean hasData()
required bytes data = 3;

Specified by:
hasData in interface EncryptionProtos.WrappedKeyOrBuilder

getData

public com.google.protobuf.ByteString getData()
required bytes data = 3;

Specified by:
getData in interface EncryptionProtos.WrappedKeyOrBuilder

setData

public EncryptionProtos.WrappedKey.Builder setData(com.google.protobuf.ByteString value)
required bytes data = 3;


clearData

public EncryptionProtos.WrappedKey.Builder clearData()
required bytes data = 3;


hasIv

public boolean hasIv()
optional bytes iv = 4;

Specified by:
hasIv in interface EncryptionProtos.WrappedKeyOrBuilder

getIv

public com.google.protobuf.ByteString getIv()
optional bytes iv = 4;

Specified by:
getIv in interface EncryptionProtos.WrappedKeyOrBuilder

setIv

public EncryptionProtos.WrappedKey.Builder setIv(com.google.protobuf.ByteString value)
optional bytes iv = 4;


clearIv

public EncryptionProtos.WrappedKey.Builder clearIv()
optional bytes iv = 4;


hasHash

public boolean hasHash()
optional bytes hash = 5;

Specified by:
hasHash in interface EncryptionProtos.WrappedKeyOrBuilder

getHash

public com.google.protobuf.ByteString getHash()
optional bytes hash = 5;

Specified by:
getHash in interface EncryptionProtos.WrappedKeyOrBuilder

setHash

public EncryptionProtos.WrappedKey.Builder setHash(com.google.protobuf.ByteString value)
optional bytes hash = 5;


clearHash

public EncryptionProtos.WrappedKey.Builder clearHash()
optional bytes hash = 5;



Copyright © 2015 The Apache Software Foundation. All Rights Reserved.