public final class KeyTypeEntry extends com.google.protobuf.GeneratedMessageLite<KeyTypeEntry,KeyTypeEntry.Builder> implements KeyTypeEntryOrBuilder
An entry that describes a key type to be used with Tink library, specifying the corresponding primitive, key manager, and deprecation status. All fields are required.Protobuf type
google.crypto.tink.KeyTypeEntry| Modifier and Type | Class and Description |
|---|---|
static class |
KeyTypeEntry.Builder
An entry that describes a key type to be used with Tink library,
specifying the corresponding primitive, key manager, and deprecation status.
|
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 |
CATALOGUE_NAME_FIELD_NUMBER |
static int |
KEY_MANAGER_VERSION_FIELD_NUMBER |
static int |
NEW_KEY_ALLOWED_FIELD_NUMBER |
static int |
PRIMITIVE_NAME_FIELD_NUMBER |
static int |
TYPE_URL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
String |
getCatalogueName()
Catalogue to be queried for key manager,
|
com.google.protobuf.ByteString |
getCatalogueNameBytes()
Catalogue to be queried for key manager,
|
static KeyTypeEntry |
getDefaultInstance() |
int |
getKeyManagerVersion()
Minimum required version of key manager.
|
boolean |
getNewKeyAllowed()
Can the key manager create new keys?
|
String |
getPrimitiveName()
E.g.
|
com.google.protobuf.ByteString |
getPrimitiveNameBytes()
E.g.
|
int |
getSerializedSize() |
String |
getTypeUrl()
Name of the key type.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
Name of the key type.
|
static KeyTypeEntry.Builder |
newBuilder() |
static KeyTypeEntry.Builder |
newBuilder(KeyTypeEntry prototype) |
static KeyTypeEntry |
parseDelimitedFrom(InputStream input) |
static KeyTypeEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTypeEntry |
parseFrom(byte[] data) |
static KeyTypeEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTypeEntry |
parseFrom(com.google.protobuf.ByteString data) |
static KeyTypeEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTypeEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeyTypeEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTypeEntry |
parseFrom(InputStream input) |
static KeyTypeEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeyTypeEntry> |
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 PRIMITIVE_NAME_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
public static final int KEY_MANAGER_VERSION_FIELD_NUMBER
public static final int NEW_KEY_ALLOWED_FIELD_NUMBER
public static final int CATALOGUE_NAME_FIELD_NUMBER
public String getPrimitiveName()
E.g. “Aead”, “Mac”, ... (case-insensitive)
optional string primitive_name = 1;getPrimitiveName in interface KeyTypeEntryOrBuilderpublic com.google.protobuf.ByteString getPrimitiveNameBytes()
E.g. “Aead”, “Mac”, ... (case-insensitive)
optional string primitive_name = 1;getPrimitiveNameBytes in interface KeyTypeEntryOrBuilderpublic String getTypeUrl()
Name of the key type.
optional string type_url = 2;getTypeUrl in interface KeyTypeEntryOrBuilderpublic com.google.protobuf.ByteString getTypeUrlBytes()
Name of the key type.
optional string type_url = 2;getTypeUrlBytes in interface KeyTypeEntryOrBuilderpublic int getKeyManagerVersion()
Minimum required version of key manager.
optional uint32 key_manager_version = 3;getKeyManagerVersion in interface KeyTypeEntryOrBuilderpublic boolean getNewKeyAllowed()
Can the key manager create new keys?
optional bool new_key_allowed = 4;getNewKeyAllowed in interface KeyTypeEntryOrBuilderpublic String getCatalogueName()
Catalogue to be queried for key manager,
optional string catalogue_name = 5;getCatalogueName in interface KeyTypeEntryOrBuilderpublic com.google.protobuf.ByteString getCatalogueNameBytes()
Catalogue to be queried for key manager,
optional string catalogue_name = 5;getCatalogueNameBytes in interface KeyTypeEntryOrBuilderpublic 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 KeyTypeEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTypeEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTypeEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTypeEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTypeEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeyTypeEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyTypeEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeyTypeEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyTypeEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeyTypeEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyTypeEntry.Builder newBuilder()
public static KeyTypeEntry.Builder newBuilder(KeyTypeEntry prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<KeyTypeEntry,KeyTypeEntry.Builder>public static KeyTypeEntry getDefaultInstance()
public static com.google.protobuf.Parser<KeyTypeEntry> parser()