public final class KeyTemplate extends com.google.protobuf.GeneratedMessageLite<KeyTemplate,KeyTemplate.Builder> implements KeyTemplateOrBuilder
google.crypto.tink.KeyTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
KeyTemplate.Builder
Protobuf type
google.crypto.tink.KeyTemplate |
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.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| Modifier and Type | Field and Description |
|---|---|
static int |
OUTPUT_PREFIX_TYPE_FIELD_NUMBER |
static int |
TYPE_URL_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static KeyTemplate |
getDefaultInstance() |
OutputPrefixType |
getOutputPrefixType()
Required.
|
int |
getOutputPrefixTypeValue()
Required.
|
String |
getTypeUrl()
Required.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
Required.
|
com.google.protobuf.ByteString |
getValue()
Required.
|
static KeyTemplate.Builder |
newBuilder() |
static KeyTemplate.Builder |
newBuilder(KeyTemplate prototype) |
static KeyTemplate |
parseDelimitedFrom(InputStream input) |
static KeyTemplate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTemplate |
parseFrom(byte[] data) |
static KeyTemplate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTemplate |
parseFrom(ByteBuffer data) |
static KeyTemplate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTemplate |
parseFrom(com.google.protobuf.ByteString data) |
static KeyTemplate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTemplate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeyTemplate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeyTemplate |
parseFrom(InputStream input) |
static KeyTemplate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeyTemplate> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TYPE_URL_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int OUTPUT_PREFIX_TYPE_FIELD_NUMBER
public String getTypeUrl()
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;getTypeUrl in interface KeyTemplateOrBuilderpublic com.google.protobuf.ByteString getTypeUrlBytes()
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;getTypeUrlBytes in interface KeyTemplateOrBuilderpublic com.google.protobuf.ByteString getValue()
Required. The serialized *KeyFormat proto.
bytes value = 2;getValue in interface KeyTemplateOrBuilderpublic int getOutputPrefixTypeValue()
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;getOutputPrefixTypeValue in interface KeyTemplateOrBuilderpublic OutputPrefixType getOutputPrefixType()
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;getOutputPrefixType in interface KeyTemplateOrBuilderpublic static KeyTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeyTemplate parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeyTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyTemplate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeyTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeyTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeyTemplate.Builder newBuilder()
public static KeyTemplate.Builder newBuilder(KeyTemplate prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<KeyTemplate,KeyTemplate.Builder>public static KeyTemplate getDefaultInstance()
public static com.google.protobuf.Parser<KeyTemplate> parser()