public static final class KeysetInfo.KeyInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<KeysetInfo.KeyInfo,KeysetInfo.KeyInfo.Builder> implements KeysetInfo.KeyInfoOrBuilder
google.crypto.tink.KeysetInfo.KeyInfo| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
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.
|
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()
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 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 enum numeric value on the wire for 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 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 enum numeric value on the wire for outputPrefixType to set.public KeysetInfo.KeyInfo.Builder clearOutputPrefixType()
See Keyset.Key.output_prefix_type.
.google.crypto.tink.OutputPrefixType output_prefix_type = 4;