public static final class KeyTemplate.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<KeyTemplate,KeyTemplate.Builder> implements KeyTemplateOrBuilder
google.crypto.tink.KeyTemplate| Modifier and Type | Method and Description |
|---|---|
KeyTemplate.Builder |
clearOutputPrefixType()
Required.
|
KeyTemplate.Builder |
clearTypeUrl()
Required.
|
KeyTemplate.Builder |
clearValue()
Required.
|
OutputPrefixType |
getOutputPrefixType()
Required.
|
int |
getOutputPrefixTypeValue()
Required.
|
String |
getTypeUrl()
Required.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
Required.
|
com.google.protobuf.ByteString |
getValue()
Required.
|
KeyTemplate.Builder |
setOutputPrefixType(OutputPrefixType value)
Required.
|
KeyTemplate.Builder |
setOutputPrefixTypeValue(int value)
Required.
|
KeyTemplate.Builder |
setTypeUrl(String value)
Required.
|
KeyTemplate.Builder |
setTypeUrlBytes(com.google.protobuf.ByteString value)
Required.
|
KeyTemplate.Builder |
setValue(com.google.protobuf.ByteString value)
Required.
|
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 String getTypeUrl()
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;getTypeUrl in interface KeyTemplateOrBuilderpublic com.google.protobuf.ByteString getTypeUrlBytes()
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;getTypeUrlBytes in interface KeyTemplateOrBuilderpublic KeyTemplate.Builder setTypeUrl(String value)
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;value - The typeUrl to set.public KeyTemplate.Builder clearTypeUrl()
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;public KeyTemplate.Builder setTypeUrlBytes(com.google.protobuf.ByteString value)
Required. The type_url of the key type in format type.googleapis.com/packagename.messagename -- see above for details. This is typically the protobuf type URL of the *Key proto. In particular, this is different of the protobuf type URL of the *KeyFormat proto.
string type_url = 1;value - The bytes for typeUrl to set.public com.google.protobuf.ByteString getValue()
Required. The serialized *KeyFormat proto.
bytes value = 2;getValue in interface KeyTemplateOrBuilderpublic KeyTemplate.Builder setValue(com.google.protobuf.ByteString value)
Required. The serialized *KeyFormat proto.
bytes value = 2;value - The value to set.public KeyTemplate.Builder clearValue()
Required. The serialized *KeyFormat proto.
bytes value = 2;public int getOutputPrefixTypeValue()
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;getOutputPrefixTypeValue in interface KeyTemplateOrBuilderpublic KeyTemplate.Builder setOutputPrefixTypeValue(int value)
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;value - The outputPrefixType to set.public OutputPrefixType getOutputPrefixType()
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;getOutputPrefixType in interface KeyTemplateOrBuilderpublic KeyTemplate.Builder setOutputPrefixType(OutputPrefixType value)
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;value - The enum numeric value on the wire for outputPrefixType to set.public KeyTemplate.Builder clearOutputPrefixType()
Required. The type of prefix used when computing some primitives to identify the ciphertext/signature, etc.
.google.crypto.tink.OutputPrefixType output_prefix_type = 3;