
io.bloombox.schema.security.IDTokenPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
The newest version!
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: security/Token.proto
package io.bloombox.schema.security;
/**
*
* Specifies a parsed ID token payload structure.
*
*
* Protobuf type {@code bloombox.security.IDTokenPayload}
*/
public final class IDTokenPayload extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.security.IDTokenPayload)
IDTokenPayloadOrBuilder {
private static final long serialVersionUID = 0L;
// Use IDTokenPayload.newBuilder() to construct.
private IDTokenPayload(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IDTokenPayload() {
token_ = "";
subject_ = "";
audience_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IDTokenPayload(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
token_ = s;
break;
}
case 16: {
expiration_ = input.readUInt64();
break;
}
case 24: {
issuance_ = input.readUInt64();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
subject_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
audience_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.security.Token.internal_static_bloombox_security_IDTokenPayload_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.security.Token.internal_static_bloombox_security_IDTokenPayload_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.security.IDTokenPayload.class, io.bloombox.schema.security.IDTokenPayload.Builder.class);
}
public static final int TOKEN_FIELD_NUMBER = 1;
private volatile java.lang.Object token_;
/**
*
* Access token.
*
*
* string token = 1;
*/
public java.lang.String getToken() {
java.lang.Object ref = token_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
token_ = s;
return s;
}
}
/**
*
* Access token.
*
*
* string token = 1;
*/
public com.google.protobuf.ByteString
getTokenBytes() {
java.lang.Object ref = token_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
token_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIRATION_FIELD_NUMBER = 2;
private long expiration_;
/**
*
* Expiration timestamp for the token.
*
*
* uint64 expiration = 2;
*/
public long getExpiration() {
return expiration_;
}
public static final int ISSUANCE_FIELD_NUMBER = 3;
private long issuance_;
/**
*
* Issuance timestamp for the token.
*
*
* uint64 issuance = 3;
*/
public long getIssuance() {
return issuance_;
}
public static final int SUBJECT_FIELD_NUMBER = 4;
private volatile java.lang.Object subject_;
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public java.lang.String getSubject() {
java.lang.Object ref = subject_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subject_ = s;
return s;
}
}
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public com.google.protobuf.ByteString
getSubjectBytes() {
java.lang.Object ref = subject_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subject_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUDIENCE_FIELD_NUMBER = 5;
private volatile java.lang.Object audience_;
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public java.lang.String getAudience() {
java.lang.Object ref = audience_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
audience_ = s;
return s;
}
}
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public com.google.protobuf.ByteString
getAudienceBytes() {
java.lang.Object ref = audience_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
audience_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTokenBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, token_);
}
if (expiration_ != 0L) {
output.writeUInt64(2, expiration_);
}
if (issuance_ != 0L) {
output.writeUInt64(3, issuance_);
}
if (!getSubjectBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subject_);
}
if (!getAudienceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, audience_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTokenBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, token_);
}
if (expiration_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, expiration_);
}
if (issuance_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, issuance_);
}
if (!getSubjectBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subject_);
}
if (!getAudienceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, audience_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.security.IDTokenPayload)) {
return super.equals(obj);
}
io.bloombox.schema.security.IDTokenPayload other = (io.bloombox.schema.security.IDTokenPayload) obj;
if (!getToken()
.equals(other.getToken())) return false;
if (getExpiration()
!= other.getExpiration()) return false;
if (getIssuance()
!= other.getIssuance()) return false;
if (!getSubject()
.equals(other.getSubject())) return false;
if (!getAudience()
.equals(other.getAudience())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getToken().hashCode();
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
hash = (37 * hash) + ISSUANCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIssuance());
hash = (37 * hash) + SUBJECT_FIELD_NUMBER;
hash = (53 * hash) + getSubject().hashCode();
hash = (37 * hash) + AUDIENCE_FIELD_NUMBER;
hash = (53 * hash) + getAudience().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.security.IDTokenPayload parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.security.IDTokenPayload parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.security.IDTokenPayload parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.security.IDTokenPayload prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies a parsed ID token payload structure.
*
*
* Protobuf type {@code bloombox.security.IDTokenPayload}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.security.IDTokenPayload)
io.bloombox.schema.security.IDTokenPayloadOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.security.Token.internal_static_bloombox_security_IDTokenPayload_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.security.Token.internal_static_bloombox_security_IDTokenPayload_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.security.IDTokenPayload.class, io.bloombox.schema.security.IDTokenPayload.Builder.class);
}
// Construct using io.bloombox.schema.security.IDTokenPayload.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
token_ = "";
expiration_ = 0L;
issuance_ = 0L;
subject_ = "";
audience_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.security.Token.internal_static_bloombox_security_IDTokenPayload_descriptor;
}
@java.lang.Override
public io.bloombox.schema.security.IDTokenPayload getDefaultInstanceForType() {
return io.bloombox.schema.security.IDTokenPayload.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.security.IDTokenPayload build() {
io.bloombox.schema.security.IDTokenPayload result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.security.IDTokenPayload buildPartial() {
io.bloombox.schema.security.IDTokenPayload result = new io.bloombox.schema.security.IDTokenPayload(this);
result.token_ = token_;
result.expiration_ = expiration_;
result.issuance_ = issuance_;
result.subject_ = subject_;
result.audience_ = audience_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.security.IDTokenPayload) {
return mergeFrom((io.bloombox.schema.security.IDTokenPayload)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.security.IDTokenPayload other) {
if (other == io.bloombox.schema.security.IDTokenPayload.getDefaultInstance()) return this;
if (!other.getToken().isEmpty()) {
token_ = other.token_;
onChanged();
}
if (other.getExpiration() != 0L) {
setExpiration(other.getExpiration());
}
if (other.getIssuance() != 0L) {
setIssuance(other.getIssuance());
}
if (!other.getSubject().isEmpty()) {
subject_ = other.subject_;
onChanged();
}
if (!other.getAudience().isEmpty()) {
audience_ = other.audience_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.security.IDTokenPayload parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.security.IDTokenPayload) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object token_ = "";
/**
*
* Access token.
*
*
* string token = 1;
*/
public java.lang.String getToken() {
java.lang.Object ref = token_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
token_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Access token.
*
*
* string token = 1;
*/
public com.google.protobuf.ByteString
getTokenBytes() {
java.lang.Object ref = token_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
token_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Access token.
*
*
* string token = 1;
*/
public Builder setToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
token_ = value;
onChanged();
return this;
}
/**
*
* Access token.
*
*
* string token = 1;
*/
public Builder clearToken() {
token_ = getDefaultInstance().getToken();
onChanged();
return this;
}
/**
*
* Access token.
*
*
* string token = 1;
*/
public Builder setTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
token_ = value;
onChanged();
return this;
}
private long expiration_ ;
/**
*
* Expiration timestamp for the token.
*
*
* uint64 expiration = 2;
*/
public long getExpiration() {
return expiration_;
}
/**
*
* Expiration timestamp for the token.
*
*
* uint64 expiration = 2;
*/
public Builder setExpiration(long value) {
expiration_ = value;
onChanged();
return this;
}
/**
*
* Expiration timestamp for the token.
*
*
* uint64 expiration = 2;
*/
public Builder clearExpiration() {
expiration_ = 0L;
onChanged();
return this;
}
private long issuance_ ;
/**
*
* Issuance timestamp for the token.
*
*
* uint64 issuance = 3;
*/
public long getIssuance() {
return issuance_;
}
/**
*
* Issuance timestamp for the token.
*
*
* uint64 issuance = 3;
*/
public Builder setIssuance(long value) {
issuance_ = value;
onChanged();
return this;
}
/**
*
* Issuance timestamp for the token.
*
*
* uint64 issuance = 3;
*/
public Builder clearIssuance() {
issuance_ = 0L;
onChanged();
return this;
}
private java.lang.Object subject_ = "";
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public java.lang.String getSubject() {
java.lang.Object ref = subject_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subject_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public com.google.protobuf.ByteString
getSubjectBytes() {
java.lang.Object ref = subject_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subject_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public Builder setSubject(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subject_ = value;
onChanged();
return this;
}
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public Builder clearSubject() {
subject_ = getDefaultInstance().getSubject();
onChanged();
return this;
}
/**
*
* Subject of the authentication operation.
*
*
* string subject = 4;
*/
public Builder setSubjectBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subject_ = value;
onChanged();
return this;
}
private java.lang.Object audience_ = "";
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public java.lang.String getAudience() {
java.lang.Object ref = audience_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
audience_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public com.google.protobuf.ByteString
getAudienceBytes() {
java.lang.Object ref = audience_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
audience_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public Builder setAudience(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
audience_ = value;
onChanged();
return this;
}
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public Builder clearAudience() {
audience_ = getDefaultInstance().getAudience();
onChanged();
return this;
}
/**
*
* Allowable audience of the authentication operation.
*
*
* string audience = 5;
*/
public Builder setAudienceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
audience_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.security.IDTokenPayload)
}
// @@protoc_insertion_point(class_scope:bloombox.security.IDTokenPayload)
private static final io.bloombox.schema.security.IDTokenPayload DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.security.IDTokenPayload();
}
public static io.bloombox.schema.security.IDTokenPayload getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IDTokenPayload parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new IDTokenPayload(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.security.IDTokenPayload getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy