public static final class EncryptionProtos.WrappedKey.Builder extends com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder> implements EncryptionProtos.WrappedKeyOrBuilder
WrappedKey
Modifier and Type | Method and Description |
---|---|
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; |
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<EncryptionProtos.WrappedKey.Builder>
public EncryptionProtos.WrappedKey.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<EncryptionProtos.WrappedKey.Builder>
public EncryptionProtos.WrappedKey.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<EncryptionProtos.WrappedKey.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<EncryptionProtos.WrappedKey.Builder>
public EncryptionProtos.WrappedKey getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EncryptionProtos.WrappedKey build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EncryptionProtos.WrappedKey buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EncryptionProtos.WrappedKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EncryptionProtos.WrappedKey.Builder>
public EncryptionProtos.WrappedKey.Builder mergeFrom(EncryptionProtos.WrappedKey other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<EncryptionProtos.WrappedKey.Builder>
public EncryptionProtos.WrappedKey.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<EncryptionProtos.WrappedKey.Builder>
IOException
public boolean hasAlgorithm()
required string algorithm = 1;
hasAlgorithm
in interface EncryptionProtos.WrappedKeyOrBuilder
public String getAlgorithm()
required string algorithm = 1;
getAlgorithm
in interface EncryptionProtos.WrappedKeyOrBuilder
public com.google.protobuf.ByteString getAlgorithmBytes()
required string algorithm = 1;
getAlgorithmBytes
in interface EncryptionProtos.WrappedKeyOrBuilder
public EncryptionProtos.WrappedKey.Builder setAlgorithm(String value)
required string algorithm = 1;
public EncryptionProtos.WrappedKey.Builder clearAlgorithm()
required string algorithm = 1;
public EncryptionProtos.WrappedKey.Builder setAlgorithmBytes(com.google.protobuf.ByteString value)
required string algorithm = 1;
public boolean hasLength()
required uint32 length = 2;
hasLength
in interface EncryptionProtos.WrappedKeyOrBuilder
public int getLength()
required uint32 length = 2;
getLength
in interface EncryptionProtos.WrappedKeyOrBuilder
public EncryptionProtos.WrappedKey.Builder setLength(int value)
required uint32 length = 2;
public EncryptionProtos.WrappedKey.Builder clearLength()
required uint32 length = 2;
public boolean hasData()
required bytes data = 3;
hasData
in interface EncryptionProtos.WrappedKeyOrBuilder
public com.google.protobuf.ByteString getData()
required bytes data = 3;
getData
in interface EncryptionProtos.WrappedKeyOrBuilder
public EncryptionProtos.WrappedKey.Builder setData(com.google.protobuf.ByteString value)
required bytes data = 3;
public EncryptionProtos.WrappedKey.Builder clearData()
required bytes data = 3;
public boolean hasIv()
optional bytes iv = 4;
hasIv
in interface EncryptionProtos.WrappedKeyOrBuilder
public com.google.protobuf.ByteString getIv()
optional bytes iv = 4;
getIv
in interface EncryptionProtos.WrappedKeyOrBuilder
public EncryptionProtos.WrappedKey.Builder setIv(com.google.protobuf.ByteString value)
optional bytes iv = 4;
public EncryptionProtos.WrappedKey.Builder clearIv()
optional bytes iv = 4;
public boolean hasHash()
optional bytes hash = 5;
hasHash
in interface EncryptionProtos.WrappedKeyOrBuilder
public com.google.protobuf.ByteString getHash()
optional bytes hash = 5;
getHash
in interface EncryptionProtos.WrappedKeyOrBuilder
public EncryptionProtos.WrappedKey.Builder setHash(com.google.protobuf.ByteString value)
optional bytes hash = 5;
public EncryptionProtos.WrappedKey.Builder clearHash()
optional bytes hash = 5;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.