public static final class KeysetInfo.KeyInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeysetInfo.KeyInfo.Builder> implements KeysetInfo.KeyInfoOrBuilder
google.crypto.tink.KeysetInfo.KeyInfo| Modifier and Type | Method and Description |
|---|---|
KeysetInfo.KeyInfo |
build() |
KeysetInfo.KeyInfo |
buildPartial() |
KeysetInfo.KeyInfo.Builder |
clear() |
KeysetInfo.KeyInfo.Builder |
clearKeyId()
See Keyset.Key.key_id.
|
KeysetInfo.KeyInfo.Builder |
clearOutputPrefixType()
See Keyset.Key.output_prefix_type.
|
KeysetInfo.KeyInfo.Builder |
clearStatus()
See Keyset.Key.status.
|
KeysetInfo.KeyInfo.Builder |
clearTypeUrl()
the type url of this key,
e.g., type.googleapis.com/google.crypto.tink.HmacKey.
|
KeysetInfo.KeyInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getKeyId()
See Keyset.Key.key_id.
|
OutputPrefixType |
getOutputPrefixType()
See Keyset.Key.output_prefix_type.
|
int |
getOutputPrefixTypeValue()
See Keyset.Key.output_prefix_type.
|
KeyStatusType |
getStatus()
See Keyset.Key.status.
|
int |
getStatusValue()
See Keyset.Key.status.
|
String |
getTypeUrl()
the type url of this key,
e.g., type.googleapis.com/google.crypto.tink.HmacKey.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
the type url of this key,
e.g., type.googleapis.com/google.crypto.tink.HmacKey.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
KeysetInfo.KeyInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeysetInfo.KeyInfo.Builder |
mergeFrom(KeysetInfo.KeyInfo other) |
KeysetInfo.KeyInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
KeysetInfo.KeyInfo.Builder |
setKeyId(int value)
See Keyset.Key.key_id.
|
KeysetInfo.KeyInfo.Builder |
setOutputPrefixType(OutputPrefixType value)
See Keyset.Key.output_prefix_type.
|
KeysetInfo.KeyInfo.Builder |
setOutputPrefixTypeValue(int value)
See Keyset.Key.output_prefix_type.
|
KeysetInfo.KeyInfo.Builder |
setStatus(KeyStatusType value)
See Keyset.Key.status.
|
KeysetInfo.KeyInfo.Builder |
setStatusValue(int value)
See Keyset.Key.status.
|
KeysetInfo.KeyInfo.Builder |
setTypeUrl(String value)
the type url of this key,
e.g., type.googleapis.com/google.crypto.tink.HmacKey.
|
KeysetInfo.KeyInfo.Builder |
setTypeUrlBytes(com.google.protobuf.ByteString value)
the type url of this key,
e.g., type.googleapis.com/google.crypto.tink.HmacKey.
|
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.KeyInfo.Builder>public KeysetInfo.KeyInfo.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.KeyInfo.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.KeyInfo.Builder>public KeysetInfo.KeyInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic KeysetInfo.KeyInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic KeysetInfo.KeyInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic KeysetInfo.KeyInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeysetInfo.KeyInfo.Builder>public KeysetInfo.KeyInfo.Builder mergeFrom(KeysetInfo.KeyInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<KeysetInfo.KeyInfo.Builder>public KeysetInfo.KeyInfo.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.KeyInfo.Builder>IOExceptionpublic String getTypeUrl()
the type url of this key, e.g., type.googleapis.com/google.crypto.tink.HmacKey.
string type_url = 1;getTypeUrl in interface KeysetInfo.KeyInfoOrBuilderpublic com.google.protobuf.ByteString getTypeUrlBytes()
the type url of this key, e.g., type.googleapis.com/google.crypto.tink.HmacKey.
string type_url = 1;getTypeUrlBytes in interface KeysetInfo.KeyInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder setTypeUrl(String value)
the type url of this key, e.g., type.googleapis.com/google.crypto.tink.HmacKey.
string type_url = 1;value - The typeUrl to set.public KeysetInfo.KeyInfo.Builder clearTypeUrl()
the type url of this key, e.g., type.googleapis.com/google.crypto.tink.HmacKey.
string type_url = 1;public KeysetInfo.KeyInfo.Builder setTypeUrlBytes(com.google.protobuf.ByteString value)
the type url of this key, e.g., type.googleapis.com/google.crypto.tink.HmacKey.
string type_url = 1;value - The bytes for typeUrl to set.public int getStatusValue()
See Keyset.Key.status.
.google.crypto.tink.KeyStatusType status = 2;getStatusValue in interface KeysetInfo.KeyInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder setStatusValue(int value)
See Keyset.Key.status.
.google.crypto.tink.KeyStatusType status = 2;value - The enum numeric value on the wire for status to set.public KeyStatusType getStatus()
See Keyset.Key.status.
.google.crypto.tink.KeyStatusType status = 2;getStatus in interface KeysetInfo.KeyInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder setStatus(KeyStatusType value)
See Keyset.Key.status.
.google.crypto.tink.KeyStatusType status = 2;value - The status to set.public KeysetInfo.KeyInfo.Builder clearStatus()
See Keyset.Key.status.
.google.crypto.tink.KeyStatusType status = 2;public int getKeyId()
See Keyset.Key.key_id.
uint32 key_id = 3;getKeyId in interface KeysetInfo.KeyInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder setKeyId(int value)
See Keyset.Key.key_id.
uint32 key_id = 3;value - The keyId to set.public KeysetInfo.KeyInfo.Builder clearKeyId()
See Keyset.Key.key_id.
uint32 key_id = 3;public int getOutputPrefixTypeValue()
See Keyset.Key.output_prefix_type.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;getOutputPrefixTypeValue in interface KeysetInfo.KeyInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder setOutputPrefixTypeValue(int value)
See Keyset.Key.output_prefix_type.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;value - The enum numeric value on the wire for outputPrefixType to set.public OutputPrefixType getOutputPrefixType()
See Keyset.Key.output_prefix_type.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;getOutputPrefixType in interface KeysetInfo.KeyInfoOrBuilderpublic KeysetInfo.KeyInfo.Builder setOutputPrefixType(OutputPrefixType value)
See Keyset.Key.output_prefix_type.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;value - The outputPrefixType to set.public KeysetInfo.KeyInfo.Builder clearOutputPrefixType()
See Keyset.Key.output_prefix_type.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;