public static final class HdfsProtos.DataEncryptionKeyProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.DataEncryptionKeyProto.Builder> implements HdfsProtos.DataEncryptionKeyProtoOrBuilder
hadoop.hdfs.DataEncryptionKeyProto| Modifier and Type | Method and Description |
|---|---|
HdfsProtos.DataEncryptionKeyProto |
build() |
HdfsProtos.DataEncryptionKeyProto |
buildPartial() |
HdfsProtos.DataEncryptionKeyProto.Builder |
clear() |
HdfsProtos.DataEncryptionKeyProto.Builder |
clearBlockPoolId()
required string blockPoolId = 2; |
HdfsProtos.DataEncryptionKeyProto.Builder |
clearEncryptionAlgorithm()
optional string encryptionAlgorithm = 6; |
HdfsProtos.DataEncryptionKeyProto.Builder |
clearEncryptionKey()
required bytes encryptionKey = 4; |
HdfsProtos.DataEncryptionKeyProto.Builder |
clearExpiryDate()
required uint64 expiryDate = 5; |
HdfsProtos.DataEncryptionKeyProto.Builder |
clearKeyId()
required uint32 keyId = 1; |
HdfsProtos.DataEncryptionKeyProto.Builder |
clearNonce()
required bytes nonce = 3; |
HdfsProtos.DataEncryptionKeyProto.Builder |
clone() |
String |
getBlockPoolId()
required string blockPoolId = 2; |
com.google.protobuf.ByteString |
getBlockPoolIdBytes()
required string blockPoolId = 2; |
HdfsProtos.DataEncryptionKeyProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEncryptionAlgorithm()
optional string encryptionAlgorithm = 6; |
com.google.protobuf.ByteString |
getEncryptionAlgorithmBytes()
optional string encryptionAlgorithm = 6; |
com.google.protobuf.ByteString |
getEncryptionKey()
required bytes encryptionKey = 4; |
long |
getExpiryDate()
required uint64 expiryDate = 5; |
int |
getKeyId()
required uint32 keyId = 1; |
com.google.protobuf.ByteString |
getNonce()
required bytes nonce = 3; |
boolean |
hasBlockPoolId()
required string blockPoolId = 2; |
boolean |
hasEncryptionAlgorithm()
optional string encryptionAlgorithm = 6; |
boolean |
hasEncryptionKey()
required bytes encryptionKey = 4; |
boolean |
hasExpiryDate()
required uint64 expiryDate = 5; |
boolean |
hasKeyId()
required uint32 keyId = 1; |
boolean |
hasNonce()
required bytes nonce = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HdfsProtos.DataEncryptionKeyProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.DataEncryptionKeyProto.Builder |
mergeFrom(HdfsProtos.DataEncryptionKeyProto other) |
HdfsProtos.DataEncryptionKeyProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
HdfsProtos.DataEncryptionKeyProto.Builder |
setBlockPoolId(String value)
required string blockPoolId = 2; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setBlockPoolIdBytes(com.google.protobuf.ByteString value)
required string blockPoolId = 2; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setEncryptionAlgorithm(String value)
optional string encryptionAlgorithm = 6; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setEncryptionAlgorithmBytes(com.google.protobuf.ByteString value)
optional string encryptionAlgorithm = 6; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setEncryptionKey(com.google.protobuf.ByteString value)
required bytes encryptionKey = 4; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setExpiryDate(long value)
required uint64 expiryDate = 5; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setKeyId(int value)
required uint32 keyId = 1; |
HdfsProtos.DataEncryptionKeyProto.Builder |
setNonce(com.google.protobuf.ByteString value)
required bytes nonce = 3; |
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<HdfsProtos.DataEncryptionKeyProto.Builder>public HdfsProtos.DataEncryptionKeyProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.DataEncryptionKeyProto.Builder>public HdfsProtos.DataEncryptionKeyProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.DataEncryptionKeyProto.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<HdfsProtos.DataEncryptionKeyProto.Builder>public HdfsProtos.DataEncryptionKeyProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HdfsProtos.DataEncryptionKeyProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.DataEncryptionKeyProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.DataEncryptionKeyProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.DataEncryptionKeyProto.Builder>public HdfsProtos.DataEncryptionKeyProto.Builder mergeFrom(HdfsProtos.DataEncryptionKeyProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.DataEncryptionKeyProto.Builder>public HdfsProtos.DataEncryptionKeyProto.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<HdfsProtos.DataEncryptionKeyProto.Builder>IOExceptionpublic boolean hasKeyId()
required uint32 keyId = 1;hasKeyId in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic int getKeyId()
required uint32 keyId = 1;getKeyId in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic HdfsProtos.DataEncryptionKeyProto.Builder setKeyId(int value)
required uint32 keyId = 1;public HdfsProtos.DataEncryptionKeyProto.Builder clearKeyId()
required uint32 keyId = 1;public boolean hasBlockPoolId()
required string blockPoolId = 2;hasBlockPoolId in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic String getBlockPoolId()
required string blockPoolId = 2;getBlockPoolId in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic com.google.protobuf.ByteString getBlockPoolIdBytes()
required string blockPoolId = 2;getBlockPoolIdBytes in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic HdfsProtos.DataEncryptionKeyProto.Builder setBlockPoolId(String value)
required string blockPoolId = 2;public HdfsProtos.DataEncryptionKeyProto.Builder clearBlockPoolId()
required string blockPoolId = 2;public HdfsProtos.DataEncryptionKeyProto.Builder setBlockPoolIdBytes(com.google.protobuf.ByteString value)
required string blockPoolId = 2;public boolean hasNonce()
required bytes nonce = 3;hasNonce in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic com.google.protobuf.ByteString getNonce()
required bytes nonce = 3;getNonce in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic HdfsProtos.DataEncryptionKeyProto.Builder setNonce(com.google.protobuf.ByteString value)
required bytes nonce = 3;public HdfsProtos.DataEncryptionKeyProto.Builder clearNonce()
required bytes nonce = 3;public boolean hasEncryptionKey()
required bytes encryptionKey = 4;hasEncryptionKey in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic com.google.protobuf.ByteString getEncryptionKey()
required bytes encryptionKey = 4;getEncryptionKey in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic HdfsProtos.DataEncryptionKeyProto.Builder setEncryptionKey(com.google.protobuf.ByteString value)
required bytes encryptionKey = 4;public HdfsProtos.DataEncryptionKeyProto.Builder clearEncryptionKey()
required bytes encryptionKey = 4;public boolean hasExpiryDate()
required uint64 expiryDate = 5;hasExpiryDate in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic long getExpiryDate()
required uint64 expiryDate = 5;getExpiryDate in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic HdfsProtos.DataEncryptionKeyProto.Builder setExpiryDate(long value)
required uint64 expiryDate = 5;public HdfsProtos.DataEncryptionKeyProto.Builder clearExpiryDate()
required uint64 expiryDate = 5;public boolean hasEncryptionAlgorithm()
optional string encryptionAlgorithm = 6;hasEncryptionAlgorithm in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic String getEncryptionAlgorithm()
optional string encryptionAlgorithm = 6;getEncryptionAlgorithm in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic com.google.protobuf.ByteString getEncryptionAlgorithmBytes()
optional string encryptionAlgorithm = 6;getEncryptionAlgorithmBytes in interface HdfsProtos.DataEncryptionKeyProtoOrBuilderpublic HdfsProtos.DataEncryptionKeyProto.Builder setEncryptionAlgorithm(String value)
optional string encryptionAlgorithm = 6;public HdfsProtos.DataEncryptionKeyProto.Builder clearEncryptionAlgorithm()
optional string encryptionAlgorithm = 6;public HdfsProtos.DataEncryptionKeyProto.Builder setEncryptionAlgorithmBytes(com.google.protobuf.ByteString value)
optional string encryptionAlgorithm = 6;Copyright © 2013 Apache Software Foundation. All rights reserved.