public final class KeysetInfo extends com.google.protobuf.GeneratedMessageLite<KeysetInfo,KeysetInfo.Builder> implements KeysetInfoOrBuilder
Represents a "safe" Keyset that doesn't contain any actual key material, thus can be used for logging or monitoring. Most fields are copied from Keyset.Protobuf type
google.crypto.tink.KeysetInfo| Modifier and Type | Class and Description |
|---|---|
static class |
KeysetInfo.Builder
Represents a "safe" Keyset that doesn't contain any actual key material,
thus can be used for logging or monitoring.
|
static class |
KeysetInfo.KeyInfo
Protobuf type
google.crypto.tink.KeysetInfo.KeyInfo |
static interface |
KeysetInfo.KeyInfoOrBuilder |
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_INFO_FIELD_NUMBER |
static int |
PRIMARY_KEY_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static KeysetInfo |
getDefaultInstance() |
KeysetInfo.KeyInfo |
getKeyInfo(int index)
KeyInfos in the KeysetInfo.
|
int |
getKeyInfoCount()
KeyInfos in the KeysetInfo.
|
List<KeysetInfo.KeyInfo> |
getKeyInfoList()
KeyInfos in the KeysetInfo.
|
KeysetInfo.KeyInfoOrBuilder |
getKeyInfoOrBuilder(int index)
KeyInfos in the KeysetInfo.
|
List<? extends KeysetInfo.KeyInfoOrBuilder> |
getKeyInfoOrBuilderList()
KeyInfos in the KeysetInfo.
|
int |
getPrimaryKeyId()
See Keyset.primary_key_id.
|
static KeysetInfo.Builder |
newBuilder() |
static KeysetInfo.Builder |
newBuilder(KeysetInfo prototype) |
static KeysetInfo |
parseDelimitedFrom(InputStream input) |
static KeysetInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeysetInfo |
parseFrom(byte[] data) |
static KeysetInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeysetInfo |
parseFrom(ByteBuffer data) |
static KeysetInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeysetInfo |
parseFrom(com.google.protobuf.ByteString data) |
static KeysetInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeysetInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeysetInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeysetInfo |
parseFrom(InputStream input) |
static KeysetInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KeysetInfo> |
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 PRIMARY_KEY_ID_FIELD_NUMBER
public static final int KEY_INFO_FIELD_NUMBER
public int getPrimaryKeyId()
See Keyset.primary_key_id.
uint32 primary_key_id = 1;getPrimaryKeyId in interface KeysetInfoOrBuilderpublic List<KeysetInfo.KeyInfo> getKeyInfoList()
KeyInfos in the KeysetInfo. Each KeyInfo is corresponding to a Key in the corresponding Keyset.
repeated .google.crypto.tink.KeysetInfo.KeyInfo key_info = 2;getKeyInfoList in interface KeysetInfoOrBuilderpublic List<? extends KeysetInfo.KeyInfoOrBuilder> getKeyInfoOrBuilderList()
KeyInfos in the KeysetInfo. Each KeyInfo is corresponding to a Key in the corresponding Keyset.
repeated .google.crypto.tink.KeysetInfo.KeyInfo key_info = 2;public int getKeyInfoCount()
KeyInfos in the KeysetInfo. Each KeyInfo is corresponding to a Key in the corresponding Keyset.
repeated .google.crypto.tink.KeysetInfo.KeyInfo key_info = 2;getKeyInfoCount in interface KeysetInfoOrBuilderpublic KeysetInfo.KeyInfo getKeyInfo(int index)
KeyInfos in the KeysetInfo. Each KeyInfo is corresponding to a Key in the corresponding Keyset.
repeated .google.crypto.tink.KeysetInfo.KeyInfo key_info = 2;getKeyInfo in interface KeysetInfoOrBuilderpublic KeysetInfo.KeyInfoOrBuilder getKeyInfoOrBuilder(int index)
KeyInfos in the KeysetInfo. Each KeyInfo is corresponding to a Key in the corresponding Keyset.
repeated .google.crypto.tink.KeysetInfo.KeyInfo key_info = 2;public static KeysetInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeysetInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeysetInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeysetInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeysetInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeysetInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeysetInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeysetInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeysetInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeysetInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeysetInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeysetInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeysetInfo.Builder newBuilder()
public static KeysetInfo.Builder newBuilder(KeysetInfo prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<KeysetInfo,KeysetInfo.Builder>public static KeysetInfo getDefaultInstance()
public static com.google.protobuf.Parser<KeysetInfo> parser()