public static final class JwtHmacKey.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<JwtHmacKey,JwtHmacKey.Builder> implements JwtHmacKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.JwtHmacKeyProtobuf type
google.crypto.tink.JwtHmacKey| Modifier and Type | Method and Description |
|---|---|
JwtHmacKey.Builder |
clearAlgorithm()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
JwtHmacKey.Builder |
clearCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
JwtHmacKey.Builder |
clearKeyValue()
bytes key_value = 3; |
JwtHmacKey.Builder |
clearVersion()
uint32 version = 1; |
JwtHmacAlgorithm |
getAlgorithm()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
int |
getAlgorithmValue()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
JwtHmacKey.CustomKid |
getCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
com.google.protobuf.ByteString |
getKeyValue()
bytes key_value = 3; |
int |
getVersion()
uint32 version = 1; |
boolean |
hasCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
JwtHmacKey.Builder |
mergeCustomKid(JwtHmacKey.CustomKid value)
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
JwtHmacKey.Builder |
setAlgorithm(JwtHmacAlgorithm value)
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
JwtHmacKey.Builder |
setAlgorithmValue(int value)
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
JwtHmacKey.Builder |
setCustomKid(JwtHmacKey.CustomKid.Builder builderForValue)
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
JwtHmacKey.Builder |
setCustomKid(JwtHmacKey.CustomKid value)
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
JwtHmacKey.Builder |
setKeyValue(com.google.protobuf.ByteString value)
bytes key_value = 3; |
JwtHmacKey.Builder |
setVersion(int value)
uint32 version = 1; |
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 int getVersion()
uint32 version = 1;getVersion in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.Builder setVersion(int value)
uint32 version = 1;value - The version to set.public JwtHmacKey.Builder clearVersion()
uint32 version = 1;public int getAlgorithmValue()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;getAlgorithmValue in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.Builder setAlgorithmValue(int value)
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;value - The algorithm to set.public JwtHmacAlgorithm getAlgorithm()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;getAlgorithm in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.Builder setAlgorithm(JwtHmacAlgorithm value)
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;value - The enum numeric value on the wire for algorithm to set.public JwtHmacKey.Builder clearAlgorithm()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;public com.google.protobuf.ByteString getKeyValue()
bytes key_value = 3;getKeyValue in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.Builder setKeyValue(com.google.protobuf.ByteString value)
bytes key_value = 3;value - The keyValue to set.public JwtHmacKey.Builder clearKeyValue()
bytes key_value = 3;public boolean hasCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;hasCustomKid in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.CustomKid getCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;getCustomKid in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.Builder setCustomKid(JwtHmacKey.CustomKid value)
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;public JwtHmacKey.Builder setCustomKid(JwtHmacKey.CustomKid.Builder builderForValue)
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;public JwtHmacKey.Builder mergeCustomKid(JwtHmacKey.CustomKid value)
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;public JwtHmacKey.Builder clearCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;