io.bloombox.schema.services.checkin.v1beta1.CardCheckin 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: checkin/v1beta1/CheckinService_Beta1.proto
package io.bloombox.schema.services.checkin.v1beta1;
/**
*
* Specifies an RPC operation to check a user via an authenticated digital representation of their identity, usually in
* the form of an Apple Wallet based, Bloombox-issued pass.
*
*
* Protobuf type {@code bloombox.services.checkin.v1beta1.CardCheckin}
*/
public final class CardCheckin extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.checkin.v1beta1.CardCheckin)
CardCheckinOrBuilder {
private static final long serialVersionUID = 0L;
// Use CardCheckin.newBuilder() to construct.
private CardCheckin(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CardCheckin() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CardCheckin(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
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.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.class, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Builder.class);
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.checkin.v1beta1.CardCheckin.Request)
com.google.protobuf.MessageOrBuilder {
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
java.lang.String getCardType();
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
com.google.protobuf.ByteString
getCardTypeBytes();
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
java.lang.String getPayload();
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
com.google.protobuf.ByteString
getPayloadBytes();
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
java.lang.String getSignature();
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
com.google.protobuf.ByteString
getSignatureBytes();
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
java.lang.String getAgent();
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
com.google.protobuf.ByteString
getAgentBytes();
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
java.lang.String getScope();
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
com.google.protobuf.ByteString
getScopeBytes();
}
/**
*
* Request to checkin via a user's digital card.
*
*
* Protobuf type {@code bloombox.services.checkin.v1beta1.CardCheckin.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.checkin.v1beta1.CardCheckin.Request)
RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Request.newBuilder() to construct.
private Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Request() {
cardType_ = "";
payload_ = "";
signature_ = "";
agent_ = "";
scope_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Request(
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();
cardType_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
payload_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
signature_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
agent_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
scope_ = 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.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.class, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder.class);
}
public static final int CARD_TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object cardType_;
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public java.lang.String getCardType() {
java.lang.Object ref = cardType_;
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();
cardType_ = s;
return s;
}
}
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public com.google.protobuf.ByteString
getCardTypeBytes() {
java.lang.Object ref = cardType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cardType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAYLOAD_FIELD_NUMBER = 2;
private volatile java.lang.Object payload_;
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public java.lang.String getPayload() {
java.lang.Object ref = payload_;
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();
payload_ = s;
return s;
}
}
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public com.google.protobuf.ByteString
getPayloadBytes() {
java.lang.Object ref = payload_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
payload_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIGNATURE_FIELD_NUMBER = 3;
private volatile java.lang.Object signature_;
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
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();
signature_ = s;
return s;
}
}
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AGENT_FIELD_NUMBER = 4;
private volatile java.lang.Object agent_;
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public java.lang.String getAgent() {
java.lang.Object ref = agent_;
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();
agent_ = s;
return s;
}
}
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public com.google.protobuf.ByteString
getAgentBytes() {
java.lang.Object ref = agent_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCOPE_FIELD_NUMBER = 5;
private volatile java.lang.Object scope_;
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public java.lang.String getScope() {
java.lang.Object ref = scope_;
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();
scope_ = s;
return s;
}
}
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public com.google.protobuf.ByteString
getScopeBytes() {
java.lang.Object ref = scope_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scope_ = 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 (!getCardTypeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cardType_);
}
if (!getPayloadBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, payload_);
}
if (!getSignatureBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, signature_);
}
if (!getAgentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, agent_);
}
if (!getScopeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, scope_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getCardTypeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cardType_);
}
if (!getPayloadBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, payload_);
}
if (!getSignatureBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, signature_);
}
if (!getAgentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, agent_);
}
if (!getScopeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, scope_);
}
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.services.checkin.v1beta1.CardCheckin.Request)) {
return super.equals(obj);
}
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request other = (io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request) obj;
if (!getCardType()
.equals(other.getCardType())) return false;
if (!getPayload()
.equals(other.getPayload())) return false;
if (!getSignature()
.equals(other.getSignature())) return false;
if (!getAgent()
.equals(other.getAgent())) return false;
if (!getScope()
.equals(other.getScope())) 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) + CARD_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getCardType().hashCode();
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
hash = (37 * hash) + SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getSignature().hashCode();
hash = (37 * hash) + AGENT_FIELD_NUMBER;
hash = (53 * hash) + getAgent().hashCode();
hash = (37 * hash) + SCOPE_FIELD_NUMBER;
hash = (53 * hash) + getScope().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request 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.services.checkin.v1beta1.CardCheckin.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request 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.services.checkin.v1beta1.CardCheckin.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request 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.services.checkin.v1beta1.CardCheckin.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request 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.services.checkin.v1beta1.CardCheckin.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request 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.services.checkin.v1beta1.CardCheckin.Request 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;
}
/**
*
* Request to checkin via a user's digital card.
*
*
* Protobuf type {@code bloombox.services.checkin.v1beta1.CardCheckin.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.checkin.v1beta1.CardCheckin.Request)
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.class, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder.class);
}
// Construct using io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.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();
cardType_ = "";
payload_ = "";
signature_ = "";
agent_ = "";
scope_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Request_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request getDefaultInstanceForType() {
return io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request build() {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request buildPartial() {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request result = new io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request(this);
result.cardType_ = cardType_;
result.payload_ = payload_;
result.signature_ = signature_;
result.agent_ = agent_;
result.scope_ = scope_;
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.services.checkin.v1beta1.CardCheckin.Request) {
return mergeFrom((io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request other) {
if (other == io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.getDefaultInstance()) return this;
if (!other.getCardType().isEmpty()) {
cardType_ = other.cardType_;
onChanged();
}
if (!other.getPayload().isEmpty()) {
payload_ = other.payload_;
onChanged();
}
if (!other.getSignature().isEmpty()) {
signature_ = other.signature_;
onChanged();
}
if (!other.getAgent().isEmpty()) {
agent_ = other.agent_;
onChanged();
}
if (!other.getScope().isEmpty()) {
scope_ = other.scope_;
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.services.checkin.v1beta1.CardCheckin.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object cardType_ = "";
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public java.lang.String getCardType() {
java.lang.Object ref = cardType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cardType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public com.google.protobuf.ByteString
getCardTypeBytes() {
java.lang.Object ref = cardType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cardType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public Builder setCardType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cardType_ = value;
onChanged();
return this;
}
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public Builder clearCardType() {
cardType_ = getDefaultInstance().getCardType();
onChanged();
return this;
}
/**
*
* Type ID of the subject digital card.
*
*
* string card_type = 1;
*/
public Builder setCardTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cardType_ = value;
onChanged();
return this;
}
private java.lang.Object payload_ = "";
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public java.lang.String getPayload() {
java.lang.Object ref = payload_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
payload_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public com.google.protobuf.ByteString
getPayloadBytes() {
java.lang.Object ref = payload_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
payload_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public Builder setPayload(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
payload_ = value;
onChanged();
return this;
}
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public Builder clearPayload() {
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
/**
*
* Raw bytes of the card's barcode, encoded in base64.
*
*
* string payload = 2;
*/
public Builder setPayloadBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
payload_ = value;
onChanged();
return this;
}
private java.lang.Object signature_ = "";
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
signature_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public Builder setSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
signature_ = value;
onChanged();
return this;
}
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public Builder clearSignature() {
signature_ = getDefaultInstance().getSignature();
onChanged();
return this;
}
/**
*
* Embedded signature in the digital card, encoded in base64.
*
*
* string signature = 3;
*/
public Builder setSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
signature_ = value;
onChanged();
return this;
}
private java.lang.Object agent_ = "";
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public java.lang.String getAgent() {
java.lang.Object ref = agent_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agent_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public com.google.protobuf.ByteString
getAgentBytes() {
java.lang.Object ref = agent_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public Builder setAgent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agent_ = value;
onChanged();
return this;
}
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public Builder clearAgent() {
agent_ = getDefaultInstance().getAgent();
onChanged();
return this;
}
/**
*
* Digital signature and hash from the submitting device, encoded in base64.
*
*
* string agent = 4;
*/
public Builder setAgentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agent_ = value;
onChanged();
return this;
}
private java.lang.Object scope_ = "";
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public java.lang.String getScope() {
java.lang.Object ref = scope_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
scope_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public com.google.protobuf.ByteString
getScopeBytes() {
java.lang.Object ref = scope_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scope_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public Builder setScope(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
scope_ = value;
onChanged();
return this;
}
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public Builder clearScope() {
scope_ = getDefaultInstance().getScope();
onChanged();
return this;
}
/**
*
* Partnership scope for the request.
*
*
* string scope = 5;
*/
public Builder setScopeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
scope_ = 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.services.checkin.v1beta1.CardCheckin.Request)
}
// @@protoc_insertion_point(class_scope:bloombox.services.checkin.v1beta1.CardCheckin.Request)
private static final io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request();
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Request(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.services.checkin.v1beta1.CardCheckin.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OperationOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.checkin.v1beta1.CardCheckin.Operation)
com.google.protobuf.MessageOrBuilder {
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
boolean hasRequest();
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request getRequest();
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder getRequestOrBuilder();
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
boolean hasResponse();
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse getResponse();
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
io.bloombox.schema.services.checkin.v1beta1.CheckinResponseOrBuilder getResponseOrBuilder();
}
/**
*
* Specifies a digital checkin operation, consisting of one request and one generic checkin response.
*
*
* Protobuf type {@code bloombox.services.checkin.v1beta1.CardCheckin.Operation}
*/
public static final class Operation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.checkin.v1beta1.CardCheckin.Operation)
OperationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Operation.newBuilder() to construct.
private Operation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Operation() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Operation(
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: {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder subBuilder = null;
if (request_ != null) {
subBuilder = request_.toBuilder();
}
request_ = input.readMessage(io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(request_);
request_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.Builder subBuilder = null;
if (response_ != null) {
subBuilder = response_.toBuilder();
}
response_ = input.readMessage(io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(response_);
response_ = subBuilder.buildPartial();
}
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.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Operation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.class, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.Builder.class);
}
public static final int REQUEST_FIELD_NUMBER = 1;
private io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request request_;
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public boolean hasRequest() {
return request_ != null;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request getRequest() {
return request_ == null ? io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.getDefaultInstance() : request_;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder getRequestOrBuilder() {
return getRequest();
}
public static final int RESPONSE_FIELD_NUMBER = 2;
private io.bloombox.schema.services.checkin.v1beta1.CheckinResponse response_;
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public boolean hasResponse() {
return response_ != null;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public io.bloombox.schema.services.checkin.v1beta1.CheckinResponse getResponse() {
return response_ == null ? io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.getDefaultInstance() : response_;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public io.bloombox.schema.services.checkin.v1beta1.CheckinResponseOrBuilder getResponseOrBuilder() {
return getResponse();
}
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 (request_ != null) {
output.writeMessage(1, getRequest());
}
if (response_ != null) {
output.writeMessage(2, getResponse());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (request_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRequest());
}
if (response_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getResponse());
}
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.services.checkin.v1beta1.CardCheckin.Operation)) {
return super.equals(obj);
}
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation other = (io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation) obj;
if (hasRequest() != other.hasRequest()) return false;
if (hasRequest()) {
if (!getRequest()
.equals(other.getRequest())) return false;
}
if (hasResponse() != other.hasResponse()) return false;
if (hasResponse()) {
if (!getResponse()
.equals(other.getResponse())) 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();
if (hasRequest()) {
hash = (37 * hash) + REQUEST_FIELD_NUMBER;
hash = (53 * hash) + getRequest().hashCode();
}
if (hasResponse()) {
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation 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.services.checkin.v1beta1.CardCheckin.Operation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation 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.services.checkin.v1beta1.CardCheckin.Operation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation 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.services.checkin.v1beta1.CardCheckin.Operation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation 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.services.checkin.v1beta1.CardCheckin.Operation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation 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.services.checkin.v1beta1.CardCheckin.Operation 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 digital checkin operation, consisting of one request and one generic checkin response.
*
*
* Protobuf type {@code bloombox.services.checkin.v1beta1.CardCheckin.Operation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.checkin.v1beta1.CardCheckin.Operation)
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.OperationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Operation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.class, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.Builder.class);
}
// Construct using io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.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();
if (requestBuilder_ == null) {
request_ = null;
} else {
request_ = null;
requestBuilder_ = null;
}
if (responseBuilder_ == null) {
response_ = null;
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_Operation_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation getDefaultInstanceForType() {
return io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation build() {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation buildPartial() {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation result = new io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation(this);
if (requestBuilder_ == null) {
result.request_ = request_;
} else {
result.request_ = requestBuilder_.build();
}
if (responseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = responseBuilder_.build();
}
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.services.checkin.v1beta1.CardCheckin.Operation) {
return mergeFrom((io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation other) {
if (other == io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation.getDefaultInstance()) return this;
if (other.hasRequest()) {
mergeRequest(other.getRequest());
}
if (other.hasResponse()) {
mergeResponse(other.getResponse());
}
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.services.checkin.v1beta1.CardCheckin.Operation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request request_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder> requestBuilder_;
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public boolean hasRequest() {
return requestBuilder_ != null || request_ != null;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request getRequest() {
if (requestBuilder_ == null) {
return request_ == null ? io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.getDefaultInstance() : request_;
} else {
return requestBuilder_.getMessage();
}
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public Builder setRequest(io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request value) {
if (requestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
requestBuilder_.setMessage(value);
}
return this;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public Builder setRequest(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder builderForValue) {
if (requestBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
requestBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public Builder mergeRequest(io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request value) {
if (requestBuilder_ == null) {
if (request_ != null) {
request_ =
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.newBuilder(request_).mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
requestBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public Builder clearRequest() {
if (requestBuilder_ == null) {
request_ = null;
onChanged();
} else {
request_ = null;
requestBuilder_ = null;
}
return this;
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder getRequestBuilder() {
onChanged();
return getRequestFieldBuilder().getBuilder();
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder();
} else {
return request_ == null ?
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.getDefaultInstance() : request_;
}
}
/**
*
* Request to check a user in via their government ID.
*
*
* .bloombox.services.checkin.v1beta1.CardCheckin.Request request = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder>
getRequestFieldBuilder() {
if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Request.Builder, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.RequestOrBuilder>(
getRequest(),
getParentForChildren(),
isClean());
request_ = null;
}
return requestBuilder_;
}
private io.bloombox.schema.services.checkin.v1beta1.CheckinResponse response_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse, io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.Builder, io.bloombox.schema.services.checkin.v1beta1.CheckinResponseOrBuilder> responseBuilder_;
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public boolean hasResponse() {
return responseBuilder_ != null || response_ != null;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public io.bloombox.schema.services.checkin.v1beta1.CheckinResponse getResponse() {
if (responseBuilder_ == null) {
return response_ == null ? io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.getDefaultInstance() : response_;
} else {
return responseBuilder_.getMessage();
}
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public Builder setResponse(io.bloombox.schema.services.checkin.v1beta1.CheckinResponse value) {
if (responseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseBuilder_.setMessage(value);
}
return this;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public Builder setResponse(
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.Builder builderForValue) {
if (responseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public Builder mergeResponse(io.bloombox.schema.services.checkin.v1beta1.CheckinResponse value) {
if (responseBuilder_ == null) {
if (response_ != null) {
response_ =
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.newBuilder(response_).mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
responseBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public Builder clearResponse() {
if (responseBuilder_ == null) {
response_ = null;
onChanged();
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.Builder getResponseBuilder() {
onChanged();
return getResponseFieldBuilder().getBuilder();
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
public io.bloombox.schema.services.checkin.v1beta1.CheckinResponseOrBuilder getResponseOrBuilder() {
if (responseBuilder_ != null) {
return responseBuilder_.getMessageOrBuilder();
} else {
return response_ == null ?
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.getDefaultInstance() : response_;
}
}
/**
*
* Generic checkin response.
*
*
* .bloombox.services.checkin.v1beta1.CheckinResponse response = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse, io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.Builder, io.bloombox.schema.services.checkin.v1beta1.CheckinResponseOrBuilder>
getResponseFieldBuilder() {
if (responseBuilder_ == null) {
responseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.checkin.v1beta1.CheckinResponse, io.bloombox.schema.services.checkin.v1beta1.CheckinResponse.Builder, io.bloombox.schema.services.checkin.v1beta1.CheckinResponseOrBuilder>(
getResponse(),
getParentForChildren(),
isClean());
response_ = null;
}
return responseBuilder_;
}
@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.services.checkin.v1beta1.CardCheckin.Operation)
}
// @@protoc_insertion_point(class_scope:bloombox.services.checkin.v1beta1.CardCheckin.Operation)
private static final io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation();
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Operation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Operation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Operation(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.services.checkin.v1beta1.CardCheckin.Operation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.services.checkin.v1beta1.CardCheckin)) {
return super.equals(obj);
}
io.bloombox.schema.services.checkin.v1beta1.CardCheckin other = (io.bloombox.schema.services.checkin.v1beta1.CardCheckin) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin 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.services.checkin.v1beta1.CardCheckin parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin 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.services.checkin.v1beta1.CardCheckin parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin 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.services.checkin.v1beta1.CardCheckin parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin 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.services.checkin.v1beta1.CardCheckin parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin 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.services.checkin.v1beta1.CardCheckin 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 an RPC operation to check a user via an authenticated digital representation of their identity, usually in
* the form of an Apple Wallet based, Bloombox-issued pass.
*
*
* Protobuf type {@code bloombox.services.checkin.v1beta1.CardCheckin}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.checkin.v1beta1.CardCheckin)
io.bloombox.schema.services.checkin.v1beta1.CardCheckinOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.checkin.v1beta1.CardCheckin.class, io.bloombox.schema.services.checkin.v1beta1.CardCheckin.Builder.class);
}
// Construct using io.bloombox.schema.services.checkin.v1beta1.CardCheckin.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.checkin.v1beta1.CheckinServiceBeta1.internal_static_bloombox_services_checkin_v1beta1_CardCheckin_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin getDefaultInstanceForType() {
return io.bloombox.schema.services.checkin.v1beta1.CardCheckin.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin build() {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.checkin.v1beta1.CardCheckin buildPartial() {
io.bloombox.schema.services.checkin.v1beta1.CardCheckin result = new io.bloombox.schema.services.checkin.v1beta1.CardCheckin(this);
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.services.checkin.v1beta1.CardCheckin) {
return mergeFrom((io.bloombox.schema.services.checkin.v1beta1.CardCheckin)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.checkin.v1beta1.CardCheckin other) {
if (other == io.bloombox.schema.services.checkin.v1beta1.CardCheckin.getDefaultInstance()) return this;
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.services.checkin.v1beta1.CardCheckin parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.checkin.v1beta1.CardCheckin) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.services.checkin.v1beta1.CardCheckin)
}
// @@protoc_insertion_point(class_scope:bloombox.services.checkin.v1beta1.CardCheckin)
private static final io.bloombox.schema.services.checkin.v1beta1.CardCheckin DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.checkin.v1beta1.CardCheckin();
}
public static io.bloombox.schema.services.checkin.v1beta1.CardCheckin getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CardCheckin parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CardCheckin(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.services.checkin.v1beta1.CardCheckin getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy