public static final class KeysetInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<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 | Method and Description |
|---|---|
KeysetInfo.Builder |
addAllKeyInfo(Iterable<? extends KeysetInfo.KeyInfo> values)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
addKeyInfo(int index,
KeysetInfo.KeyInfo.Builder builderForValue)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
addKeyInfo(int index,
KeysetInfo.KeyInfo value)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
addKeyInfo(KeysetInfo.KeyInfo.Builder builderForValue)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
addKeyInfo(KeysetInfo.KeyInfo value)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
clearKeyInfo()
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
clearPrimaryKeyId()
See Keyset.primary_key_id.
|
KeysetInfo.KeyInfo |
getKeyInfo(int index)
KeyInfos in the KeysetInfo.
|
int |
getKeyInfoCount()
KeyInfos in the KeysetInfo.
|
List<KeysetInfo.KeyInfo> |
getKeyInfoList()
KeyInfos in the KeysetInfo.
|
int |
getPrimaryKeyId()
See Keyset.primary_key_id.
|
KeysetInfo.Builder |
removeKeyInfo(int index)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
setKeyInfo(int index,
KeysetInfo.KeyInfo.Builder builderForValue)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
setKeyInfo(int index,
KeysetInfo.KeyInfo value)
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
setPrimaryKeyId(int value)
See Keyset.primary_key_id.
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic int getPrimaryKeyId()
See Keyset.primary_key_id.
uint32 primary_key_id = 1;getPrimaryKeyId in interface KeysetInfoOrBuilderpublic KeysetInfo.Builder setPrimaryKeyId(int value)
See Keyset.primary_key_id.
uint32 primary_key_id = 1;value - The primaryKeyId to set.public KeysetInfo.Builder clearPrimaryKeyId()
See Keyset.primary_key_id.
uint32 primary_key_id = 1;public 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 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.Builder setKeyInfo(int index, KeysetInfo.KeyInfo value)
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 KeysetInfo.Builder setKeyInfo(int index, KeysetInfo.KeyInfo.Builder builderForValue)
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 KeysetInfo.Builder addKeyInfo(KeysetInfo.KeyInfo value)
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 KeysetInfo.Builder addKeyInfo(int index, KeysetInfo.KeyInfo value)
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 KeysetInfo.Builder addKeyInfo(KeysetInfo.KeyInfo.Builder builderForValue)
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 KeysetInfo.Builder addKeyInfo(int index, KeysetInfo.KeyInfo.Builder builderForValue)
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 KeysetInfo.Builder addAllKeyInfo(Iterable<? extends KeysetInfo.KeyInfo> values)
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 KeysetInfo.Builder clearKeyInfo()
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 KeysetInfo.Builder removeKeyInfo(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;