main.java.com.streamlayer.sdkSettings.common.JWK Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sdkSettings/sdkSettings.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.common;
/**
* Protobuf type {@code streamlayer.sdkSettings.JWK}
*/
public final class JWK extends
com.google.protobuf.GeneratedMessageLite<
JWK, JWK.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.JWK)
JWKOrBuilder {
private JWK() {
alg_ = "";
crv_ = "";
d_ = "";
dp_ = "";
dq_ = "";
e_ = "";
k_ = "";
keyOps_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
kid_ = "";
kty_ = "";
n_ = "";
oth_ = emptyProtobufList();
p_ = "";
q_ = "";
qi_ = "";
use_ = "";
x_ = "";
y_ = "";
x5C_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
x5T_ = "";
x5U_ = "";
}
public interface OTHOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sdkSettings.JWK.OTH)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string d = 1 [json_name = "d"];
* @return Whether the d field is set.
*/
boolean hasD();
/**
* optional string d = 1 [json_name = "d"];
* @return The d.
*/
java.lang.String getD();
/**
* optional string d = 1 [json_name = "d"];
* @return The bytes for d.
*/
com.google.protobuf.ByteString
getDBytes();
/**
* optional string r = 2 [json_name = "r"];
* @return Whether the r field is set.
*/
boolean hasR();
/**
* optional string r = 2 [json_name = "r"];
* @return The r.
*/
java.lang.String getR();
/**
* optional string r = 2 [json_name = "r"];
* @return The bytes for r.
*/
com.google.protobuf.ByteString
getRBytes();
/**
* optional string t = 3 [json_name = "t"];
* @return Whether the t field is set.
*/
boolean hasT();
/**
* optional string t = 3 [json_name = "t"];
* @return The t.
*/
java.lang.String getT();
/**
* optional string t = 3 [json_name = "t"];
* @return The bytes for t.
*/
com.google.protobuf.ByteString
getTBytes();
}
/**
* Protobuf type {@code streamlayer.sdkSettings.JWK.OTH}
*/
public static final class OTH extends
com.google.protobuf.GeneratedMessageLite<
OTH, OTH.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.JWK.OTH)
OTHOrBuilder {
private OTH() {
d_ = "";
r_ = "";
t_ = "";
}
private int bitField0_;
public static final int D_FIELD_NUMBER = 1;
private java.lang.String d_;
/**
* optional string d = 1 [json_name = "d"];
* @return Whether the d field is set.
*/
@java.lang.Override
public boolean hasD() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string d = 1 [json_name = "d"];
* @return The d.
*/
@java.lang.Override
public java.lang.String getD() {
return d_;
}
/**
* optional string d = 1 [json_name = "d"];
* @return The bytes for d.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(d_);
}
/**
* optional string d = 1 [json_name = "d"];
* @param value The d to set.
*/
private void setD(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
d_ = value;
}
/**
* optional string d = 1 [json_name = "d"];
*/
private void clearD() {
bitField0_ = (bitField0_ & ~0x00000001);
d_ = getDefaultInstance().getD();
}
/**
* optional string d = 1 [json_name = "d"];
* @param value The bytes for d to set.
*/
private void setDBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
d_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int R_FIELD_NUMBER = 2;
private java.lang.String r_;
/**
* optional string r = 2 [json_name = "r"];
* @return Whether the r field is set.
*/
@java.lang.Override
public boolean hasR() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string r = 2 [json_name = "r"];
* @return The r.
*/
@java.lang.Override
public java.lang.String getR() {
return r_;
}
/**
* optional string r = 2 [json_name = "r"];
* @return The bytes for r.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(r_);
}
/**
* optional string r = 2 [json_name = "r"];
* @param value The r to set.
*/
private void setR(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
r_ = value;
}
/**
* optional string r = 2 [json_name = "r"];
*/
private void clearR() {
bitField0_ = (bitField0_ & ~0x00000002);
r_ = getDefaultInstance().getR();
}
/**
* optional string r = 2 [json_name = "r"];
* @param value The bytes for r to set.
*/
private void setRBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
r_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int T_FIELD_NUMBER = 3;
private java.lang.String t_;
/**
* optional string t = 3 [json_name = "t"];
* @return Whether the t field is set.
*/
@java.lang.Override
public boolean hasT() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string t = 3 [json_name = "t"];
* @return The t.
*/
@java.lang.Override
public java.lang.String getT() {
return t_;
}
/**
* optional string t = 3 [json_name = "t"];
* @return The bytes for t.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(t_);
}
/**
* optional string t = 3 [json_name = "t"];
* @param value The t to set.
*/
private void setT(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
t_ = value;
}
/**
* optional string t = 3 [json_name = "t"];
*/
private void clearT() {
bitField0_ = (bitField0_ & ~0x00000004);
t_ = getDefaultInstance().getT();
}
/**
* optional string t = 3 [json_name = "t"];
* @param value The bytes for t to set.
*/
private void setTBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
t_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.streamlayer.sdkSettings.common.JWK.OTH parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH 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.streamlayer.sdkSettings.common.JWK.OTH parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH 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.streamlayer.sdkSettings.common.JWK.OTH parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH 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.streamlayer.sdkSettings.common.JWK.OTH parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH 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.streamlayer.sdkSettings.common.JWK.OTH parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH 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.streamlayer.sdkSettings.common.JWK.OTH prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.JWK.OTH}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.JWK.OTH, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.JWK.OTH)
com.streamlayer.sdkSettings.common.JWK.OTHOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.JWK.OTH.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string d = 1 [json_name = "d"];
* @return Whether the d field is set.
*/
@java.lang.Override
public boolean hasD() {
return instance.hasD();
}
/**
* optional string d = 1 [json_name = "d"];
* @return The d.
*/
@java.lang.Override
public java.lang.String getD() {
return instance.getD();
}
/**
* optional string d = 1 [json_name = "d"];
* @return The bytes for d.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDBytes() {
return instance.getDBytes();
}
/**
* optional string d = 1 [json_name = "d"];
* @param value The d to set.
* @return This builder for chaining.
*/
public Builder setD(
java.lang.String value) {
copyOnWrite();
instance.setD(value);
return this;
}
/**
* optional string d = 1 [json_name = "d"];
* @return This builder for chaining.
*/
public Builder clearD() {
copyOnWrite();
instance.clearD();
return this;
}
/**
* optional string d = 1 [json_name = "d"];
* @param value The bytes for d to set.
* @return This builder for chaining.
*/
public Builder setDBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDBytes(value);
return this;
}
/**
* optional string r = 2 [json_name = "r"];
* @return Whether the r field is set.
*/
@java.lang.Override
public boolean hasR() {
return instance.hasR();
}
/**
* optional string r = 2 [json_name = "r"];
* @return The r.
*/
@java.lang.Override
public java.lang.String getR() {
return instance.getR();
}
/**
* optional string r = 2 [json_name = "r"];
* @return The bytes for r.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRBytes() {
return instance.getRBytes();
}
/**
* optional string r = 2 [json_name = "r"];
* @param value The r to set.
* @return This builder for chaining.
*/
public Builder setR(
java.lang.String value) {
copyOnWrite();
instance.setR(value);
return this;
}
/**
* optional string r = 2 [json_name = "r"];
* @return This builder for chaining.
*/
public Builder clearR() {
copyOnWrite();
instance.clearR();
return this;
}
/**
* optional string r = 2 [json_name = "r"];
* @param value The bytes for r to set.
* @return This builder for chaining.
*/
public Builder setRBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRBytes(value);
return this;
}
/**
* optional string t = 3 [json_name = "t"];
* @return Whether the t field is set.
*/
@java.lang.Override
public boolean hasT() {
return instance.hasT();
}
/**
* optional string t = 3 [json_name = "t"];
* @return The t.
*/
@java.lang.Override
public java.lang.String getT() {
return instance.getT();
}
/**
* optional string t = 3 [json_name = "t"];
* @return The bytes for t.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTBytes() {
return instance.getTBytes();
}
/**
* optional string t = 3 [json_name = "t"];
* @param value The t to set.
* @return This builder for chaining.
*/
public Builder setT(
java.lang.String value) {
copyOnWrite();
instance.setT(value);
return this;
}
/**
* optional string t = 3 [json_name = "t"];
* @return This builder for chaining.
*/
public Builder clearT() {
copyOnWrite();
instance.clearT();
return this;
}
/**
* optional string t = 3 [json_name = "t"];
* @param value The bytes for t to set.
* @return This builder for chaining.
*/
public Builder setTBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.JWK.OTH)
}
@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.streamlayer.sdkSettings.common.JWK.OTH();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"d_",
"r_",
"t_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1208\u0000\u0002" +
"\u1208\u0001\u0003\u1208\u0002";
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.streamlayer.sdkSettings.common.JWK.OTH.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:streamlayer.sdkSettings.JWK.OTH)
private static final com.streamlayer.sdkSettings.common.JWK.OTH DEFAULT_INSTANCE;
static {
OTH defaultInstance = new OTH();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
OTH.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.JWK.OTH 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 ALG_FIELD_NUMBER = 1;
private java.lang.String alg_;
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return Whether the alg field is set.
*/
@java.lang.Override
public boolean hasAlg() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return The alg.
*/
@java.lang.Override
public java.lang.String getAlg() {
return alg_;
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return The bytes for alg.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAlgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(alg_);
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @param value The alg to set.
*/
private void setAlg(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
alg_ = value;
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
*/
private void clearAlg() {
bitField0_ = (bitField0_ & ~0x00000001);
alg_ = getDefaultInstance().getAlg();
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @param value The bytes for alg to set.
*/
private void setAlgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
alg_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int CRV_FIELD_NUMBER = 2;
private java.lang.String crv_;
/**
* optional string crv = 2 [json_name = "crv"];
* @return Whether the crv field is set.
*/
@java.lang.Override
public boolean hasCrv() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string crv = 2 [json_name = "crv"];
* @return The crv.
*/
@java.lang.Override
public java.lang.String getCrv() {
return crv_;
}
/**
* optional string crv = 2 [json_name = "crv"];
* @return The bytes for crv.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCrvBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(crv_);
}
/**
* optional string crv = 2 [json_name = "crv"];
* @param value The crv to set.
*/
private void setCrv(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
crv_ = value;
}
/**
* optional string crv = 2 [json_name = "crv"];
*/
private void clearCrv() {
bitField0_ = (bitField0_ & ~0x00000002);
crv_ = getDefaultInstance().getCrv();
}
/**
* optional string crv = 2 [json_name = "crv"];
* @param value The bytes for crv to set.
*/
private void setCrvBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
crv_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int D_FIELD_NUMBER = 3;
private java.lang.String d_;
/**
* optional string d = 3 [json_name = "d"];
* @return Whether the d field is set.
*/
@java.lang.Override
public boolean hasD() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string d = 3 [json_name = "d"];
* @return The d.
*/
@java.lang.Override
public java.lang.String getD() {
return d_;
}
/**
* optional string d = 3 [json_name = "d"];
* @return The bytes for d.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(d_);
}
/**
* optional string d = 3 [json_name = "d"];
* @param value The d to set.
*/
private void setD(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
d_ = value;
}
/**
* optional string d = 3 [json_name = "d"];
*/
private void clearD() {
bitField0_ = (bitField0_ & ~0x00000004);
d_ = getDefaultInstance().getD();
}
/**
* optional string d = 3 [json_name = "d"];
* @param value The bytes for d to set.
*/
private void setDBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
d_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int DP_FIELD_NUMBER = 4;
private java.lang.String dp_;
/**
* optional string dp = 4 [json_name = "dp"];
* @return Whether the dp field is set.
*/
@java.lang.Override
public boolean hasDp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string dp = 4 [json_name = "dp"];
* @return The dp.
*/
@java.lang.Override
public java.lang.String getDp() {
return dp_;
}
/**
* optional string dp = 4 [json_name = "dp"];
* @return The bytes for dp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDpBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(dp_);
}
/**
* optional string dp = 4 [json_name = "dp"];
* @param value The dp to set.
*/
private void setDp(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000008;
dp_ = value;
}
/**
* optional string dp = 4 [json_name = "dp"];
*/
private void clearDp() {
bitField0_ = (bitField0_ & ~0x00000008);
dp_ = getDefaultInstance().getDp();
}
/**
* optional string dp = 4 [json_name = "dp"];
* @param value The bytes for dp to set.
*/
private void setDpBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
dp_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int DQ_FIELD_NUMBER = 5;
private java.lang.String dq_;
/**
* optional string dq = 5 [json_name = "dq"];
* @return Whether the dq field is set.
*/
@java.lang.Override
public boolean hasDq() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string dq = 5 [json_name = "dq"];
* @return The dq.
*/
@java.lang.Override
public java.lang.String getDq() {
return dq_;
}
/**
* optional string dq = 5 [json_name = "dq"];
* @return The bytes for dq.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDqBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(dq_);
}
/**
* optional string dq = 5 [json_name = "dq"];
* @param value The dq to set.
*/
private void setDq(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000010;
dq_ = value;
}
/**
* optional string dq = 5 [json_name = "dq"];
*/
private void clearDq() {
bitField0_ = (bitField0_ & ~0x00000010);
dq_ = getDefaultInstance().getDq();
}
/**
* optional string dq = 5 [json_name = "dq"];
* @param value The bytes for dq to set.
*/
private void setDqBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
dq_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int E_FIELD_NUMBER = 6;
private java.lang.String e_;
/**
* optional string e = 6 [json_name = "e"];
* @return Whether the e field is set.
*/
@java.lang.Override
public boolean hasE() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string e = 6 [json_name = "e"];
* @return The e.
*/
@java.lang.Override
public java.lang.String getE() {
return e_;
}
/**
* optional string e = 6 [json_name = "e"];
* @return The bytes for e.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(e_);
}
/**
* optional string e = 6 [json_name = "e"];
* @param value The e to set.
*/
private void setE(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000020;
e_ = value;
}
/**
* optional string e = 6 [json_name = "e"];
*/
private void clearE() {
bitField0_ = (bitField0_ & ~0x00000020);
e_ = getDefaultInstance().getE();
}
/**
* optional string e = 6 [json_name = "e"];
* @param value The bytes for e to set.
*/
private void setEBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
e_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int EXT_FIELD_NUMBER = 7;
private boolean ext_;
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @return The ext.
*/
@java.lang.Override
public boolean getExt() {
return ext_;
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @param value The ext to set.
*/
private void setExt(boolean value) {
bitField0_ |= 0x00000040;
ext_ = value;
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00000040);
ext_ = false;
}
public static final int K_FIELD_NUMBER = 8;
private java.lang.String k_;
/**
* optional string k = 8 [json_name = "k"];
* @return Whether the k field is set.
*/
@java.lang.Override
public boolean hasK() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string k = 8 [json_name = "k"];
* @return The k.
*/
@java.lang.Override
public java.lang.String getK() {
return k_;
}
/**
* optional string k = 8 [json_name = "k"];
* @return The bytes for k.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(k_);
}
/**
* optional string k = 8 [json_name = "k"];
* @param value The k to set.
*/
private void setK(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000080;
k_ = value;
}
/**
* optional string k = 8 [json_name = "k"];
*/
private void clearK() {
bitField0_ = (bitField0_ & ~0x00000080);
k_ = getDefaultInstance().getK();
}
/**
* optional string k = 8 [json_name = "k"];
* @param value The bytes for k to set.
*/
private void setKBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
k_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int KEY_OPS_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.ProtobufList keyOps_;
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @return A list containing the keyOps.
*/
@java.lang.Override
public java.util.List getKeyOpsList() {
return keyOps_;
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @return The count of keyOps.
*/
@java.lang.Override
public int getKeyOpsCount() {
return keyOps_.size();
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param index The index of the element to return.
* @return The keyOps at the given index.
*/
@java.lang.Override
public java.lang.String getKeyOps(int index) {
return keyOps_.get(index);
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param index The index of the value to return.
* @return The bytes of the keyOps at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyOpsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
keyOps_.get(index));
}
private void ensureKeyOpsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
keyOps_; if (!tmp.isModifiable()) {
keyOps_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param index The index to set the value at.
* @param value The keyOps to set.
*/
private void setKeyOps(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureKeyOpsIsMutable();
keyOps_.set(index, value);
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param value The keyOps to add.
*/
private void addKeyOps(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureKeyOpsIsMutable();
keyOps_.add(value);
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param values The keyOps to add.
*/
private void addAllKeyOps(
java.lang.Iterable values) {
ensureKeyOpsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, keyOps_);
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
*/
private void clearKeyOps() {
keyOps_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param value The bytes of the keyOps to add.
*/
private void addKeyOpsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureKeyOpsIsMutable();
keyOps_.add(value.toStringUtf8());
}
public static final int KID_FIELD_NUMBER = 10;
private java.lang.String kid_;
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return Whether the kid field is set.
*/
@java.lang.Override
public boolean hasKid() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return The kid.
*/
@java.lang.Override
public java.lang.String getKid() {
return kid_;
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return The bytes for kid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(kid_);
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @param value The kid to set.
*/
private void setKid(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000100;
kid_ = value;
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
*/
private void clearKid() {
bitField0_ = (bitField0_ & ~0x00000100);
kid_ = getDefaultInstance().getKid();
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @param value The bytes for kid to set.
*/
private void setKidBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
kid_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int KTY_FIELD_NUMBER = 11;
private java.lang.String kty_;
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return Whether the kty field is set.
*/
@java.lang.Override
public boolean hasKty() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return The kty.
*/
@java.lang.Override
public java.lang.String getKty() {
return kty_;
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return The bytes for kty.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKtyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(kty_);
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @param value The kty to set.
*/
private void setKty(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000200;
kty_ = value;
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
*/
private void clearKty() {
bitField0_ = (bitField0_ & ~0x00000200);
kty_ = getDefaultInstance().getKty();
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @param value The bytes for kty to set.
*/
private void setKtyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
kty_ = value.toStringUtf8();
bitField0_ |= 0x00000200;
}
public static final int N_FIELD_NUMBER = 12;
private java.lang.String n_;
/**
* optional string n = 12 [json_name = "n"];
* @return Whether the n field is set.
*/
@java.lang.Override
public boolean hasN() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string n = 12 [json_name = "n"];
* @return The n.
*/
@java.lang.Override
public java.lang.String getN() {
return n_;
}
/**
* optional string n = 12 [json_name = "n"];
* @return The bytes for n.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(n_);
}
/**
* optional string n = 12 [json_name = "n"];
* @param value The n to set.
*/
private void setN(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000400;
n_ = value;
}
/**
* optional string n = 12 [json_name = "n"];
*/
private void clearN() {
bitField0_ = (bitField0_ & ~0x00000400);
n_ = getDefaultInstance().getN();
}
/**
* optional string n = 12 [json_name = "n"];
* @param value The bytes for n to set.
*/
private void setNBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
n_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int OTH_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.ProtobufList oth_;
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
@java.lang.Override
public java.util.List getOthList() {
return oth_;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public java.util.List extends com.streamlayer.sdkSettings.common.JWK.OTHOrBuilder>
getOthOrBuilderList() {
return oth_;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
@java.lang.Override
public int getOthCount() {
return oth_.size();
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.JWK.OTH getOth(int index) {
return oth_.get(index);
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public com.streamlayer.sdkSettings.common.JWK.OTHOrBuilder getOthOrBuilder(
int index) {
return oth_.get(index);
}
private void ensureOthIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = oth_;
if (!tmp.isModifiable()) {
oth_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
private void setOth(
int index, com.streamlayer.sdkSettings.common.JWK.OTH value) {
value.getClass();
ensureOthIsMutable();
oth_.set(index, value);
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
private void addOth(com.streamlayer.sdkSettings.common.JWK.OTH value) {
value.getClass();
ensureOthIsMutable();
oth_.add(value);
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
private void addOth(
int index, com.streamlayer.sdkSettings.common.JWK.OTH value) {
value.getClass();
ensureOthIsMutable();
oth_.add(index, value);
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
private void addAllOth(
java.lang.Iterable extends com.streamlayer.sdkSettings.common.JWK.OTH> values) {
ensureOthIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, oth_);
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
private void clearOth() {
oth_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
private void removeOth(int index) {
ensureOthIsMutable();
oth_.remove(index);
}
public static final int P_FIELD_NUMBER = 14;
private java.lang.String p_;
/**
* optional string p = 14 [json_name = "p"];
* @return Whether the p field is set.
*/
@java.lang.Override
public boolean hasP() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string p = 14 [json_name = "p"];
* @return The p.
*/
@java.lang.Override
public java.lang.String getP() {
return p_;
}
/**
* optional string p = 14 [json_name = "p"];
* @return The bytes for p.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(p_);
}
/**
* optional string p = 14 [json_name = "p"];
* @param value The p to set.
*/
private void setP(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000800;
p_ = value;
}
/**
* optional string p = 14 [json_name = "p"];
*/
private void clearP() {
bitField0_ = (bitField0_ & ~0x00000800);
p_ = getDefaultInstance().getP();
}
/**
* optional string p = 14 [json_name = "p"];
* @param value The bytes for p to set.
*/
private void setPBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
p_ = value.toStringUtf8();
bitField0_ |= 0x00000800;
}
public static final int Q_FIELD_NUMBER = 15;
private java.lang.String q_;
/**
* optional string q = 15 [json_name = "q"];
* @return Whether the q field is set.
*/
@java.lang.Override
public boolean hasQ() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string q = 15 [json_name = "q"];
* @return The q.
*/
@java.lang.Override
public java.lang.String getQ() {
return q_;
}
/**
* optional string q = 15 [json_name = "q"];
* @return The bytes for q.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(q_);
}
/**
* optional string q = 15 [json_name = "q"];
* @param value The q to set.
*/
private void setQ(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00001000;
q_ = value;
}
/**
* optional string q = 15 [json_name = "q"];
*/
private void clearQ() {
bitField0_ = (bitField0_ & ~0x00001000);
q_ = getDefaultInstance().getQ();
}
/**
* optional string q = 15 [json_name = "q"];
* @param value The bytes for q to set.
*/
private void setQBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
q_ = value.toStringUtf8();
bitField0_ |= 0x00001000;
}
public static final int QI_FIELD_NUMBER = 16;
private java.lang.String qi_;
/**
* optional string qi = 16 [json_name = "qi"];
* @return Whether the qi field is set.
*/
@java.lang.Override
public boolean hasQi() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string qi = 16 [json_name = "qi"];
* @return The qi.
*/
@java.lang.Override
public java.lang.String getQi() {
return qi_;
}
/**
* optional string qi = 16 [json_name = "qi"];
* @return The bytes for qi.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQiBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(qi_);
}
/**
* optional string qi = 16 [json_name = "qi"];
* @param value The qi to set.
*/
private void setQi(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00002000;
qi_ = value;
}
/**
* optional string qi = 16 [json_name = "qi"];
*/
private void clearQi() {
bitField0_ = (bitField0_ & ~0x00002000);
qi_ = getDefaultInstance().getQi();
}
/**
* optional string qi = 16 [json_name = "qi"];
* @param value The bytes for qi to set.
*/
private void setQiBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
qi_ = value.toStringUtf8();
bitField0_ |= 0x00002000;
}
public static final int USE_FIELD_NUMBER = 17;
private java.lang.String use_;
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return Whether the use field is set.
*/
@java.lang.Override
public boolean hasUse() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return The use.
*/
@java.lang.Override
public java.lang.String getUse() {
return use_;
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return The bytes for use.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUseBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(use_);
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @param value The use to set.
*/
private void setUse(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00004000;
use_ = value;
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
*/
private void clearUse() {
bitField0_ = (bitField0_ & ~0x00004000);
use_ = getDefaultInstance().getUse();
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @param value The bytes for use to set.
*/
private void setUseBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
use_ = value.toStringUtf8();
bitField0_ |= 0x00004000;
}
public static final int X_FIELD_NUMBER = 18;
private java.lang.String x_;
/**
* optional string x = 18 [json_name = "x"];
* @return Whether the x field is set.
*/
@java.lang.Override
public boolean hasX() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string x = 18 [json_name = "x"];
* @return The x.
*/
@java.lang.Override
public java.lang.String getX() {
return x_;
}
/**
* optional string x = 18 [json_name = "x"];
* @return The bytes for x.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getXBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(x_);
}
/**
* optional string x = 18 [json_name = "x"];
* @param value The x to set.
*/
private void setX(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00008000;
x_ = value;
}
/**
* optional string x = 18 [json_name = "x"];
*/
private void clearX() {
bitField0_ = (bitField0_ & ~0x00008000);
x_ = getDefaultInstance().getX();
}
/**
* optional string x = 18 [json_name = "x"];
* @param value The bytes for x to set.
*/
private void setXBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
x_ = value.toStringUtf8();
bitField0_ |= 0x00008000;
}
public static final int Y_FIELD_NUMBER = 19;
private java.lang.String y_;
/**
* optional string y = 19 [json_name = "y"];
* @return Whether the y field is set.
*/
@java.lang.Override
public boolean hasY() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional string y = 19 [json_name = "y"];
* @return The y.
*/
@java.lang.Override
public java.lang.String getY() {
return y_;
}
/**
* optional string y = 19 [json_name = "y"];
* @return The bytes for y.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getYBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(y_);
}
/**
* optional string y = 19 [json_name = "y"];
* @param value The y to set.
*/
private void setY(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00010000;
y_ = value;
}
/**
* optional string y = 19 [json_name = "y"];
*/
private void clearY() {
bitField0_ = (bitField0_ & ~0x00010000);
y_ = getDefaultInstance().getY();
}
/**
* optional string y = 19 [json_name = "y"];
* @param value The bytes for y to set.
*/
private void setYBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
y_ = value.toStringUtf8();
bitField0_ |= 0x00010000;
}
public static final int X5C_FIELD_NUMBER = 20;
private com.google.protobuf.Internal.ProtobufList x5C_;
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @return A list containing the x5c.
*/
@java.lang.Override
public java.util.List getX5CList() {
return x5C_;
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @return The count of x5c.
*/
@java.lang.Override
public int getX5CCount() {
return x5C_.size();
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param index The index of the element to return.
* @return The x5c at the given index.
*/
@java.lang.Override
public java.lang.String getX5C(int index) {
return x5C_.get(index);
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param index The index of the value to return.
* @return The bytes of the x5c at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX5CBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
x5C_.get(index));
}
private void ensureX5CIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
x5C_; if (!tmp.isModifiable()) {
x5C_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param index The index to set the value at.
* @param value The x5c to set.
*/
private void setX5C(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureX5CIsMutable();
x5C_.set(index, value);
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param value The x5c to add.
*/
private void addX5C(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureX5CIsMutable();
x5C_.add(value);
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param values The x5c to add.
*/
private void addAllX5C(
java.lang.Iterable values) {
ensureX5CIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, x5C_);
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
*/
private void clearX5C() {
x5C_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param value The bytes of the x5c to add.
*/
private void addX5CBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureX5CIsMutable();
x5C_.add(value.toStringUtf8());
}
public static final int X5T_FIELD_NUMBER = 21;
private java.lang.String x5T_;
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return Whether the x5t field is set.
*/
@java.lang.Override
public boolean hasX5T() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return The x5t.
*/
@java.lang.Override
public java.lang.String getX5T() {
return x5T_;
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return The bytes for x5t.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX5TBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(x5T_);
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @param value The x5t to set.
*/
private void setX5T(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00020000;
x5T_ = value;
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
*/
private void clearX5T() {
bitField0_ = (bitField0_ & ~0x00020000);
x5T_ = getDefaultInstance().getX5T();
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @param value The bytes for x5t to set.
*/
private void setX5TBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
x5T_ = value.toStringUtf8();
bitField0_ |= 0x00020000;
}
public static final int X5U_FIELD_NUMBER = 22;
private java.lang.String x5U_;
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return Whether the x5u field is set.
*/
@java.lang.Override
public boolean hasX5U() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return The x5u.
*/
@java.lang.Override
public java.lang.String getX5U() {
return x5U_;
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return The bytes for x5u.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX5UBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(x5U_);
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @param value The x5u to set.
*/
private void setX5U(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00040000;
x5U_ = value;
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
*/
private void clearX5U() {
bitField0_ = (bitField0_ & ~0x00040000);
x5U_ = getDefaultInstance().getX5U();
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @param value The bytes for x5u to set.
*/
private void setX5UBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
x5U_ = value.toStringUtf8();
bitField0_ |= 0x00040000;
}
public static com.streamlayer.sdkSettings.common.JWK parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.JWK 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.streamlayer.sdkSettings.common.JWK parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.JWK 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.streamlayer.sdkSettings.common.JWK parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.JWK 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.streamlayer.sdkSettings.common.JWK parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.JWK 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.streamlayer.sdkSettings.common.JWK parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.JWK parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sdkSettings.common.JWK parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.JWK 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.streamlayer.sdkSettings.common.JWK prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.JWK}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.JWK, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.JWK)
com.streamlayer.sdkSettings.common.JWKOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.JWK.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return Whether the alg field is set.
*/
@java.lang.Override
public boolean hasAlg() {
return instance.hasAlg();
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return The alg.
*/
@java.lang.Override
public java.lang.String getAlg() {
return instance.getAlg();
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return The bytes for alg.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAlgBytes() {
return instance.getAlgBytes();
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @param value The alg to set.
* @return This builder for chaining.
*/
public Builder setAlg(
java.lang.String value) {
copyOnWrite();
instance.setAlg(value);
return this;
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @return This builder for chaining.
*/
public Builder clearAlg() {
copyOnWrite();
instance.clearAlg();
return this;
}
/**
*
** JWK "alg" (Algorithm) Parameter.
*
*
* optional string alg = 1 [json_name = "alg"];
* @param value The bytes for alg to set.
* @return This builder for chaining.
*/
public Builder setAlgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAlgBytes(value);
return this;
}
/**
* optional string crv = 2 [json_name = "crv"];
* @return Whether the crv field is set.
*/
@java.lang.Override
public boolean hasCrv() {
return instance.hasCrv();
}
/**
* optional string crv = 2 [json_name = "crv"];
* @return The crv.
*/
@java.lang.Override
public java.lang.String getCrv() {
return instance.getCrv();
}
/**
* optional string crv = 2 [json_name = "crv"];
* @return The bytes for crv.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCrvBytes() {
return instance.getCrvBytes();
}
/**
* optional string crv = 2 [json_name = "crv"];
* @param value The crv to set.
* @return This builder for chaining.
*/
public Builder setCrv(
java.lang.String value) {
copyOnWrite();
instance.setCrv(value);
return this;
}
/**
* optional string crv = 2 [json_name = "crv"];
* @return This builder for chaining.
*/
public Builder clearCrv() {
copyOnWrite();
instance.clearCrv();
return this;
}
/**
* optional string crv = 2 [json_name = "crv"];
* @param value The bytes for crv to set.
* @return This builder for chaining.
*/
public Builder setCrvBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCrvBytes(value);
return this;
}
/**
* optional string d = 3 [json_name = "d"];
* @return Whether the d field is set.
*/
@java.lang.Override
public boolean hasD() {
return instance.hasD();
}
/**
* optional string d = 3 [json_name = "d"];
* @return The d.
*/
@java.lang.Override
public java.lang.String getD() {
return instance.getD();
}
/**
* optional string d = 3 [json_name = "d"];
* @return The bytes for d.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDBytes() {
return instance.getDBytes();
}
/**
* optional string d = 3 [json_name = "d"];
* @param value The d to set.
* @return This builder for chaining.
*/
public Builder setD(
java.lang.String value) {
copyOnWrite();
instance.setD(value);
return this;
}
/**
* optional string d = 3 [json_name = "d"];
* @return This builder for chaining.
*/
public Builder clearD() {
copyOnWrite();
instance.clearD();
return this;
}
/**
* optional string d = 3 [json_name = "d"];
* @param value The bytes for d to set.
* @return This builder for chaining.
*/
public Builder setDBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDBytes(value);
return this;
}
/**
* optional string dp = 4 [json_name = "dp"];
* @return Whether the dp field is set.
*/
@java.lang.Override
public boolean hasDp() {
return instance.hasDp();
}
/**
* optional string dp = 4 [json_name = "dp"];
* @return The dp.
*/
@java.lang.Override
public java.lang.String getDp() {
return instance.getDp();
}
/**
* optional string dp = 4 [json_name = "dp"];
* @return The bytes for dp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDpBytes() {
return instance.getDpBytes();
}
/**
* optional string dp = 4 [json_name = "dp"];
* @param value The dp to set.
* @return This builder for chaining.
*/
public Builder setDp(
java.lang.String value) {
copyOnWrite();
instance.setDp(value);
return this;
}
/**
* optional string dp = 4 [json_name = "dp"];
* @return This builder for chaining.
*/
public Builder clearDp() {
copyOnWrite();
instance.clearDp();
return this;
}
/**
* optional string dp = 4 [json_name = "dp"];
* @param value The bytes for dp to set.
* @return This builder for chaining.
*/
public Builder setDpBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDpBytes(value);
return this;
}
/**
* optional string dq = 5 [json_name = "dq"];
* @return Whether the dq field is set.
*/
@java.lang.Override
public boolean hasDq() {
return instance.hasDq();
}
/**
* optional string dq = 5 [json_name = "dq"];
* @return The dq.
*/
@java.lang.Override
public java.lang.String getDq() {
return instance.getDq();
}
/**
* optional string dq = 5 [json_name = "dq"];
* @return The bytes for dq.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDqBytes() {
return instance.getDqBytes();
}
/**
* optional string dq = 5 [json_name = "dq"];
* @param value The dq to set.
* @return This builder for chaining.
*/
public Builder setDq(
java.lang.String value) {
copyOnWrite();
instance.setDq(value);
return this;
}
/**
* optional string dq = 5 [json_name = "dq"];
* @return This builder for chaining.
*/
public Builder clearDq() {
copyOnWrite();
instance.clearDq();
return this;
}
/**
* optional string dq = 5 [json_name = "dq"];
* @param value The bytes for dq to set.
* @return This builder for chaining.
*/
public Builder setDqBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDqBytes(value);
return this;
}
/**
* optional string e = 6 [json_name = "e"];
* @return Whether the e field is set.
*/
@java.lang.Override
public boolean hasE() {
return instance.hasE();
}
/**
* optional string e = 6 [json_name = "e"];
* @return The e.
*/
@java.lang.Override
public java.lang.String getE() {
return instance.getE();
}
/**
* optional string e = 6 [json_name = "e"];
* @return The bytes for e.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEBytes() {
return instance.getEBytes();
}
/**
* optional string e = 6 [json_name = "e"];
* @param value The e to set.
* @return This builder for chaining.
*/
public Builder setE(
java.lang.String value) {
copyOnWrite();
instance.setE(value);
return this;
}
/**
* optional string e = 6 [json_name = "e"];
* @return This builder for chaining.
*/
public Builder clearE() {
copyOnWrite();
instance.clearE();
return this;
}
/**
* optional string e = 6 [json_name = "e"];
* @param value The bytes for e to set.
* @return This builder for chaining.
*/
public Builder setEBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEBytes(value);
return this;
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @return The ext.
*/
@java.lang.Override
public boolean getExt() {
return instance.getExt();
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(boolean value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
*
** JWK "ext" (Extractable) Parameter.
*
*
* optional bool ext = 7 [json_name = "ext"];
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* optional string k = 8 [json_name = "k"];
* @return Whether the k field is set.
*/
@java.lang.Override
public boolean hasK() {
return instance.hasK();
}
/**
* optional string k = 8 [json_name = "k"];
* @return The k.
*/
@java.lang.Override
public java.lang.String getK() {
return instance.getK();
}
/**
* optional string k = 8 [json_name = "k"];
* @return The bytes for k.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKBytes() {
return instance.getKBytes();
}
/**
* optional string k = 8 [json_name = "k"];
* @param value The k to set.
* @return This builder for chaining.
*/
public Builder setK(
java.lang.String value) {
copyOnWrite();
instance.setK(value);
return this;
}
/**
* optional string k = 8 [json_name = "k"];
* @return This builder for chaining.
*/
public Builder clearK() {
copyOnWrite();
instance.clearK();
return this;
}
/**
* optional string k = 8 [json_name = "k"];
* @param value The bytes for k to set.
* @return This builder for chaining.
*/
public Builder setKBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKBytes(value);
return this;
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @return A list containing the keyOps.
*/
@java.lang.Override
public java.util.List
getKeyOpsList() {
return java.util.Collections.unmodifiableList(
instance.getKeyOpsList());
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @return The count of keyOps.
*/
@java.lang.Override
public int getKeyOpsCount() {
return instance.getKeyOpsCount();
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param index The index of the element to return.
* @return The keyOps at the given index.
*/
@java.lang.Override
public java.lang.String getKeyOps(int index) {
return instance.getKeyOps(index);
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param index The index of the value to return.
* @return The bytes of the keyOps at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyOpsBytes(int index) {
return instance.getKeyOpsBytes(index);
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param index The index to set the value at.
* @param value The keyOps to set.
* @return This builder for chaining.
*/
public Builder setKeyOps(
int index, java.lang.String value) {
copyOnWrite();
instance.setKeyOps(index, value);
return this;
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param value The keyOps to add.
* @return This builder for chaining.
*/
public Builder addKeyOps(
java.lang.String value) {
copyOnWrite();
instance.addKeyOps(value);
return this;
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param values The keyOps to add.
* @return This builder for chaining.
*/
public Builder addAllKeyOps(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllKeyOps(values);
return this;
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @return This builder for chaining.
*/
public Builder clearKeyOps() {
copyOnWrite();
instance.clearKeyOps();
return this;
}
/**
*
** JWK "key_ops" (Key Operations) Parameter.
*
*
* repeated string key_ops = 9 [json_name = "keyOps"];
* @param value The bytes of the keyOps to add.
* @return This builder for chaining.
*/
public Builder addKeyOpsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addKeyOpsBytes(value);
return this;
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return Whether the kid field is set.
*/
@java.lang.Override
public boolean hasKid() {
return instance.hasKid();
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return The kid.
*/
@java.lang.Override
public java.lang.String getKid() {
return instance.getKid();
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return The bytes for kid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKidBytes() {
return instance.getKidBytes();
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @param value The kid to set.
* @return This builder for chaining.
*/
public Builder setKid(
java.lang.String value) {
copyOnWrite();
instance.setKid(value);
return this;
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @return This builder for chaining.
*/
public Builder clearKid() {
copyOnWrite();
instance.clearKid();
return this;
}
/**
*
** JWK "kid" (Key ID) Parameter.
*
*
* optional string kid = 10 [json_name = "kid"];
* @param value The bytes for kid to set.
* @return This builder for chaining.
*/
public Builder setKidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKidBytes(value);
return this;
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return Whether the kty field is set.
*/
@java.lang.Override
public boolean hasKty() {
return instance.hasKty();
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return The kty.
*/
@java.lang.Override
public java.lang.String getKty() {
return instance.getKty();
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return The bytes for kty.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKtyBytes() {
return instance.getKtyBytes();
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @param value The kty to set.
* @return This builder for chaining.
*/
public Builder setKty(
java.lang.String value) {
copyOnWrite();
instance.setKty(value);
return this;
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @return This builder for chaining.
*/
public Builder clearKty() {
copyOnWrite();
instance.clearKty();
return this;
}
/**
*
** JWK "kty" (Key Type) Parameter.
*
*
* optional string kty = 11 [json_name = "kty"];
* @param value The bytes for kty to set.
* @return This builder for chaining.
*/
public Builder setKtyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKtyBytes(value);
return this;
}
/**
* optional string n = 12 [json_name = "n"];
* @return Whether the n field is set.
*/
@java.lang.Override
public boolean hasN() {
return instance.hasN();
}
/**
* optional string n = 12 [json_name = "n"];
* @return The n.
*/
@java.lang.Override
public java.lang.String getN() {
return instance.getN();
}
/**
* optional string n = 12 [json_name = "n"];
* @return The bytes for n.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNBytes() {
return instance.getNBytes();
}
/**
* optional string n = 12 [json_name = "n"];
* @param value The n to set.
* @return This builder for chaining.
*/
public Builder setN(
java.lang.String value) {
copyOnWrite();
instance.setN(value);
return this;
}
/**
* optional string n = 12 [json_name = "n"];
* @return This builder for chaining.
*/
public Builder clearN() {
copyOnWrite();
instance.clearN();
return this;
}
/**
* optional string n = 12 [json_name = "n"];
* @param value The bytes for n to set.
* @return This builder for chaining.
*/
public Builder setNBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNBytes(value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
@java.lang.Override
public java.util.List getOthList() {
return java.util.Collections.unmodifiableList(
instance.getOthList());
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
@java.lang.Override
public int getOthCount() {
return instance.getOthCount();
}/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.JWK.OTH getOth(int index) {
return instance.getOth(index);
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder setOth(
int index, com.streamlayer.sdkSettings.common.JWK.OTH value) {
copyOnWrite();
instance.setOth(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder setOth(
int index, com.streamlayer.sdkSettings.common.JWK.OTH.Builder builderForValue) {
copyOnWrite();
instance.setOth(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder addOth(com.streamlayer.sdkSettings.common.JWK.OTH value) {
copyOnWrite();
instance.addOth(value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder addOth(
int index, com.streamlayer.sdkSettings.common.JWK.OTH value) {
copyOnWrite();
instance.addOth(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder addOth(
com.streamlayer.sdkSettings.common.JWK.OTH.Builder builderForValue) {
copyOnWrite();
instance.addOth(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder addOth(
int index, com.streamlayer.sdkSettings.common.JWK.OTH.Builder builderForValue) {
copyOnWrite();
instance.addOth(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder addAllOth(
java.lang.Iterable extends com.streamlayer.sdkSettings.common.JWK.OTH> values) {
copyOnWrite();
instance.addAllOth(values);
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder clearOth() {
copyOnWrite();
instance.clearOth();
return this;
}
/**
* repeated .streamlayer.sdkSettings.JWK.OTH oth = 13 [json_name = "oth"];
*/
public Builder removeOth(int index) {
copyOnWrite();
instance.removeOth(index);
return this;
}
/**
* optional string p = 14 [json_name = "p"];
* @return Whether the p field is set.
*/
@java.lang.Override
public boolean hasP() {
return instance.hasP();
}
/**
* optional string p = 14 [json_name = "p"];
* @return The p.
*/
@java.lang.Override
public java.lang.String getP() {
return instance.getP();
}
/**
* optional string p = 14 [json_name = "p"];
* @return The bytes for p.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPBytes() {
return instance.getPBytes();
}
/**
* optional string p = 14 [json_name = "p"];
* @param value The p to set.
* @return This builder for chaining.
*/
public Builder setP(
java.lang.String value) {
copyOnWrite();
instance.setP(value);
return this;
}
/**
* optional string p = 14 [json_name = "p"];
* @return This builder for chaining.
*/
public Builder clearP() {
copyOnWrite();
instance.clearP();
return this;
}
/**
* optional string p = 14 [json_name = "p"];
* @param value The bytes for p to set.
* @return This builder for chaining.
*/
public Builder setPBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPBytes(value);
return this;
}
/**
* optional string q = 15 [json_name = "q"];
* @return Whether the q field is set.
*/
@java.lang.Override
public boolean hasQ() {
return instance.hasQ();
}
/**
* optional string q = 15 [json_name = "q"];
* @return The q.
*/
@java.lang.Override
public java.lang.String getQ() {
return instance.getQ();
}
/**
* optional string q = 15 [json_name = "q"];
* @return The bytes for q.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQBytes() {
return instance.getQBytes();
}
/**
* optional string q = 15 [json_name = "q"];
* @param value The q to set.
* @return This builder for chaining.
*/
public Builder setQ(
java.lang.String value) {
copyOnWrite();
instance.setQ(value);
return this;
}
/**
* optional string q = 15 [json_name = "q"];
* @return This builder for chaining.
*/
public Builder clearQ() {
copyOnWrite();
instance.clearQ();
return this;
}
/**
* optional string q = 15 [json_name = "q"];
* @param value The bytes for q to set.
* @return This builder for chaining.
*/
public Builder setQBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setQBytes(value);
return this;
}
/**
* optional string qi = 16 [json_name = "qi"];
* @return Whether the qi field is set.
*/
@java.lang.Override
public boolean hasQi() {
return instance.hasQi();
}
/**
* optional string qi = 16 [json_name = "qi"];
* @return The qi.
*/
@java.lang.Override
public java.lang.String getQi() {
return instance.getQi();
}
/**
* optional string qi = 16 [json_name = "qi"];
* @return The bytes for qi.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQiBytes() {
return instance.getQiBytes();
}
/**
* optional string qi = 16 [json_name = "qi"];
* @param value The qi to set.
* @return This builder for chaining.
*/
public Builder setQi(
java.lang.String value) {
copyOnWrite();
instance.setQi(value);
return this;
}
/**
* optional string qi = 16 [json_name = "qi"];
* @return This builder for chaining.
*/
public Builder clearQi() {
copyOnWrite();
instance.clearQi();
return this;
}
/**
* optional string qi = 16 [json_name = "qi"];
* @param value The bytes for qi to set.
* @return This builder for chaining.
*/
public Builder setQiBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setQiBytes(value);
return this;
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return Whether the use field is set.
*/
@java.lang.Override
public boolean hasUse() {
return instance.hasUse();
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return The use.
*/
@java.lang.Override
public java.lang.String getUse() {
return instance.getUse();
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return The bytes for use.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUseBytes() {
return instance.getUseBytes();
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @param value The use to set.
* @return This builder for chaining.
*/
public Builder setUse(
java.lang.String value) {
copyOnWrite();
instance.setUse(value);
return this;
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @return This builder for chaining.
*/
public Builder clearUse() {
copyOnWrite();
instance.clearUse();
return this;
}
/**
*
** JWK "use" (Public Key Use) Parameter.
*
*
* optional string use = 17 [json_name = "use"];
* @param value The bytes for use to set.
* @return This builder for chaining.
*/
public Builder setUseBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUseBytes(value);
return this;
}
/**
* optional string x = 18 [json_name = "x"];
* @return Whether the x field is set.
*/
@java.lang.Override
public boolean hasX() {
return instance.hasX();
}
/**
* optional string x = 18 [json_name = "x"];
* @return The x.
*/
@java.lang.Override
public java.lang.String getX() {
return instance.getX();
}
/**
* optional string x = 18 [json_name = "x"];
* @return The bytes for x.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getXBytes() {
return instance.getXBytes();
}
/**
* optional string x = 18 [json_name = "x"];
* @param value The x to set.
* @return This builder for chaining.
*/
public Builder setX(
java.lang.String value) {
copyOnWrite();
instance.setX(value);
return this;
}
/**
* optional string x = 18 [json_name = "x"];
* @return This builder for chaining.
*/
public Builder clearX() {
copyOnWrite();
instance.clearX();
return this;
}
/**
* optional string x = 18 [json_name = "x"];
* @param value The bytes for x to set.
* @return This builder for chaining.
*/
public Builder setXBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setXBytes(value);
return this;
}
/**
* optional string y = 19 [json_name = "y"];
* @return Whether the y field is set.
*/
@java.lang.Override
public boolean hasY() {
return instance.hasY();
}
/**
* optional string y = 19 [json_name = "y"];
* @return The y.
*/
@java.lang.Override
public java.lang.String getY() {
return instance.getY();
}
/**
* optional string y = 19 [json_name = "y"];
* @return The bytes for y.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getYBytes() {
return instance.getYBytes();
}
/**
* optional string y = 19 [json_name = "y"];
* @param value The y to set.
* @return This builder for chaining.
*/
public Builder setY(
java.lang.String value) {
copyOnWrite();
instance.setY(value);
return this;
}
/**
* optional string y = 19 [json_name = "y"];
* @return This builder for chaining.
*/
public Builder clearY() {
copyOnWrite();
instance.clearY();
return this;
}
/**
* optional string y = 19 [json_name = "y"];
* @param value The bytes for y to set.
* @return This builder for chaining.
*/
public Builder setYBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setYBytes(value);
return this;
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @return A list containing the x5c.
*/
@java.lang.Override
public java.util.List
getX5CList() {
return java.util.Collections.unmodifiableList(
instance.getX5CList());
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @return The count of x5c.
*/
@java.lang.Override
public int getX5CCount() {
return instance.getX5CCount();
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param index The index of the element to return.
* @return The x5c at the given index.
*/
@java.lang.Override
public java.lang.String getX5C(int index) {
return instance.getX5C(index);
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param index The index of the value to return.
* @return The bytes of the x5c at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX5CBytes(int index) {
return instance.getX5CBytes(index);
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param index The index to set the value at.
* @param value The x5c to set.
* @return This builder for chaining.
*/
public Builder setX5C(
int index, java.lang.String value) {
copyOnWrite();
instance.setX5C(index, value);
return this;
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param value The x5c to add.
* @return This builder for chaining.
*/
public Builder addX5C(
java.lang.String value) {
copyOnWrite();
instance.addX5C(value);
return this;
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param values The x5c to add.
* @return This builder for chaining.
*/
public Builder addAllX5C(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllX5C(values);
return this;
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @return This builder for chaining.
*/
public Builder clearX5C() {
copyOnWrite();
instance.clearX5C();
return this;
}
/**
*
** JWK "x5c" (X.509 Certificate Chain) Parameter.
*
*
* repeated string x5c = 20 [json_name = "x5c"];
* @param value The bytes of the x5c to add.
* @return This builder for chaining.
*/
public Builder addX5CBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addX5CBytes(value);
return this;
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return Whether the x5t field is set.
*/
@java.lang.Override
public boolean hasX5T() {
return instance.hasX5T();
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return The x5t.
*/
@java.lang.Override
public java.lang.String getX5T() {
return instance.getX5T();
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return The bytes for x5t.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX5TBytes() {
return instance.getX5TBytes();
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @param value The x5t to set.
* @return This builder for chaining.
*/
public Builder setX5T(
java.lang.String value) {
copyOnWrite();
instance.setX5T(value);
return this;
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @return This builder for chaining.
*/
public Builder clearX5T() {
copyOnWrite();
instance.clearX5T();
return this;
}
/**
*
** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
*
*
* optional string x5t = 21 [json_name = "x5t"];
* @param value The bytes for x5t to set.
* @return This builder for chaining.
*/
public Builder setX5TBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setX5TBytes(value);
return this;
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return Whether the x5u field is set.
*/
@java.lang.Override
public boolean hasX5U() {
return instance.hasX5U();
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return The x5u.
*/
@java.lang.Override
public java.lang.String getX5U() {
return instance.getX5U();
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return The bytes for x5u.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getX5UBytes() {
return instance.getX5UBytes();
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @param value The x5u to set.
* @return This builder for chaining.
*/
public Builder setX5U(
java.lang.String value) {
copyOnWrite();
instance.setX5U(value);
return this;
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @return This builder for chaining.
*/
public Builder clearX5U() {
copyOnWrite();
instance.clearX5U();
return this;
}
/**
*
** JWK "x5u" (X.509 URL) Parameter.
*
*
* optional string x5u = 22 [json_name = "x5u"];
* @param value The bytes for x5u to set.
* @return This builder for chaining.
*/
public Builder setX5UBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setX5UBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.JWK)
}
@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.streamlayer.sdkSettings.common.JWK();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"alg_",
"crv_",
"d_",
"dp_",
"dq_",
"e_",
"ext_",
"k_",
"keyOps_",
"kid_",
"kty_",
"n_",
"oth_",
com.streamlayer.sdkSettings.common.JWK.OTH.class,
"p_",
"q_",
"qi_",
"use_",
"x_",
"y_",
"x5C_",
"x5T_",
"x5U_",
};
java.lang.String info =
"\u0000\u0016\u0000\u0001\u0001\u0016\u0016\u0000\u0003\u0000\u0001\u1208\u0000\u0002" +
"\u1208\u0001\u0003\u1208\u0002\u0004\u1208\u0003\u0005\u1208\u0004\u0006\u1208\u0005" +
"\u0007\u1007\u0006\b\u1208\u0007\t\u021a\n\u1208\b\u000b\u1208\t\f\u1208\n\r\u001b" +
"\u000e\u1208\u000b\u000f\u1208\f\u0010\u1208\r\u0011\u1208\u000e\u0012\u1208\u000f" +
"\u0013\u1208\u0010\u0014\u021a\u0015\u1208\u0011\u0016\u1208\u0012";
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.streamlayer.sdkSettings.common.JWK.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:streamlayer.sdkSettings.JWK)
private static final com.streamlayer.sdkSettings.common.JWK DEFAULT_INSTANCE;
static {
JWK defaultInstance = new JWK();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
JWK.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.JWK getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}