Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
*
* Protobuf type {@code google.crypto.tink.RsaSsaPkcs1PublicKey}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.crypto.tink.proto.RsaSsaPkcs1PublicKey, Builder> implements
// @@protoc_insertion_point(builder_implements:google.crypto.tink.RsaSsaPkcs1PublicKey)
com.google.crypto.tink.proto.RsaSsaPkcs1PublicKeyOrBuilder {
// Construct using com.google.crypto.tink.proto.RsaSsaPkcs1PublicKey.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Required.
*
*
* uint32 version = 1;
* @return The version.
*/
@java.lang.Override
public int getVersion() {
return instance.getVersion();
}
/**
*
* Required.
*
*
* 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;
}
/**
*
* Required.
*
*
* uint32 version = 1;
* @return This builder for chaining.
*/
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
*
* Modulus.
* Unsigned big integer in bigendian representation.
*
*
* bytes n = 3;
* @return The n.
*/
@java.lang.Override
public com.google.protobuf.ByteString getN() {
return instance.getN();
}
/**
*
* Modulus.
* Unsigned big integer in bigendian 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 bigendian representation.
*
*
* bytes n = 3;
* @return This builder for chaining.
*/
public Builder clearN() {
copyOnWrite();
instance.clearN();
return this;
}
/**
*
* Public exponent.
* Unsigned big integer in bigendian 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 bigendian 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 bigendian representation.
*
*
* bytes e = 4;
* @return This builder for chaining.
*/
public Builder clearE() {
copyOnWrite();
instance.clearE();
return this;
}
// @@protoc_insertion_point(builder_scope:google.crypto.tink.RsaSsaPkcs1PublicKey)
}
@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.RsaSsaPkcs1PublicKey();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"version_",
"params_",
"n_",
"e_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u000b\u0002\t" +
"\u0003\n\u0004\n";
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.RsaSsaPkcs1PublicKey.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.RsaSsaPkcs1PublicKey)
private static final com.google.crypto.tink.proto.RsaSsaPkcs1PublicKey DEFAULT_INSTANCE;
static {
RsaSsaPkcs1PublicKey defaultInstance = new RsaSsaPkcs1PublicKey();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
RsaSsaPkcs1PublicKey.class, defaultInstance);
}
public static com.google.crypto.tink.proto.RsaSsaPkcs1PublicKey getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}