All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bloombox.schema.services.wallet.v1.CardList Maven / Gradle / Ivy

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: wallet/v1/WalletService_v1.proto

package io.bloombox.schema.services.wallet.v1;

/**
 * 
 * Request to list cards for a given user, from their own perspective, optionally filtering by partner/location key.
 * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList} */ public final class CardList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.wallet.v1.CardList) CardListOrBuilder { private static final long serialVersionUID = 0L; // Use CardList.newBuilder() to construct. private CardList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CardList() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CardList( 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.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.class, io.bloombox.schema.services.wallet.v1.CardList.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.wallet.v1.CardList.Request) com.google.protobuf.MessageOrBuilder { /** *
     * Device library ID.
     * 
* * string library = 1; */ java.lang.String getLibrary(); /** *
     * Device library ID.
     * 
* * string library = 1; */ com.google.protobuf.ByteString getLibraryBytes(); /** *
     * Pass type ID.
     * 
* * string pass_type = 2; */ java.lang.String getPassType(); /** *
     * Pass type ID.
     * 
* * string pass_type = 2; */ com.google.protobuf.ByteString getPassTypeBytes(); /** *
     * Tag for constraining update bounds.
     * 
* * string passes_updated_since = 3; */ java.lang.String getPassesUpdatedSince(); /** *
     * Tag for constraining update bounds.
     * 
* * string passes_updated_since = 3; */ com.google.protobuf.ByteString getPassesUpdatedSinceBytes(); } /** *
   * Request to list cards for a given user.
   * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.wallet.v1.CardList.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() { library_ = ""; passType_ = ""; passesUpdatedSince_ = ""; } @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(); library_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); passType_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); passesUpdatedSince_ = 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.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.Request.class, io.bloombox.schema.services.wallet.v1.CardList.Request.Builder.class); } public static final int LIBRARY_FIELD_NUMBER = 1; private volatile java.lang.Object library_; /** *
     * Device library ID.
     * 
* * string library = 1; */ public java.lang.String getLibrary() { java.lang.Object ref = library_; 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(); library_ = s; return s; } } /** *
     * Device library ID.
     * 
* * string library = 1; */ public com.google.protobuf.ByteString getLibraryBytes() { java.lang.Object ref = library_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); library_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASS_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object passType_; /** *
     * Pass type ID.
     * 
* * string pass_type = 2; */ public java.lang.String getPassType() { java.lang.Object ref = passType_; 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(); passType_ = s; return s; } } /** *
     * Pass type ID.
     * 
* * string pass_type = 2; */ public com.google.protobuf.ByteString getPassTypeBytes() { java.lang.Object ref = passType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSES_UPDATED_SINCE_FIELD_NUMBER = 3; private volatile java.lang.Object passesUpdatedSince_; /** *
     * Tag for constraining update bounds.
     * 
* * string passes_updated_since = 3; */ public java.lang.String getPassesUpdatedSince() { java.lang.Object ref = passesUpdatedSince_; 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(); passesUpdatedSince_ = s; return s; } } /** *
     * Tag for constraining update bounds.
     * 
* * string passes_updated_since = 3; */ public com.google.protobuf.ByteString getPassesUpdatedSinceBytes() { java.lang.Object ref = passesUpdatedSince_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passesUpdatedSince_ = 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 (!getLibraryBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, library_); } if (!getPassTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, passType_); } if (!getPassesUpdatedSinceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, passesUpdatedSince_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getLibraryBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, library_); } if (!getPassTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, passType_); } if (!getPassesUpdatedSinceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, passesUpdatedSince_); } 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.wallet.v1.CardList.Request)) { return super.equals(obj); } io.bloombox.schema.services.wallet.v1.CardList.Request other = (io.bloombox.schema.services.wallet.v1.CardList.Request) obj; if (!getLibrary() .equals(other.getLibrary())) return false; if (!getPassType() .equals(other.getPassType())) return false; if (!getPassesUpdatedSince() .equals(other.getPassesUpdatedSince())) 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) + LIBRARY_FIELD_NUMBER; hash = (53 * hash) + getLibrary().hashCode(); hash = (37 * hash) + PASS_TYPE_FIELD_NUMBER; hash = (53 * hash) + getPassType().hashCode(); hash = (37 * hash) + PASSES_UPDATED_SINCE_FIELD_NUMBER; hash = (53 * hash) + getPassesUpdatedSince().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.wallet.v1.CardList.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.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.wallet.v1.CardList.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.wallet.v1.CardList.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 list cards for a given user.
     * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.wallet.v1.CardList.Request) io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.Request.class, io.bloombox.schema.services.wallet.v1.CardList.Request.Builder.class); } // Construct using io.bloombox.schema.services.wallet.v1.CardList.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(); library_ = ""; passType_ = ""; passesUpdatedSince_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Request_descriptor; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Request getDefaultInstanceForType() { return io.bloombox.schema.services.wallet.v1.CardList.Request.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Request build() { io.bloombox.schema.services.wallet.v1.CardList.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Request buildPartial() { io.bloombox.schema.services.wallet.v1.CardList.Request result = new io.bloombox.schema.services.wallet.v1.CardList.Request(this); result.library_ = library_; result.passType_ = passType_; result.passesUpdatedSince_ = passesUpdatedSince_; 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.wallet.v1.CardList.Request) { return mergeFrom((io.bloombox.schema.services.wallet.v1.CardList.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.wallet.v1.CardList.Request other) { if (other == io.bloombox.schema.services.wallet.v1.CardList.Request.getDefaultInstance()) return this; if (!other.getLibrary().isEmpty()) { library_ = other.library_; onChanged(); } if (!other.getPassType().isEmpty()) { passType_ = other.passType_; onChanged(); } if (!other.getPassesUpdatedSince().isEmpty()) { passesUpdatedSince_ = other.passesUpdatedSince_; 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.wallet.v1.CardList.Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.wallet.v1.CardList.Request) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object library_ = ""; /** *
       * Device library ID.
       * 
* * string library = 1; */ public java.lang.String getLibrary() { java.lang.Object ref = library_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); library_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Device library ID.
       * 
* * string library = 1; */ public com.google.protobuf.ByteString getLibraryBytes() { java.lang.Object ref = library_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); library_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Device library ID.
       * 
* * string library = 1; */ public Builder setLibrary( java.lang.String value) { if (value == null) { throw new NullPointerException(); } library_ = value; onChanged(); return this; } /** *
       * Device library ID.
       * 
* * string library = 1; */ public Builder clearLibrary() { library_ = getDefaultInstance().getLibrary(); onChanged(); return this; } /** *
       * Device library ID.
       * 
* * string library = 1; */ public Builder setLibraryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); library_ = value; onChanged(); return this; } private java.lang.Object passType_ = ""; /** *
       * Pass type ID.
       * 
* * string pass_type = 2; */ public java.lang.String getPassType() { java.lang.Object ref = passType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); passType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Pass type ID.
       * 
* * string pass_type = 2; */ public com.google.protobuf.ByteString getPassTypeBytes() { java.lang.Object ref = passType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Pass type ID.
       * 
* * string pass_type = 2; */ public Builder setPassType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } passType_ = value; onChanged(); return this; } /** *
       * Pass type ID.
       * 
* * string pass_type = 2; */ public Builder clearPassType() { passType_ = getDefaultInstance().getPassType(); onChanged(); return this; } /** *
       * Pass type ID.
       * 
* * string pass_type = 2; */ public Builder setPassTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); passType_ = value; onChanged(); return this; } private java.lang.Object passesUpdatedSince_ = ""; /** *
       * Tag for constraining update bounds.
       * 
* * string passes_updated_since = 3; */ public java.lang.String getPassesUpdatedSince() { java.lang.Object ref = passesUpdatedSince_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); passesUpdatedSince_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Tag for constraining update bounds.
       * 
* * string passes_updated_since = 3; */ public com.google.protobuf.ByteString getPassesUpdatedSinceBytes() { java.lang.Object ref = passesUpdatedSince_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); passesUpdatedSince_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Tag for constraining update bounds.
       * 
* * string passes_updated_since = 3; */ public Builder setPassesUpdatedSince( java.lang.String value) { if (value == null) { throw new NullPointerException(); } passesUpdatedSince_ = value; onChanged(); return this; } /** *
       * Tag for constraining update bounds.
       * 
* * string passes_updated_since = 3; */ public Builder clearPassesUpdatedSince() { passesUpdatedSince_ = getDefaultInstance().getPassesUpdatedSince(); onChanged(); return this; } /** *
       * Tag for constraining update bounds.
       * 
* * string passes_updated_since = 3; */ public Builder setPassesUpdatedSinceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); passesUpdatedSince_ = 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.wallet.v1.CardList.Request) } // @@protoc_insertion_point(class_scope:bloombox.services.wallet.v1.CardList.Request) private static final io.bloombox.schema.services.wallet.v1.CardList.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.wallet.v1.CardList.Request(); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.wallet.v1.CardList.Response) com.google.protobuf.MessageOrBuilder { /** *
     * Last-updated-tag for this response. Determined by the server.
     * 
* * string last_updated = 1; */ java.lang.String getLastUpdated(); /** *
     * Last-updated-tag for this response. Determined by the server.
     * 
* * string last_updated = 1; */ com.google.protobuf.ByteString getLastUpdatedBytes(); /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ java.util.List getSerialNumbersList(); /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ int getSerialNumbersCount(); /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ java.lang.String getSerialNumbers(int index); /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ com.google.protobuf.ByteString getSerialNumbersBytes(int index); } /** *
   * Response to a request to list cards for a given user.
   * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.wallet.v1.CardList.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Response() { lastUpdated_ = ""; serialNumbers_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Response( 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(); lastUpdated_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { serialNumbers_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } serialNumbers_.add(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 { if (((mutable_bitField0_ & 0x00000002) != 0)) { serialNumbers_ = serialNumbers_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.Response.class, io.bloombox.schema.services.wallet.v1.CardList.Response.Builder.class); } private int bitField0_; public static final int LAST_UPDATED_FIELD_NUMBER = 1; private volatile java.lang.Object lastUpdated_; /** *
     * Last-updated-tag for this response. Determined by the server.
     * 
* * string last_updated = 1; */ public java.lang.String getLastUpdated() { java.lang.Object ref = lastUpdated_; 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(); lastUpdated_ = s; return s; } } /** *
     * Last-updated-tag for this response. Determined by the server.
     * 
* * string last_updated = 1; */ public com.google.protobuf.ByteString getLastUpdatedBytes() { java.lang.Object ref = lastUpdated_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastUpdated_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERIAL_NUMBERS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList serialNumbers_; /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ public com.google.protobuf.ProtocolStringList getSerialNumbersList() { return serialNumbers_; } /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ public int getSerialNumbersCount() { return serialNumbers_.size(); } /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ public java.lang.String getSerialNumbers(int index) { return serialNumbers_.get(index); } /** *
     * Serial numbers owned by the specified device library.
     * 
* * repeated string serial_numbers = 2; */ public com.google.protobuf.ByteString getSerialNumbersBytes(int index) { return serialNumbers_.getByteString(index); } 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 (!getLastUpdatedBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lastUpdated_); } for (int i = 0; i < serialNumbers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serialNumbers_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getLastUpdatedBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lastUpdated_); } { int dataSize = 0; for (int i = 0; i < serialNumbers_.size(); i++) { dataSize += computeStringSizeNoTag(serialNumbers_.getRaw(i)); } size += dataSize; size += 1 * getSerialNumbersList().size(); } 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.wallet.v1.CardList.Response)) { return super.equals(obj); } io.bloombox.schema.services.wallet.v1.CardList.Response other = (io.bloombox.schema.services.wallet.v1.CardList.Response) obj; if (!getLastUpdated() .equals(other.getLastUpdated())) return false; if (!getSerialNumbersList() .equals(other.getSerialNumbersList())) 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) + LAST_UPDATED_FIELD_NUMBER; hash = (53 * hash) + getLastUpdated().hashCode(); if (getSerialNumbersCount() > 0) { hash = (37 * hash) + SERIAL_NUMBERS_FIELD_NUMBER; hash = (53 * hash) + getSerialNumbersList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.wallet.v1.CardList.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.Response 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.wallet.v1.CardList.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.Response 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.wallet.v1.CardList.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.wallet.v1.CardList.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.Response 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.wallet.v1.CardList.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.Response 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.wallet.v1.CardList.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.Response 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.wallet.v1.CardList.Response 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; } /** *
     * Response to a request to list cards for a given user.
     * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.wallet.v1.CardList.Response) io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.Response.class, io.bloombox.schema.services.wallet.v1.CardList.Response.Builder.class); } // Construct using io.bloombox.schema.services.wallet.v1.CardList.Response.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(); lastUpdated_ = ""; serialNumbers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Response_descriptor; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Response getDefaultInstanceForType() { return io.bloombox.schema.services.wallet.v1.CardList.Response.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Response build() { io.bloombox.schema.services.wallet.v1.CardList.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Response buildPartial() { io.bloombox.schema.services.wallet.v1.CardList.Response result = new io.bloombox.schema.services.wallet.v1.CardList.Response(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.lastUpdated_ = lastUpdated_; if (((bitField0_ & 0x00000002) != 0)) { serialNumbers_ = serialNumbers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.serialNumbers_ = serialNumbers_; result.bitField0_ = to_bitField0_; 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.wallet.v1.CardList.Response) { return mergeFrom((io.bloombox.schema.services.wallet.v1.CardList.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.wallet.v1.CardList.Response other) { if (other == io.bloombox.schema.services.wallet.v1.CardList.Response.getDefaultInstance()) return this; if (!other.getLastUpdated().isEmpty()) { lastUpdated_ = other.lastUpdated_; onChanged(); } if (!other.serialNumbers_.isEmpty()) { if (serialNumbers_.isEmpty()) { serialNumbers_ = other.serialNumbers_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSerialNumbersIsMutable(); serialNumbers_.addAll(other.serialNumbers_); } 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.wallet.v1.CardList.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.wallet.v1.CardList.Response) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object lastUpdated_ = ""; /** *
       * Last-updated-tag for this response. Determined by the server.
       * 
* * string last_updated = 1; */ public java.lang.String getLastUpdated() { java.lang.Object ref = lastUpdated_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastUpdated_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Last-updated-tag for this response. Determined by the server.
       * 
* * string last_updated = 1; */ public com.google.protobuf.ByteString getLastUpdatedBytes() { java.lang.Object ref = lastUpdated_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lastUpdated_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Last-updated-tag for this response. Determined by the server.
       * 
* * string last_updated = 1; */ public Builder setLastUpdated( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lastUpdated_ = value; onChanged(); return this; } /** *
       * Last-updated-tag for this response. Determined by the server.
       * 
* * string last_updated = 1; */ public Builder clearLastUpdated() { lastUpdated_ = getDefaultInstance().getLastUpdated(); onChanged(); return this; } /** *
       * Last-updated-tag for this response. Determined by the server.
       * 
* * string last_updated = 1; */ public Builder setLastUpdatedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lastUpdated_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList serialNumbers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSerialNumbersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { serialNumbers_ = new com.google.protobuf.LazyStringArrayList(serialNumbers_); bitField0_ |= 0x00000002; } } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public com.google.protobuf.ProtocolStringList getSerialNumbersList() { return serialNumbers_.getUnmodifiableView(); } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public int getSerialNumbersCount() { return serialNumbers_.size(); } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public java.lang.String getSerialNumbers(int index) { return serialNumbers_.get(index); } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public com.google.protobuf.ByteString getSerialNumbersBytes(int index) { return serialNumbers_.getByteString(index); } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public Builder setSerialNumbers( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSerialNumbersIsMutable(); serialNumbers_.set(index, value); onChanged(); return this; } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public Builder addSerialNumbers( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSerialNumbersIsMutable(); serialNumbers_.add(value); onChanged(); return this; } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public Builder addAllSerialNumbers( java.lang.Iterable values) { ensureSerialNumbersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, serialNumbers_); onChanged(); return this; } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public Builder clearSerialNumbers() { serialNumbers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Serial numbers owned by the specified device library.
       * 
* * repeated string serial_numbers = 2; */ public Builder addSerialNumbersBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSerialNumbersIsMutable(); serialNumbers_.add(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.wallet.v1.CardList.Response) } // @@protoc_insertion_point(class_scope:bloombox.services.wallet.v1.CardList.Response) private static final io.bloombox.schema.services.wallet.v1.CardList.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.wallet.v1.CardList.Response(); } public static io.bloombox.schema.services.wallet.v1.CardList.Response getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Response(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.wallet.v1.CardList.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OperationOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.wallet.v1.CardList.Operation) com.google.protobuf.MessageOrBuilder { /** *
     * Request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ boolean hasRequest(); /** *
     * Request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ io.bloombox.schema.services.wallet.v1.CardList.Request getRequest(); /** *
     * Request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder getRequestOrBuilder(); /** *
     * Response to a request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ boolean hasResponse(); /** *
     * Response to a request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ io.bloombox.schema.services.wallet.v1.CardList.Response getResponse(); /** *
     * Response to a request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder getResponseOrBuilder(); } /** *
   * Operation to list cards for a given user.
   * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList.Operation} */ public static final class Operation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.wallet.v1.CardList.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.wallet.v1.CardList.Request.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage(io.bloombox.schema.services.wallet.v1.CardList.Request.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); } break; } case 18: { io.bloombox.schema.services.wallet.v1.CardList.Response.Builder subBuilder = null; if (response_ != null) { subBuilder = response_.toBuilder(); } response_ = input.readMessage(io.bloombox.schema.services.wallet.v1.CardList.Response.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.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Operation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Operation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.Operation.class, io.bloombox.schema.services.wallet.v1.CardList.Operation.Builder.class); } public static final int REQUEST_FIELD_NUMBER = 1; private io.bloombox.schema.services.wallet.v1.CardList.Request request_; /** *
     * Request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public boolean hasRequest() { return request_ != null; } /** *
     * Request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public io.bloombox.schema.services.wallet.v1.CardList.Request getRequest() { return request_ == null ? io.bloombox.schema.services.wallet.v1.CardList.Request.getDefaultInstance() : request_; } /** *
     * Request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder getRequestOrBuilder() { return getRequest(); } public static final int RESPONSE_FIELD_NUMBER = 2; private io.bloombox.schema.services.wallet.v1.CardList.Response response_; /** *
     * Response to a request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public boolean hasResponse() { return response_ != null; } /** *
     * Response to a request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public io.bloombox.schema.services.wallet.v1.CardList.Response getResponse() { return response_ == null ? io.bloombox.schema.services.wallet.v1.CardList.Response.getDefaultInstance() : response_; } /** *
     * Response to a request to list cards for a given user.
     * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder 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.wallet.v1.CardList.Operation)) { return super.equals(obj); } io.bloombox.schema.services.wallet.v1.CardList.Operation other = (io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.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.wallet.v1.CardList.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.wallet.v1.CardList.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; } /** *
     * Operation to list cards for a given user.
     * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList.Operation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.wallet.v1.CardList.Operation) io.bloombox.schema.services.wallet.v1.CardList.OperationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Operation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Operation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.Operation.class, io.bloombox.schema.services.wallet.v1.CardList.Operation.Builder.class); } // Construct using io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_Operation_descriptor; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Operation getDefaultInstanceForType() { return io.bloombox.schema.services.wallet.v1.CardList.Operation.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Operation build() { io.bloombox.schema.services.wallet.v1.CardList.Operation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList.Operation buildPartial() { io.bloombox.schema.services.wallet.v1.CardList.Operation result = new io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation) { return mergeFrom((io.bloombox.schema.services.wallet.v1.CardList.Operation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.wallet.v1.CardList.Operation other) { if (other == io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.Operation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.wallet.v1.CardList.Operation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.bloombox.schema.services.wallet.v1.CardList.Request request_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.wallet.v1.CardList.Request, io.bloombox.schema.services.wallet.v1.CardList.Request.Builder, io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder> requestBuilder_; /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public io.bloombox.schema.services.wallet.v1.CardList.Request getRequest() { if (requestBuilder_ == null) { return request_ == null ? io.bloombox.schema.services.wallet.v1.CardList.Request.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public Builder setRequest(io.bloombox.schema.services.wallet.v1.CardList.Request value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestBuilder_.setMessage(value); } return this; } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public Builder setRequest( io.bloombox.schema.services.wallet.v1.CardList.Request.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public Builder mergeRequest(io.bloombox.schema.services.wallet.v1.CardList.Request value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = io.bloombox.schema.services.wallet.v1.CardList.Request.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { requestBuilder_.mergeFrom(value); } return this; } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public Builder clearRequest() { if (requestBuilder_ == null) { request_ = null; onChanged(); } else { request_ = null; requestBuilder_ = null; } return this; } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public io.bloombox.schema.services.wallet.v1.CardList.Request.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ public io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null ? io.bloombox.schema.services.wallet.v1.CardList.Request.getDefaultInstance() : request_; } } /** *
       * Request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Request request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.wallet.v1.CardList.Request, io.bloombox.schema.services.wallet.v1.CardList.Request.Builder, io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.wallet.v1.CardList.Request, io.bloombox.schema.services.wallet.v1.CardList.Request.Builder, io.bloombox.schema.services.wallet.v1.CardList.RequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private io.bloombox.schema.services.wallet.v1.CardList.Response response_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.wallet.v1.CardList.Response, io.bloombox.schema.services.wallet.v1.CardList.Response.Builder, io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder> responseBuilder_; /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public boolean hasResponse() { return responseBuilder_ != null || response_ != null; } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public io.bloombox.schema.services.wallet.v1.CardList.Response getResponse() { if (responseBuilder_ == null) { return response_ == null ? io.bloombox.schema.services.wallet.v1.CardList.Response.getDefaultInstance() : response_; } else { return responseBuilder_.getMessage(); } } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public Builder setResponse(io.bloombox.schema.services.wallet.v1.CardList.Response value) { if (responseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } response_ = value; onChanged(); } else { responseBuilder_.setMessage(value); } return this; } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public Builder setResponse( io.bloombox.schema.services.wallet.v1.CardList.Response.Builder builderForValue) { if (responseBuilder_ == null) { response_ = builderForValue.build(); onChanged(); } else { responseBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public Builder mergeResponse(io.bloombox.schema.services.wallet.v1.CardList.Response value) { if (responseBuilder_ == null) { if (response_ != null) { response_ = io.bloombox.schema.services.wallet.v1.CardList.Response.newBuilder(response_).mergeFrom(value).buildPartial(); } else { response_ = value; } onChanged(); } else { responseBuilder_.mergeFrom(value); } return this; } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public Builder clearResponse() { if (responseBuilder_ == null) { response_ = null; onChanged(); } else { response_ = null; responseBuilder_ = null; } return this; } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public io.bloombox.schema.services.wallet.v1.CardList.Response.Builder getResponseBuilder() { onChanged(); return getResponseFieldBuilder().getBuilder(); } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ public io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder getResponseOrBuilder() { if (responseBuilder_ != null) { return responseBuilder_.getMessageOrBuilder(); } else { return response_ == null ? io.bloombox.schema.services.wallet.v1.CardList.Response.getDefaultInstance() : response_; } } /** *
       * Response to a request to list cards for a given user.
       * 
* * .bloombox.services.wallet.v1.CardList.Response response = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.wallet.v1.CardList.Response, io.bloombox.schema.services.wallet.v1.CardList.Response.Builder, io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder> getResponseFieldBuilder() { if (responseBuilder_ == null) { responseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.wallet.v1.CardList.Response, io.bloombox.schema.services.wallet.v1.CardList.Response.Builder, io.bloombox.schema.services.wallet.v1.CardList.ResponseOrBuilder>( 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.wallet.v1.CardList.Operation) } // @@protoc_insertion_point(class_scope:bloombox.services.wallet.v1.CardList.Operation) private static final io.bloombox.schema.services.wallet.v1.CardList.Operation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.wallet.v1.CardList.Operation(); } public static io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList.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.wallet.v1.CardList)) { return super.equals(obj); } io.bloombox.schema.services.wallet.v1.CardList other = (io.bloombox.schema.services.wallet.v1.CardList) 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.wallet.v1.CardList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList 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.wallet.v1.CardList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList 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.wallet.v1.CardList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.wallet.v1.CardList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.wallet.v1.CardList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList 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.wallet.v1.CardList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList 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.wallet.v1.CardList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.wallet.v1.CardList 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.wallet.v1.CardList 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 list cards for a given user, from their own perspective, optionally filtering by partner/location key.
   * 
* * Protobuf type {@code bloombox.services.wallet.v1.CardList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.wallet.v1.CardList) io.bloombox.schema.services.wallet.v1.CardListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.wallet.v1.CardList.class, io.bloombox.schema.services.wallet.v1.CardList.Builder.class); } // Construct using io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.WalletServiceV1.internal_static_bloombox_services_wallet_v1_CardList_descriptor; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList getDefaultInstanceForType() { return io.bloombox.schema.services.wallet.v1.CardList.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList build() { io.bloombox.schema.services.wallet.v1.CardList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.wallet.v1.CardList buildPartial() { io.bloombox.schema.services.wallet.v1.CardList result = new io.bloombox.schema.services.wallet.v1.CardList(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.wallet.v1.CardList) { return mergeFrom((io.bloombox.schema.services.wallet.v1.CardList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.wallet.v1.CardList other) { if (other == io.bloombox.schema.services.wallet.v1.CardList.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.wallet.v1.CardList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.wallet.v1.CardList) 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.wallet.v1.CardList) } // @@protoc_insertion_point(class_scope:bloombox.services.wallet.v1.CardList) private static final io.bloombox.schema.services.wallet.v1.CardList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.wallet.v1.CardList(); } public static io.bloombox.schema.services.wallet.v1.CardList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CardList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CardList(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.wallet.v1.CardList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy