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, 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<HdfsProtos.DataEncryptionKeyProto.Builder>
public HdfsProtos.DataEncryptionKeyProto.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<HdfsProtos.DataEncryptionKeyProto.Builder>
public HdfsProtos.DataEncryptionKeyProto.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<HdfsProtos.DataEncryptionKeyProto.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<HdfsProtos.DataEncryptionKeyProto.Builder>
public HdfsProtos.DataEncryptionKeyProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.DataEncryptionKeyProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.DataEncryptionKeyProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.DataEncryptionKeyProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.DataEncryptionKeyProto.Builder>
IOException
public boolean hasKeyId()
required uint32 keyId = 1;
hasKeyId
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public int getKeyId()
required uint32 keyId = 1;
getKeyId
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public 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.DataEncryptionKeyProtoOrBuilder
public String getBlockPoolId()
required string blockPoolId = 2;
getBlockPoolId
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public com.google.protobuf.ByteString getBlockPoolIdBytes()
required string blockPoolId = 2;
getBlockPoolIdBytes
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public 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.DataEncryptionKeyProtoOrBuilder
public com.google.protobuf.ByteString getNonce()
required bytes nonce = 3;
getNonce
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public 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.DataEncryptionKeyProtoOrBuilder
public com.google.protobuf.ByteString getEncryptionKey()
required bytes encryptionKey = 4;
getEncryptionKey
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public 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.DataEncryptionKeyProtoOrBuilder
public long getExpiryDate()
required uint64 expiryDate = 5;
getExpiryDate
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public 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.DataEncryptionKeyProtoOrBuilder
public String getEncryptionAlgorithm()
optional string encryptionAlgorithm = 6;
getEncryptionAlgorithm
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public com.google.protobuf.ByteString getEncryptionAlgorithmBytes()
optional string encryptionAlgorithm = 6;
getEncryptionAlgorithmBytes
in interface HdfsProtos.DataEncryptionKeyProtoOrBuilder
public 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.