public static final class RegistryConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<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; |
KeyTypeEntry.Builder |
addEntryBuilder()
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
KeyTypeEntry.Builder |
addEntryBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
RegistryConfig |
build() |
RegistryConfig |
buildPartial() |
RegistryConfig.Builder |
clear() |
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; |
RegistryConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
KeyTypeEntry |
getEntry(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
KeyTypeEntry.Builder |
getEntryBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
List<KeyTypeEntry.Builder> |
getEntryBuilderList()
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; |
KeyTypeEntryOrBuilder |
getEntryOrBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
List<? extends KeyTypeEntryOrBuilder> |
getEntryOrBuilderList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RegistryConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RegistryConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
RegistryConfig.Builder |
mergeFrom(RegistryConfig other) |
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; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RegistryConfig.Builder>public RegistryConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RegistryConfig.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<RegistryConfig.Builder>public RegistryConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RegistryConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RegistryConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RegistryConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RegistryConfig.Builder>public RegistryConfig.Builder mergeFrom(RegistryConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RegistryConfig.Builder>public RegistryConfig.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<RegistryConfig.Builder>IOExceptionpublic 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;public KeyTypeEntry.Builder getEntryBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public KeyTypeEntryOrBuilder getEntryOrBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;getEntryOrBuilder in interface RegistryConfigOrBuilderpublic List<? extends KeyTypeEntryOrBuilder> getEntryOrBuilderList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;getEntryOrBuilderList in interface RegistryConfigOrBuilderpublic KeyTypeEntry.Builder addEntryBuilder()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public KeyTypeEntry.Builder addEntryBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public List<KeyTypeEntry.Builder> getEntryBuilderList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;