public static final class Keyset.Key.Builder extends com.google.protobuf.GeneratedMessage.Builder<Keyset.Key.Builder> implements Keyset.KeyOrBuilder
google.crypto.tink.Keyset.Key| Modifier and Type | Method and Description |
|---|---|
Keyset.Key |
build() |
Keyset.Key |
buildPartial() |
Keyset.Key.Builder |
clear() |
Keyset.Key.Builder |
clearKeyData()
Contains the actual, instantiation specific key proto.
|
Keyset.Key.Builder |
clearKeyId()
Identifies a key within a keyset, is a part of metadata
of a ciphertext/signature.
|
Keyset.Key.Builder |
clearOutputPrefixType()
Determines the prefix of the ciphertexts/signatures produced by this key.
|
Keyset.Key.Builder |
clearStatus()
.google.crypto.tink.KeyStatusType status = 2; |
Keyset.Key |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
KeyData |
getKeyData()
Contains the actual, instantiation specific key proto.
|
KeyData.Builder |
getKeyDataBuilder()
Contains the actual, instantiation specific key proto.
|
KeyDataOrBuilder |
getKeyDataOrBuilder()
Contains the actual, instantiation specific key proto.
|
int |
getKeyId()
Identifies a key within a keyset, is a part of metadata
of a ciphertext/signature.
|
OutputPrefixType |
getOutputPrefixType()
Determines the prefix of the ciphertexts/signatures produced by this key.
|
int |
getOutputPrefixTypeValue()
Determines the prefix of the ciphertexts/signatures produced by this key.
|
KeyStatusType |
getStatus()
.google.crypto.tink.KeyStatusType status = 2; |
int |
getStatusValue()
.google.crypto.tink.KeyStatusType status = 2; |
boolean |
hasKeyData()
Contains the actual, instantiation specific key proto.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Keyset.Key.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Keyset.Key.Builder |
mergeFrom(Keyset.Key other) |
Keyset.Key.Builder |
mergeFrom(com.google.protobuf.Message other) |
Keyset.Key.Builder |
mergeKeyData(KeyData value)
Contains the actual, instantiation specific key proto.
|
Keyset.Key.Builder |
setKeyData(KeyData.Builder builderForValue)
Contains the actual, instantiation specific key proto.
|
Keyset.Key.Builder |
setKeyData(KeyData value)
Contains the actual, instantiation specific key proto.
|
Keyset.Key.Builder |
setKeyId(int value)
Identifies a key within a keyset, is a part of metadata
of a ciphertext/signature.
|
Keyset.Key.Builder |
setOutputPrefixType(OutputPrefixType value)
Determines the prefix of the ciphertexts/signatures produced by this key.
|
Keyset.Key.Builder |
setOutputPrefixTypeValue(int value)
Determines the prefix of the ciphertexts/signatures produced by this key.
|
Keyset.Key.Builder |
setStatus(KeyStatusType value)
.google.crypto.tink.KeyStatusType status = 2; |
Keyset.Key.Builder |
setStatusValue(int value)
.google.crypto.tink.KeyStatusType status = 2; |
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<Keyset.Key.Builder>public Keyset.Key.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Keyset.Key.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<Keyset.Key.Builder>public Keyset.Key getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Keyset.Key build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Keyset.Key buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Keyset.Key.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Keyset.Key.Builder>public Keyset.Key.Builder mergeFrom(Keyset.Key other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Keyset.Key.Builder>public Keyset.Key.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<Keyset.Key.Builder>IOExceptionpublic boolean hasKeyData()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;hasKeyData in interface Keyset.KeyOrBuilderpublic KeyData getKeyData()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;getKeyData in interface Keyset.KeyOrBuilderpublic Keyset.Key.Builder setKeyData(KeyData value)
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;public Keyset.Key.Builder setKeyData(KeyData.Builder builderForValue)
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;public Keyset.Key.Builder mergeKeyData(KeyData value)
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;public Keyset.Key.Builder clearKeyData()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;public KeyData.Builder getKeyDataBuilder()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;public KeyDataOrBuilder getKeyDataOrBuilder()
Contains the actual, instantiation specific key proto. By convention, each key proto contains a version field.
.google.crypto.tink.KeyData key_data = 1;getKeyDataOrBuilder in interface Keyset.KeyOrBuilderpublic int getStatusValue()
.google.crypto.tink.KeyStatusType status = 2;getStatusValue in interface Keyset.KeyOrBuilderpublic Keyset.Key.Builder setStatusValue(int value)
.google.crypto.tink.KeyStatusType status = 2;value - The enum numeric value on the wire for status to set.public KeyStatusType getStatus()
.google.crypto.tink.KeyStatusType status = 2;getStatus in interface Keyset.KeyOrBuilderpublic Keyset.Key.Builder setStatus(KeyStatusType value)
.google.crypto.tink.KeyStatusType status = 2;value - The status to set.public Keyset.Key.Builder clearStatus()
.google.crypto.tink.KeyStatusType status = 2;public int getKeyId()
Identifies a key within a keyset, is a part of metadata of a ciphertext/signature.
uint32 key_id = 3;getKeyId in interface Keyset.KeyOrBuilderpublic Keyset.Key.Builder setKeyId(int value)
Identifies a key within a keyset, is a part of metadata of a ciphertext/signature.
uint32 key_id = 3;value - The keyId to set.public Keyset.Key.Builder clearKeyId()
Identifies a key within a keyset, is a part of metadata of a ciphertext/signature.
uint32 key_id = 3;public int getOutputPrefixTypeValue()
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;getOutputPrefixTypeValue in interface Keyset.KeyOrBuilderpublic Keyset.Key.Builder setOutputPrefixTypeValue(int value)
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;value - The enum numeric value on the wire for outputPrefixType to set.public OutputPrefixType getOutputPrefixType()
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;getOutputPrefixType in interface Keyset.KeyOrBuilderpublic Keyset.Key.Builder setOutputPrefixType(OutputPrefixType value)
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;value - The outputPrefixType to set.public Keyset.Key.Builder clearOutputPrefixType()
Determines the prefix of the ciphertexts/signatures produced by this key. This value is copied verbatim from the key template.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;