public static final class RegistryConfig.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<RegistryConfig,RegistryConfig.Builder> implements RegistryConfigOrBuilder
A complete configuration of Tink library: a list of key types to be available via the Registry after initialization. All fields are required.Protobuf type
google.crypto.tink.RegistryConfig| Modifier and Type | Method and Description |
|---|---|
RegistryConfig.Builder |
addAllEntry(Iterable<? extends KeyTypeEntry> values)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
addEntry(int index,
KeyTypeEntry.Builder builderForValue)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
addEntry(int index,
KeyTypeEntry value)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
addEntry(KeyTypeEntry.Builder builderForValue)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
addEntry(KeyTypeEntry value)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
clearConfigName()
string config_name = 1; |
RegistryConfig.Builder |
clearEntry()
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
String |
getConfigName()
string config_name = 1; |
com.google.protobuf.ByteString |
getConfigNameBytes()
string config_name = 1; |
KeyTypeEntry |
getEntry(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
int |
getEntryCount()
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
List<KeyTypeEntry> |
getEntryList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
removeEntry(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
setConfigName(String value)
string config_name = 1; |
RegistryConfig.Builder |
setConfigNameBytes(com.google.protobuf.ByteString value)
string config_name = 1; |
RegistryConfig.Builder |
setEntry(int index,
KeyTypeEntry.Builder builderForValue)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig.Builder |
setEntry(int index,
KeyTypeEntry value)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic String getConfigName()
string config_name = 1;getConfigName in interface RegistryConfigOrBuilderpublic com.google.protobuf.ByteString getConfigNameBytes()
string config_name = 1;getConfigNameBytes in interface RegistryConfigOrBuilderpublic RegistryConfig.Builder setConfigName(String value)
string config_name = 1;value - The configName to set.public RegistryConfig.Builder clearConfigName()
string config_name = 1;public RegistryConfig.Builder setConfigNameBytes(com.google.protobuf.ByteString value)
string config_name = 1;value - The bytes for configName to set.public List<KeyTypeEntry> getEntryList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;getEntryList in interface RegistryConfigOrBuilderpublic int getEntryCount()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;getEntryCount in interface RegistryConfigOrBuilderpublic KeyTypeEntry getEntry(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;getEntry in interface RegistryConfigOrBuilderpublic RegistryConfig.Builder setEntry(int index, KeyTypeEntry value)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder setEntry(int index, KeyTypeEntry.Builder builderForValue)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder addEntry(KeyTypeEntry value)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder addEntry(int index, KeyTypeEntry value)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder addEntry(KeyTypeEntry.Builder builderForValue)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder addEntry(int index, KeyTypeEntry.Builder builderForValue)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder addAllEntry(Iterable<? extends KeyTypeEntry> values)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder clearEntry()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public RegistryConfig.Builder removeEntry(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;