public final class RegistryConfig extends com.google.protobuf.GeneratedMessageLite<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 | Class and Description |
|---|---|
static class |
RegistryConfig.Builder
A complete configuration of Tink library: a list of key types
to be available via the Registry after initialization.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIG_NAME_FIELD_NUMBER |
static int |
ENTRY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
String |
getConfigName()
optional string config_name = 1; |
com.google.protobuf.ByteString |
getConfigNameBytes()
optional string config_name = 1; |
static RegistryConfig |
getDefaultInstance() |
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; |
KeyTypeEntryOrBuilder |
getEntryOrBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
List<? extends KeyTypeEntryOrBuilder> |
getEntryOrBuilderList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2; |
int |
getSerializedSize() |
static RegistryConfig.Builder |
newBuilder() |
static RegistryConfig.Builder |
newBuilder(RegistryConfig prototype) |
static RegistryConfig |
parseDelimitedFrom(InputStream input) |
static RegistryConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RegistryConfig |
parseFrom(byte[] data) |
static RegistryConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RegistryConfig |
parseFrom(com.google.protobuf.ByteString data) |
static RegistryConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RegistryConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RegistryConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RegistryConfig |
parseFrom(InputStream input) |
static RegistryConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RegistryConfig> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONFIG_NAME_FIELD_NUMBER
public static final int ENTRY_FIELD_NUMBER
public String getConfigName()
optional string config_name = 1;getConfigName in interface RegistryConfigOrBuilderpublic com.google.protobuf.ByteString getConfigNameBytes()
optional string config_name = 1;getConfigNameBytes in interface RegistryConfigOrBuilderpublic List<KeyTypeEntry> getEntryList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;getEntryList in interface RegistryConfigOrBuilderpublic List<? extends KeyTypeEntryOrBuilder> getEntryOrBuilderList()
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public 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 KeyTypeEntryOrBuilder getEntryOrBuilder(int index)
repeated .google.crypto.tink.KeyTypeEntry entry = 2;public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitepublic static RegistryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RegistryConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RegistryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RegistryConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RegistryConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static RegistryConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RegistryConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RegistryConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RegistryConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RegistryConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RegistryConfig.Builder newBuilder()
public static RegistryConfig.Builder newBuilder(RegistryConfig prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<RegistryConfig,RegistryConfig.Builder>public static RegistryConfig getDefaultInstance()
public static com.google.protobuf.Parser<RegistryConfig> parser()