public static final class KeysetInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<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.KeyInfo.Builder |
addKeyInfoBuilder()
KeyInfos in the KeysetInfo.
|
KeysetInfo.KeyInfo.Builder |
addKeyInfoBuilder(int index)
KeyInfos in the KeysetInfo.
|
KeysetInfo |
build() |
KeysetInfo |
buildPartial() |
KeysetInfo.Builder |
clear() |
KeysetInfo.Builder |
clearKeyInfo()
KeyInfos in the KeysetInfo.
|
KeysetInfo.Builder |
clearPrimaryKeyId()
See Keyset.primary_key_id.
|
KeysetInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
KeysetInfo.KeyInfo |
getKeyInfo(int index)
KeyInfos in the KeysetInfo.
|
KeysetInfo.KeyInfo.Builder |
getKeyInfoBuilder(int index)
KeyInfos in the KeysetInfo.
|
List<KeysetInfo.KeyInfo.Builder> |
getKeyInfoBuilderList()
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.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
KeysetInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeysetInfo.Builder |
mergeFrom(KeysetInfo other) |
KeysetInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
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.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<KeysetInfo.Builder>public KeysetInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<KeysetInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<KeysetInfo.Builder>public KeysetInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic KeysetInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic KeysetInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic KeysetInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeysetInfo.Builder>public KeysetInfo.Builder mergeFrom(KeysetInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<KeysetInfo.Builder>public KeysetInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeysetInfo.Builder>IOExceptionpublic 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;public KeysetInfo.KeyInfo.Builder getKeyInfoBuilder(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 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;getKeyInfoOrBuilder 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;getKeyInfoOrBuilderList in interface KeysetInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder addKeyInfoBuilder()
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.KeyInfo.Builder addKeyInfoBuilder(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 List<KeysetInfo.KeyInfo.Builder> getKeyInfoBuilderList()
KeyInfos in the KeysetInfo. Each KeyInfo is corresponding to a Key in the corresponding Keyset.
repeated .google.crypto.tink.KeysetInfo.KeyInfo key_info = 2;