All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey Maven / Gradle / Ivy

Go to download

Tink is a small cryptographic library that provides a safe, simple, agile and fast way to accomplish some common cryptographic tasks.

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: proto/jwt_rsa_ssa_pkcs1.proto
// Protobuf Java Version: 4.28.2

package com.google.crypto.tink.proto;

/**
 * 
 * key_type: type.googleapis.com/google.crypto.tink.JwtRsaSsaPkcs1PublicKey
 * 
* * Protobuf type {@code google.crypto.tink.JwtRsaSsaPkcs1PublicKey} */ public final class JwtRsaSsaPkcs1PublicKey extends com.google.protobuf.GeneratedMessageLite< JwtRsaSsaPkcs1PublicKey, JwtRsaSsaPkcs1PublicKey.Builder> implements // @@protoc_insertion_point(message_implements:google.crypto.tink.JwtRsaSsaPkcs1PublicKey) JwtRsaSsaPkcs1PublicKeyOrBuilder { private JwtRsaSsaPkcs1PublicKey() { n_ = com.google.protobuf.ByteString.EMPTY; e_ = com.google.protobuf.ByteString.EMPTY; } public interface CustomKidOrBuilder extends // @@protoc_insertion_point(interface_extends:google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid) com.google.protobuf.MessageLiteOrBuilder { /** * string value = 1; * @return The value. */ java.lang.String getValue(); /** * string value = 1; * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); } /** *
   * Optional, custom kid header value to be used with "RAW" keys.
   * "TINK" keys with this value set will be rejected.
   * 
* * Protobuf type {@code google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid} */ public static final class CustomKid extends com.google.protobuf.GeneratedMessageLite< CustomKid, CustomKid.Builder> implements // @@protoc_insertion_point(message_implements:google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid) CustomKidOrBuilder { private CustomKid() { value_ = ""; } public static final int VALUE_FIELD_NUMBER = 1; private java.lang.String value_; /** * string value = 1; * @return The value. */ @java.lang.Override public java.lang.String getValue() { return value_; } /** * string value = 1; * @return The bytes for value. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { return com.google.protobuf.ByteString.copyFromUtf8(value_); } /** * string value = 1; * @param value The value to set. */ private void setValue( java.lang.String value) { java.lang.Class valueClass = value.getClass(); value_ = value; } /** * string value = 1; */ private void clearValue() { value_ = getDefaultInstance().getValue(); } /** * string value = 1; * @param value The bytes for value to set. */ private void setValueBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); value_ = value.toStringUtf8(); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Optional, custom kid header value to be used with "RAW" keys.
     * "TINK" keys with this value set will be rejected.
     * 
* * Protobuf type {@code google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid, Builder> implements // @@protoc_insertion_point(builder_implements:google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid) com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKidOrBuilder { // Construct using com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * string value = 1; * @return The value. */ @java.lang.Override public java.lang.String getValue() { return instance.getValue(); } /** * string value = 1; * @return The bytes for value. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { return instance.getValueBytes(); } /** * string value = 1; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { copyOnWrite(); instance.setValue(value); return this; } /** * string value = 1; * @return This builder for chaining. */ public Builder clearValue() { copyOnWrite(); instance.clearValue(); return this; } /** * string value = 1; * @param value The bytes for value to set. * @return This builder for chaining. */ public Builder setValueBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setValueBytes(value); return this; } // @@protoc_insertion_point(builder_scope:google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "value_", }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid) private static final com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid DEFAULT_INSTANCE; static { CustomKid defaultInstance = new CustomKid(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( CustomKid.class, defaultInstance); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int VERSION_FIELD_NUMBER = 1; private int version_; /** * uint32 version = 1; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } /** * uint32 version = 1; * @param value The version to set. */ private void setVersion(int value) { version_ = value; } /** * uint32 version = 1; */ private void clearVersion() { version_ = 0; } public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @return The enum numeric value on the wire for algorithm. */ @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @return The algorithm. */ @java.lang.Override public com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm getAlgorithm() { com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm result = com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm.forNumber(algorithm_); return result == null ? com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm.UNRECOGNIZED : result; } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @param value The enum numeric value on the wire for algorithm to set. */ private void setAlgorithmValue(int value) { algorithm_ = value; } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @param value The algorithm to set. */ private void setAlgorithm(com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm value) { algorithm_ = value.getNumber(); } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; */ private void clearAlgorithm() { algorithm_ = 0; } public static final int N_FIELD_NUMBER = 3; private com.google.protobuf.ByteString n_; /** *
   * Modulus.
   * Unsigned big integer in big-endian representation.
   * 
* * bytes n = 3; * @return The n. */ @java.lang.Override public com.google.protobuf.ByteString getN() { return n_; } /** *
   * Modulus.
   * Unsigned big integer in big-endian representation.
   * 
* * bytes n = 3; * @param value The n to set. */ private void setN(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); n_ = value; } /** *
   * Modulus.
   * Unsigned big integer in big-endian representation.
   * 
* * bytes n = 3; */ private void clearN() { n_ = getDefaultInstance().getN(); } public static final int E_FIELD_NUMBER = 4; private com.google.protobuf.ByteString e_; /** *
   * Public exponent.
   * Unsigned big integer in big-endian representation.
   * 
* * bytes e = 4; * @return The e. */ @java.lang.Override public com.google.protobuf.ByteString getE() { return e_; } /** *
   * Public exponent.
   * Unsigned big integer in big-endian representation.
   * 
* * bytes e = 4; * @param value The e to set. */ private void setE(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); e_ = value; } /** *
   * Public exponent.
   * Unsigned big integer in big-endian representation.
   * 
* * bytes e = 4; */ private void clearE() { e_ = getDefaultInstance().getE(); } public static final int CUSTOM_KID_FIELD_NUMBER = 5; private com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid customKid_; /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ @java.lang.Override public boolean hasCustomKid() { return ((bitField0_ & 0x00000001) != 0); } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ @java.lang.Override public com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid getCustomKid() { return customKid_ == null ? com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid.getDefaultInstance() : customKid_; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ private void setCustomKid(com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid value) { value.getClass(); customKid_ = value; bitField0_ |= 0x00000001; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeCustomKid(com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid value) { value.getClass(); if (customKid_ != null && customKid_ != com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid.getDefaultInstance()) { customKid_ = com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid.newBuilder(customKid_).mergeFrom(value).buildPartial(); } else { customKid_ = value; } bitField0_ |= 0x00000001; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ private void clearCustomKid() { customKid_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   * key_type: type.googleapis.com/google.crypto.tink.JwtRsaSsaPkcs1PublicKey
   * 
* * Protobuf type {@code google.crypto.tink.JwtRsaSsaPkcs1PublicKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey, Builder> implements // @@protoc_insertion_point(builder_implements:google.crypto.tink.JwtRsaSsaPkcs1PublicKey) com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKeyOrBuilder { // Construct using com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * uint32 version = 1; * @return The version. */ @java.lang.Override public int getVersion() { return instance.getVersion(); } /** * uint32 version = 1; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { copyOnWrite(); instance.setVersion(value); return this; } /** * uint32 version = 1; * @return This builder for chaining. */ public Builder clearVersion() { copyOnWrite(); instance.clearVersion(); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @return The enum numeric value on the wire for algorithm. */ @java.lang.Override public int getAlgorithmValue() { return instance.getAlgorithmValue(); } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { copyOnWrite(); instance.setAlgorithmValue(value); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @return The algorithm. */ @java.lang.Override public com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm getAlgorithm() { return instance.getAlgorithm(); } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm(com.google.crypto.tink.proto.JwtRsaSsaPkcs1Algorithm value) { copyOnWrite(); instance.setAlgorithm(value); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1Algorithm algorithm = 2; * @return This builder for chaining. */ public Builder clearAlgorithm() { copyOnWrite(); instance.clearAlgorithm(); return this; } /** *
     * Modulus.
     * Unsigned big integer in big-endian representation.
     * 
* * bytes n = 3; * @return The n. */ @java.lang.Override public com.google.protobuf.ByteString getN() { return instance.getN(); } /** *
     * Modulus.
     * Unsigned big integer in big-endian representation.
     * 
* * bytes n = 3; * @param value The n to set. * @return This builder for chaining. */ public Builder setN(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setN(value); return this; } /** *
     * Modulus.
     * Unsigned big integer in big-endian representation.
     * 
* * bytes n = 3; * @return This builder for chaining. */ public Builder clearN() { copyOnWrite(); instance.clearN(); return this; } /** *
     * Public exponent.
     * Unsigned big integer in big-endian representation.
     * 
* * bytes e = 4; * @return The e. */ @java.lang.Override public com.google.protobuf.ByteString getE() { return instance.getE(); } /** *
     * Public exponent.
     * Unsigned big integer in big-endian representation.
     * 
* * bytes e = 4; * @param value The e to set. * @return This builder for chaining. */ public Builder setE(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setE(value); return this; } /** *
     * Public exponent.
     * Unsigned big integer in big-endian representation.
     * 
* * bytes e = 4; * @return This builder for chaining. */ public Builder clearE() { copyOnWrite(); instance.clearE(); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ @java.lang.Override public boolean hasCustomKid() { return instance.hasCustomKid(); } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ @java.lang.Override public com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid getCustomKid() { return instance.getCustomKid(); } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ public Builder setCustomKid(com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid value) { copyOnWrite(); instance.setCustomKid(value); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ public Builder setCustomKid( com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid.Builder builderForValue) { copyOnWrite(); instance.setCustomKid(builderForValue.build()); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ public Builder mergeCustomKid(com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.CustomKid value) { copyOnWrite(); instance.mergeCustomKid(value); return this; } /** * .google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid custom_kid = 5; */ public Builder clearCustomKid() { copyOnWrite(); instance.clearCustomKid(); return this; } // @@protoc_insertion_point(builder_scope:google.crypto.tink.JwtRsaSsaPkcs1PublicKey) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "version_", "algorithm_", "n_", "e_", "customKid_", }; java.lang.String info = "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u000b\u0002\f" + "\u0003\n\u0004\n\u0005\u1009\u0000"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.crypto.tink.JwtRsaSsaPkcs1PublicKey) private static final com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey DEFAULT_INSTANCE; static { JwtRsaSsaPkcs1PublicKey defaultInstance = new JwtRsaSsaPkcs1PublicKey(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( JwtRsaSsaPkcs1PublicKey.class, defaultInstance); } public static com.google.crypto.tink.proto.JwtRsaSsaPkcs1PublicKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy