io.bloombox.schema.identity.ids.PassportID 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: identity/ids/Passport.proto
package io.bloombox.schema.identity.ids;
public final class PassportID {
private PassportID() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PassportReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.identity.ids.PassportReference)
com.google.protobuf.MessageOrBuilder {
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
java.lang.String getNation();
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
com.google.protobuf.ByteString
getNationBytes();
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
java.lang.String getIdNumber();
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
com.google.protobuf.ByteString
getIdNumberBytes();
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
java.lang.String getBarcode();
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
com.google.protobuf.ByteString
getBarcodeBytes();
}
/**
*
* Reference to a nation-issued passport document.
*
*
* Protobuf type {@code bloombox.identity.ids.PassportReference}
*/
public static final class PassportReference extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.identity.ids.PassportReference)
PassportReferenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use PassportReference.newBuilder() to construct.
private PassportReference(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PassportReference() {
nation_ = "";
idNumber_ = "";
barcode_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PassportReference(
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();
nation_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
idNumber_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
barcode_ = 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.identity.ids.PassportID.internal_static_bloombox_identity_ids_PassportReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_PassportReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.identity.ids.PassportID.PassportReference.class, io.bloombox.schema.identity.ids.PassportID.PassportReference.Builder.class);
}
public static final int NATION_FIELD_NUMBER = 1;
private volatile java.lang.Object nation_;
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public java.lang.String getNation() {
java.lang.Object ref = nation_;
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();
nation_ = s;
return s;
}
}
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public com.google.protobuf.ByteString
getNationBytes() {
java.lang.Object ref = nation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_NUMBER_FIELD_NUMBER = 2;
private volatile java.lang.Object idNumber_;
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public java.lang.String getIdNumber() {
java.lang.Object ref = idNumber_;
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();
idNumber_ = s;
return s;
}
}
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public com.google.protobuf.ByteString
getIdNumberBytes() {
java.lang.Object ref = idNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
idNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BARCODE_FIELD_NUMBER = 3;
private volatile java.lang.Object barcode_;
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public java.lang.String getBarcode() {
java.lang.Object ref = barcode_;
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();
barcode_ = s;
return s;
}
}
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public com.google.protobuf.ByteString
getBarcodeBytes() {
java.lang.Object ref = barcode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
barcode_ = 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 (!getNationBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nation_);
}
if (!getIdNumberBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, idNumber_);
}
if (!getBarcodeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, barcode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNationBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nation_);
}
if (!getIdNumberBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, idNumber_);
}
if (!getBarcodeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, barcode_);
}
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.identity.ids.PassportID.PassportReference)) {
return super.equals(obj);
}
io.bloombox.schema.identity.ids.PassportID.PassportReference other = (io.bloombox.schema.identity.ids.PassportID.PassportReference) obj;
if (!getNation()
.equals(other.getNation())) return false;
if (!getIdNumber()
.equals(other.getIdNumber())) return false;
if (!getBarcode()
.equals(other.getBarcode())) 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) + NATION_FIELD_NUMBER;
hash = (53 * hash) + getNation().hashCode();
hash = (37 * hash) + ID_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getIdNumber().hashCode();
hash = (37 * hash) + BARCODE_FIELD_NUMBER;
hash = (53 * hash) + getBarcode().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference 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.identity.ids.PassportID.PassportReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference 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.identity.ids.PassportID.PassportReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference 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.identity.ids.PassportID.PassportReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference 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.identity.ids.PassportID.PassportReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference 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.identity.ids.PassportID.PassportReference 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;
}
/**
*
* Reference to a nation-issued passport document.
*
*
* Protobuf type {@code bloombox.identity.ids.PassportReference}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.identity.ids.PassportReference)
io.bloombox.schema.identity.ids.PassportID.PassportReferenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_PassportReference_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_PassportReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.identity.ids.PassportID.PassportReference.class, io.bloombox.schema.identity.ids.PassportID.PassportReference.Builder.class);
}
// Construct using io.bloombox.schema.identity.ids.PassportID.PassportReference.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();
nation_ = "";
idNumber_ = "";
barcode_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_PassportReference_descriptor;
}
@java.lang.Override
public io.bloombox.schema.identity.ids.PassportID.PassportReference getDefaultInstanceForType() {
return io.bloombox.schema.identity.ids.PassportID.PassportReference.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.identity.ids.PassportID.PassportReference build() {
io.bloombox.schema.identity.ids.PassportID.PassportReference result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.identity.ids.PassportID.PassportReference buildPartial() {
io.bloombox.schema.identity.ids.PassportID.PassportReference result = new io.bloombox.schema.identity.ids.PassportID.PassportReference(this);
result.nation_ = nation_;
result.idNumber_ = idNumber_;
result.barcode_ = barcode_;
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.identity.ids.PassportID.PassportReference) {
return mergeFrom((io.bloombox.schema.identity.ids.PassportID.PassportReference)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.identity.ids.PassportID.PassportReference other) {
if (other == io.bloombox.schema.identity.ids.PassportID.PassportReference.getDefaultInstance()) return this;
if (!other.getNation().isEmpty()) {
nation_ = other.nation_;
onChanged();
}
if (!other.getIdNumber().isEmpty()) {
idNumber_ = other.idNumber_;
onChanged();
}
if (!other.getBarcode().isEmpty()) {
barcode_ = other.barcode_;
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.identity.ids.PassportID.PassportReference parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.identity.ids.PassportID.PassportReference) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object nation_ = "";
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public java.lang.String getNation() {
java.lang.Object ref = nation_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public com.google.protobuf.ByteString
getNationBytes() {
java.lang.Object ref = nation_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public Builder setNation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nation_ = value;
onChanged();
return this;
}
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public Builder clearNation() {
nation_ = getDefaultInstance().getNation();
onChanged();
return this;
}
/**
*
* Nation that issued the passport.
*
*
* string nation = 1;
*/
public Builder setNationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nation_ = value;
onChanged();
return this;
}
private java.lang.Object idNumber_ = "";
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public java.lang.String getIdNumber() {
java.lang.Object ref = idNumber_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
idNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public com.google.protobuf.ByteString
getIdNumberBytes() {
java.lang.Object ref = idNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
idNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public Builder setIdNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
idNumber_ = value;
onChanged();
return this;
}
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public Builder clearIdNumber() {
idNumber_ = getDefaultInstance().getIdNumber();
onChanged();
return this;
}
/**
*
* ID number from the passport.
*
*
* string id_number = 2;
*/
public Builder setIdNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
idNumber_ = value;
onChanged();
return this;
}
private java.lang.Object barcode_ = "";
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public java.lang.String getBarcode() {
java.lang.Object ref = barcode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
barcode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public com.google.protobuf.ByteString
getBarcodeBytes() {
java.lang.Object ref = barcode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
barcode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public Builder setBarcode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
barcode_ = value;
onChanged();
return this;
}
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public Builder clearBarcode() {
barcode_ = getDefaultInstance().getBarcode();
onChanged();
return this;
}
/**
*
* Raw base64 barcode data from the passport.
*
*
* string barcode = 3;
*/
public Builder setBarcodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
barcode_ = 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.identity.ids.PassportReference)
}
// @@protoc_insertion_point(class_scope:bloombox.identity.ids.PassportReference)
private static final io.bloombox.schema.identity.ids.PassportID.PassportReference DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.identity.ids.PassportID.PassportReference();
}
public static io.bloombox.schema.identity.ids.PassportID.PassportReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PassportReference parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PassportReference(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.identity.ids.PassportID.PassportReference getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PassportOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.identity.ids.Passport)
com.google.protobuf.MessageOrBuilder {
/**
*
* Barcode from the passport, if any.
*
*
* bytes barcode = 1 [(.gen_bq_schema.ignore) = true];
*/
com.google.protobuf.ByteString getBarcode();
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
java.lang.String getNation();
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
com.google.protobuf.ByteString
getNationBytes();
}
/**
*
* Specifies a model for a nation-state-issued passport.
*
*
* Protobuf type {@code bloombox.identity.ids.Passport}
*/
public static final class Passport extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.identity.ids.Passport)
PassportOrBuilder {
private static final long serialVersionUID = 0L;
// Use Passport.newBuilder() to construct.
private Passport(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Passport() {
barcode_ = com.google.protobuf.ByteString.EMPTY;
nation_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Passport(
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: {
barcode_ = input.readBytes();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
nation_ = 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.identity.ids.PassportID.internal_static_bloombox_identity_ids_Passport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_Passport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.identity.ids.PassportID.Passport.class, io.bloombox.schema.identity.ids.PassportID.Passport.Builder.class);
}
public static final int BARCODE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString barcode_;
/**
*
* Barcode from the passport, if any.
*
*
* bytes barcode = 1 [(.gen_bq_schema.ignore) = true];
*/
public com.google.protobuf.ByteString getBarcode() {
return barcode_;
}
public static final int NATION_FIELD_NUMBER = 2;
private volatile java.lang.Object nation_;
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public java.lang.String getNation() {
java.lang.Object ref = nation_;
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();
nation_ = s;
return s;
}
}
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public com.google.protobuf.ByteString
getNationBytes() {
java.lang.Object ref = nation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nation_ = 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 (!barcode_.isEmpty()) {
output.writeBytes(1, barcode_);
}
if (!getNationBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nation_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!barcode_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, barcode_);
}
if (!getNationBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nation_);
}
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.identity.ids.PassportID.Passport)) {
return super.equals(obj);
}
io.bloombox.schema.identity.ids.PassportID.Passport other = (io.bloombox.schema.identity.ids.PassportID.Passport) obj;
if (!getBarcode()
.equals(other.getBarcode())) return false;
if (!getNation()
.equals(other.getNation())) 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) + BARCODE_FIELD_NUMBER;
hash = (53 * hash) + getBarcode().hashCode();
hash = (37 * hash) + NATION_FIELD_NUMBER;
hash = (53 * hash) + getNation().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.identity.ids.PassportID.Passport parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport 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.identity.ids.PassportID.Passport parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport 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.identity.ids.PassportID.Passport parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport 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.identity.ids.PassportID.Passport parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport 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.identity.ids.PassportID.Passport parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.ids.PassportID.Passport 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.identity.ids.PassportID.Passport 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 model for a nation-state-issued passport.
*
*
* Protobuf type {@code bloombox.identity.ids.Passport}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.identity.ids.Passport)
io.bloombox.schema.identity.ids.PassportID.PassportOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_Passport_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_Passport_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.identity.ids.PassportID.Passport.class, io.bloombox.schema.identity.ids.PassportID.Passport.Builder.class);
}
// Construct using io.bloombox.schema.identity.ids.PassportID.Passport.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();
barcode_ = com.google.protobuf.ByteString.EMPTY;
nation_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.identity.ids.PassportID.internal_static_bloombox_identity_ids_Passport_descriptor;
}
@java.lang.Override
public io.bloombox.schema.identity.ids.PassportID.Passport getDefaultInstanceForType() {
return io.bloombox.schema.identity.ids.PassportID.Passport.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.identity.ids.PassportID.Passport build() {
io.bloombox.schema.identity.ids.PassportID.Passport result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.identity.ids.PassportID.Passport buildPartial() {
io.bloombox.schema.identity.ids.PassportID.Passport result = new io.bloombox.schema.identity.ids.PassportID.Passport(this);
result.barcode_ = barcode_;
result.nation_ = nation_;
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.identity.ids.PassportID.Passport) {
return mergeFrom((io.bloombox.schema.identity.ids.PassportID.Passport)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.identity.ids.PassportID.Passport other) {
if (other == io.bloombox.schema.identity.ids.PassportID.Passport.getDefaultInstance()) return this;
if (other.getBarcode() != com.google.protobuf.ByteString.EMPTY) {
setBarcode(other.getBarcode());
}
if (!other.getNation().isEmpty()) {
nation_ = other.nation_;
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.identity.ids.PassportID.Passport parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.identity.ids.PassportID.Passport) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString barcode_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Barcode from the passport, if any.
*
*
* bytes barcode = 1 [(.gen_bq_schema.ignore) = true];
*/
public com.google.protobuf.ByteString getBarcode() {
return barcode_;
}
/**
*
* Barcode from the passport, if any.
*
*
* bytes barcode = 1 [(.gen_bq_schema.ignore) = true];
*/
public Builder setBarcode(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
barcode_ = value;
onChanged();
return this;
}
/**
*
* Barcode from the passport, if any.
*
*
* bytes barcode = 1 [(.gen_bq_schema.ignore) = true];
*/
public Builder clearBarcode() {
barcode_ = getDefaultInstance().getBarcode();
onChanged();
return this;
}
private java.lang.Object nation_ = "";
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public java.lang.String getNation() {
java.lang.Object ref = nation_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public com.google.protobuf.ByteString
getNationBytes() {
java.lang.Object ref = nation_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public Builder setNation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nation_ = value;
onChanged();
return this;
}
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public Builder clearNation() {
nation_ = getDefaultInstance().getNation();
onChanged();
return this;
}
/**
*
* Nation that issued this passport, as an abbreviated string code, like "US" or "UK".
*
*
* string nation = 2 [(.gen_bq_schema.description) = "Nation that issued this passport, as an abbreviated string code, like \"US\" or \"UK\"."];
*/
public Builder setNationBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nation_ = 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.identity.ids.Passport)
}
// @@protoc_insertion_point(class_scope:bloombox.identity.ids.Passport)
private static final io.bloombox.schema.identity.ids.PassportID.Passport DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.identity.ids.PassportID.Passport();
}
public static io.bloombox.schema.identity.ids.PassportID.Passport getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Passport parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Passport(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.identity.ids.PassportID.Passport getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_identity_ids_PassportReference_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_identity_ids_PassportReference_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_identity_ids_Passport_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_identity_ids_Passport_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033identity/ids/Passport.proto\022\025bloombox." +
"identity.ids\032\016bq_field.proto\"G\n\021Passport" +
"Reference\022\016\n\006nation\030\001 \001(\t\022\021\n\tid_number\030\002" +
" \001(\t\022\017\n\007barcode\030\003 \001(\t\"\210\001\n\010Passport\022\024\n\007ba" +
"rcode\030\001 \001(\014B\003\200@\001\022f\n\006nation\030\002 \001(\tBV\212@SNat" +
"ion that issued this passport, as an abb" +
"reviated string code, like \"US\" or \"UK\"." +
"B7\n\037io.bloombox.schema.identity.idsB\nPas" +
"sportIDH\001P\000\242\002\003BBSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
gen_bq_schema.BqField.getDescriptor(),
}, assigner);
internal_static_bloombox_identity_ids_PassportReference_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bloombox_identity_ids_PassportReference_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_identity_ids_PassportReference_descriptor,
new java.lang.String[] { "Nation", "IdNumber", "Barcode", });
internal_static_bloombox_identity_ids_Passport_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_bloombox_identity_ids_Passport_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_identity_ids_Passport_descriptor,
new java.lang.String[] { "Barcode", "Nation", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(gen_bq_schema.BqField.description);
registry.add(gen_bq_schema.BqField.ignore);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
gen_bq_schema.BqField.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy