public final class KmsAeadKey extends com.google.protobuf.GeneratedMessageLite<KmsAeadKey,KmsAeadKey.Builder> implements KmsAeadKeyOrBuilder
There is no actual key material in the key.Protobuf type
google.crypto.tink.KmsAeadKey| Modifier and Type | Class and Description |
|---|---|
static class |
KmsAeadKey.Builder
There is no actual key material in the key.
|
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 |
PARAMS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static KmsAeadKey |
getDefaultInstance() |
KmsAeadKeyFormat |
getParams()
The key format also contains the params.
|
int |
getSerializedSize() |
int |
getVersion()
optional uint32 version = 1; |
boolean |
hasParams()
The key format also contains the params.
|
static KmsAeadKey.Builder |
newBuilder() |
static KmsAeadKey.Builder |
newBuilder(KmsAeadKey prototype) |
static KmsAeadKey |
parseDelimitedFrom(InputStream input) |
static KmsAeadKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsAeadKey |
parseFrom(byte[] data) |
static KmsAeadKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsAeadKey |
parseFrom(com.google.protobuf.ByteString data) |
static KmsAeadKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsAeadKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KmsAeadKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsAeadKey |
parseFrom(InputStream input) |
static KmsAeadKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KmsAeadKey> |
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 VERSION_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
public int getVersion()
optional uint32 version = 1;getVersion in interface KmsAeadKeyOrBuilderpublic boolean hasParams()
The key format also contains the params.
optional .google.crypto.tink.KmsAeadKeyFormat params = 2;hasParams in interface KmsAeadKeyOrBuilderpublic KmsAeadKeyFormat getParams()
The key format also contains the params.
optional .google.crypto.tink.KmsAeadKeyFormat params = 2;getParams in interface KmsAeadKeyOrBuilderpublic 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 KmsAeadKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsAeadKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsAeadKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsAeadKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsAeadKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static KmsAeadKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KmsAeadKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KmsAeadKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KmsAeadKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KmsAeadKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KmsAeadKey.Builder newBuilder()
public static KmsAeadKey.Builder newBuilder(KmsAeadKey prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<KmsAeadKey,KmsAeadKey.Builder>public static KmsAeadKey getDefaultInstance()
public static com.google.protobuf.Parser<KmsAeadKey> parser()