public static final class KeyTemplate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder> implements KeyTemplateOrBuilder
google.crypto.tink.KeyTemplate| Modifier and Type | Method and Description |
|---|---|
KeyTemplate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
KeyTemplate |
build() |
KeyTemplate |
buildPartial() |
KeyTemplate.Builder |
clear() |
KeyTemplate.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
KeyTemplate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
KeyTemplate.Builder |
clearOutputPrefixType()
Required.
|
KeyTemplate.Builder |
clearTypeUrl()
Required.
|
KeyTemplate.Builder |
clearValue()
Required.
|
KeyTemplate.Builder |
clone() |
KeyTemplate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OutputPrefixType |
getOutputPrefixType()
Required.
|
int |
getOutputPrefixTypeValue()
Required.
|
String |
getTypeUrl()
Required.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
Required.
|
com.google.protobuf.ByteString |
getValue()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
KeyTemplate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeyTemplate.Builder |
mergeFrom(KeyTemplate other) |
KeyTemplate.Builder |
mergeFrom(com.google.protobuf.Message other) |
KeyTemplate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
KeyTemplate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
KeyTemplate.Builder |
setOutputPrefixType(OutputPrefixType value)
Required.
|
KeyTemplate.Builder |
setOutputPrefixTypeValue(int value)
Required.
|
KeyTemplate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
KeyTemplate.Builder |
setTypeUrl(String value)
Required.
|
KeyTemplate.Builder |
setTypeUrlBytes(com.google.protobuf.ByteString value)
Required.
|
KeyTemplate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
KeyTemplate.Builder |
setValue(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.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.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic KeyTemplate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic KeyTemplate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic KeyTemplate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeyTemplate.Builder>public KeyTemplate.Builder mergeFrom(KeyTemplate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public KeyTemplate.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<KeyTemplate.Builder>IOExceptionpublic 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 enum numeric value on the wire for 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 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;public final KeyTemplate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>public final KeyTemplate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KeyTemplate.Builder>