public final class HmacKeyFormat extends com.google.protobuf.GeneratedMessageLite<HmacKeyFormat,HmacKeyFormat.Builder> implements HmacKeyFormatOrBuilder
google.crypto.tink.HmacKeyFormat| Modifier and Type | Class and Description |
|---|---|
static class |
HmacKeyFormat.Builder
Protobuf type
google.crypto.tink.HmacKeyFormat |
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 |
KEY_SIZE_FIELD_NUMBER |
static int |
PARAMS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static HmacKeyFormat |
getDefaultInstance() |
int |
getKeySize()
optional uint32 key_size = 2; |
HmacParams |
getParams()
optional .google.crypto.tink.HmacParams params = 1; |
int |
getSerializedSize() |
boolean |
hasParams()
optional .google.crypto.tink.HmacParams params = 1; |
static HmacKeyFormat.Builder |
newBuilder() |
static HmacKeyFormat.Builder |
newBuilder(HmacKeyFormat prototype) |
static HmacKeyFormat |
parseDelimitedFrom(InputStream input) |
static HmacKeyFormat |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyFormat |
parseFrom(byte[] data) |
static HmacKeyFormat |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyFormat |
parseFrom(com.google.protobuf.ByteString data) |
static HmacKeyFormat |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyFormat |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HmacKeyFormat |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyFormat |
parseFrom(InputStream input) |
static HmacKeyFormat |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HmacKeyFormat> |
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 PARAMS_FIELD_NUMBER
public static final int KEY_SIZE_FIELD_NUMBER
public boolean hasParams()
optional .google.crypto.tink.HmacParams params = 1;hasParams in interface HmacKeyFormatOrBuilderpublic HmacParams getParams()
optional .google.crypto.tink.HmacParams params = 1;getParams in interface HmacKeyFormatOrBuilderpublic int getKeySize()
optional uint32 key_size = 2;getKeySize in interface HmacKeyFormatOrBuilderpublic 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 HmacKeyFormat parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyFormat parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyFormat parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyFormat parseFrom(InputStream input) throws IOException
IOExceptionpublic static HmacKeyFormat parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKeyFormat parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HmacKeyFormat parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKeyFormat parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HmacKeyFormat parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKeyFormat.Builder newBuilder()
public static HmacKeyFormat.Builder newBuilder(HmacKeyFormat prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<HmacKeyFormat,HmacKeyFormat.Builder>public static HmacKeyFormat getDefaultInstance()
public static com.google.protobuf.Parser<HmacKeyFormat> parser()