public final class HmacKey extends com.google.protobuf.GeneratedMessageLite<HmacKey,HmacKey.Builder> implements HmacKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.HmacKeyProtobuf type
google.crypto.tink.HmacKey| Modifier and Type | Class and Description |
|---|---|
static class |
HmacKey.Builder
key_type: type.googleapis.com/google.crypto.tink.HmacKey
|
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 |
KEY_VALUE_FIELD_NUMBER |
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 HmacKey |
getDefaultInstance() |
com.google.protobuf.ByteString |
getKeyValue()
bytes key_value = 3; |
HmacParams |
getParams()
.google.crypto.tink.HmacParams params = 2; |
int |
getVersion()
uint32 version = 1; |
boolean |
hasParams()
.google.crypto.tink.HmacParams params = 2; |
static HmacKey.Builder |
newBuilder() |
static HmacKey.Builder |
newBuilder(HmacKey prototype) |
static HmacKey |
parseDelimitedFrom(InputStream input) |
static HmacKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKey |
parseFrom(byte[] data) |
static HmacKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKey |
parseFrom(ByteBuffer data) |
static HmacKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKey |
parseFrom(com.google.protobuf.ByteString data) |
static HmacKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HmacKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKey |
parseFrom(InputStream input) |
static HmacKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HmacKey> |
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 VERSION_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
public static final int KEY_VALUE_FIELD_NUMBER
public int getVersion()
uint32 version = 1;getVersion in interface HmacKeyOrBuilderpublic boolean hasParams()
.google.crypto.tink.HmacParams params = 2;hasParams in interface HmacKeyOrBuilderpublic HmacParams getParams()
.google.crypto.tink.HmacParams params = 2;getParams in interface HmacKeyOrBuilderpublic com.google.protobuf.ByteString getKeyValue()
bytes key_value = 3;getKeyValue in interface HmacKeyOrBuilderpublic static HmacKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static HmacKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HmacKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HmacKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKey.Builder newBuilder()
public static HmacKey.Builder newBuilder(HmacKey prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<HmacKey,HmacKey.Builder>public static HmacKey getDefaultInstance()
public static com.google.protobuf.Parser<HmacKey> parser()