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

io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass 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: partner/integrations/MailchimpSettings.proto

package io.bloombox.schema.partner.integrations.mailchimp;

public final class MailchimpSettingsOuterClass {
  private MailchimpSettingsOuterClass() {}
  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 MailchimpIntegrationFeaturesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Route user signups to MailChimp.
     * 
* * bool signups = 1; */ boolean getSignups(); /** *
     * Apply segments in MailChimp according to user preferences.
     * 
* * bool segments = 2; */ boolean getSegments(); /** *
     * Use MailChimp for ordering comms.
     * 
* * bool ordering = 3; */ boolean getOrdering(); } /** *
   * Specifies MailChimp integration features to enable or disable.
   * 
* * Protobuf type {@code bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures} */ public static final class MailchimpIntegrationFeatures extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures) MailchimpIntegrationFeaturesOrBuilder { private static final long serialVersionUID = 0L; // Use MailchimpIntegrationFeatures.newBuilder() to construct. private MailchimpIntegrationFeatures(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MailchimpIntegrationFeatures() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MailchimpIntegrationFeatures( 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 8: { signups_ = input.readBool(); break; } case 16: { segments_ = input.readBool(); break; } case 24: { ordering_ = input.readBool(); 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.class, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder.class); } public static final int SIGNUPS_FIELD_NUMBER = 1; private boolean signups_; /** *
     * Route user signups to MailChimp.
     * 
* * bool signups = 1; */ public boolean getSignups() { return signups_; } public static final int SEGMENTS_FIELD_NUMBER = 2; private boolean segments_; /** *
     * Apply segments in MailChimp according to user preferences.
     * 
* * bool segments = 2; */ public boolean getSegments() { return segments_; } public static final int ORDERING_FIELD_NUMBER = 3; private boolean ordering_; /** *
     * Use MailChimp for ordering comms.
     * 
* * bool ordering = 3; */ public boolean getOrdering() { return ordering_; } 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 (signups_ != false) { output.writeBool(1, signups_); } if (segments_ != false) { output.writeBool(2, segments_); } if (ordering_ != false) { output.writeBool(3, ordering_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (signups_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, signups_); } if (segments_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, segments_); } if (ordering_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, ordering_); } 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures)) { return super.equals(obj); } io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures other = (io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures) obj; if (getSignups() != other.getSignups()) return false; if (getSegments() != other.getSegments()) return false; if (getOrdering() != other.getOrdering()) 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) + SIGNUPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSignups()); hash = (37 * hash) + SEGMENTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSegments()); hash = (37 * hash) + ORDERING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOrdering()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures 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 MailChimp integration features to enable or disable.
     * 
* * Protobuf type {@code bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures) io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.class, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder.class); } // Construct using io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.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(); signups_ = false; segments_ = false; ordering_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_descriptor; } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures getDefaultInstanceForType() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures build() { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures buildPartial() { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures result = new io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures(this); result.signups_ = signups_; result.segments_ = segments_; result.ordering_ = ordering_; 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures) { return mergeFrom((io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures other) { if (other == io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.getDefaultInstance()) return this; if (other.getSignups() != false) { setSignups(other.getSignups()); } if (other.getSegments() != false) { setSegments(other.getSegments()); } if (other.getOrdering() != false) { setOrdering(other.getOrdering()); } 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean signups_ ; /** *
       * Route user signups to MailChimp.
       * 
* * bool signups = 1; */ public boolean getSignups() { return signups_; } /** *
       * Route user signups to MailChimp.
       * 
* * bool signups = 1; */ public Builder setSignups(boolean value) { signups_ = value; onChanged(); return this; } /** *
       * Route user signups to MailChimp.
       * 
* * bool signups = 1; */ public Builder clearSignups() { signups_ = false; onChanged(); return this; } private boolean segments_ ; /** *
       * Apply segments in MailChimp according to user preferences.
       * 
* * bool segments = 2; */ public boolean getSegments() { return segments_; } /** *
       * Apply segments in MailChimp according to user preferences.
       * 
* * bool segments = 2; */ public Builder setSegments(boolean value) { segments_ = value; onChanged(); return this; } /** *
       * Apply segments in MailChimp according to user preferences.
       * 
* * bool segments = 2; */ public Builder clearSegments() { segments_ = false; onChanged(); return this; } private boolean ordering_ ; /** *
       * Use MailChimp for ordering comms.
       * 
* * bool ordering = 3; */ public boolean getOrdering() { return ordering_; } /** *
       * Use MailChimp for ordering comms.
       * 
* * bool ordering = 3; */ public Builder setOrdering(boolean value) { ordering_ = value; onChanged(); return this; } /** *
       * Use MailChimp for ordering comms.
       * 
* * bool ordering = 3; */ public Builder clearOrdering() { ordering_ = false; 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.partner.integrations.mailchimp.MailchimpIntegrationFeatures) } // @@protoc_insertion_point(class_scope:bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures) private static final io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures(); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MailchimpIntegrationFeatures parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MailchimpIntegrationFeatures(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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MailchimpListsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.mailchimp.MailchimpLists) com.google.protobuf.MessageOrBuilder { /** *
     * Main comms list to use for user notifications.
     * 
* * string comms = 1; */ java.lang.String getComms(); /** *
     * Main comms list to use for user notifications.
     * 
* * string comms = 1; */ com.google.protobuf.ByteString getCommsBytes(); /** *
     * List to use for opt-in, marketing-related comms.
     * 
* * string marketing = 2; */ java.lang.String getMarketing(); /** *
     * List to use for opt-in, marketing-related comms.
     * 
* * string marketing = 2; */ com.google.protobuf.ByteString getMarketingBytes(); } /** *
   * MailChimp list mappings to use for signup integration.
   * 
* * Protobuf type {@code bloombox.partner.integrations.mailchimp.MailchimpLists} */ public static final class MailchimpLists extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.integrations.mailchimp.MailchimpLists) MailchimpListsOrBuilder { private static final long serialVersionUID = 0L; // Use MailchimpLists.newBuilder() to construct. private MailchimpLists(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MailchimpLists() { comms_ = ""; marketing_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MailchimpLists( 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(); comms_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); marketing_ = 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.class, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder.class); } public static final int COMMS_FIELD_NUMBER = 1; private volatile java.lang.Object comms_; /** *
     * Main comms list to use for user notifications.
     * 
* * string comms = 1; */ public java.lang.String getComms() { java.lang.Object ref = comms_; 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(); comms_ = s; return s; } } /** *
     * Main comms list to use for user notifications.
     * 
* * string comms = 1; */ public com.google.protobuf.ByteString getCommsBytes() { java.lang.Object ref = comms_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comms_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MARKETING_FIELD_NUMBER = 2; private volatile java.lang.Object marketing_; /** *
     * List to use for opt-in, marketing-related comms.
     * 
* * string marketing = 2; */ public java.lang.String getMarketing() { java.lang.Object ref = marketing_; 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(); marketing_ = s; return s; } } /** *
     * List to use for opt-in, marketing-related comms.
     * 
* * string marketing = 2; */ public com.google.protobuf.ByteString getMarketingBytes() { java.lang.Object ref = marketing_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); marketing_ = 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 (!getCommsBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, comms_); } if (!getMarketingBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, marketing_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getCommsBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, comms_); } if (!getMarketingBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, marketing_); } 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists)) { return super.equals(obj); } io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists other = (io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists) obj; if (!getComms() .equals(other.getComms())) return false; if (!getMarketing() .equals(other.getMarketing())) 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) + COMMS_FIELD_NUMBER; hash = (53 * hash) + getComms().hashCode(); hash = (37 * hash) + MARKETING_FIELD_NUMBER; hash = (53 * hash) + getMarketing().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists 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; } /** *
     * MailChimp list mappings to use for signup integration.
     * 
* * Protobuf type {@code bloombox.partner.integrations.mailchimp.MailchimpLists} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.mailchimp.MailchimpLists) io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.class, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder.class); } // Construct using io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.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(); comms_ = ""; marketing_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_descriptor; } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists getDefaultInstanceForType() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists build() { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists buildPartial() { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists result = new io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists(this); result.comms_ = comms_; result.marketing_ = marketing_; 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists) { return mergeFrom((io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists other) { if (other == io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.getDefaultInstance()) return this; if (!other.getComms().isEmpty()) { comms_ = other.comms_; onChanged(); } if (!other.getMarketing().isEmpty()) { marketing_ = other.marketing_; 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object comms_ = ""; /** *
       * Main comms list to use for user notifications.
       * 
* * string comms = 1; */ public java.lang.String getComms() { java.lang.Object ref = comms_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comms_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Main comms list to use for user notifications.
       * 
* * string comms = 1; */ public com.google.protobuf.ByteString getCommsBytes() { java.lang.Object ref = comms_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comms_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Main comms list to use for user notifications.
       * 
* * string comms = 1; */ public Builder setComms( java.lang.String value) { if (value == null) { throw new NullPointerException(); } comms_ = value; onChanged(); return this; } /** *
       * Main comms list to use for user notifications.
       * 
* * string comms = 1; */ public Builder clearComms() { comms_ = getDefaultInstance().getComms(); onChanged(); return this; } /** *
       * Main comms list to use for user notifications.
       * 
* * string comms = 1; */ public Builder setCommsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); comms_ = value; onChanged(); return this; } private java.lang.Object marketing_ = ""; /** *
       * List to use for opt-in, marketing-related comms.
       * 
* * string marketing = 2; */ public java.lang.String getMarketing() { java.lang.Object ref = marketing_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); marketing_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * List to use for opt-in, marketing-related comms.
       * 
* * string marketing = 2; */ public com.google.protobuf.ByteString getMarketingBytes() { java.lang.Object ref = marketing_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); marketing_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * List to use for opt-in, marketing-related comms.
       * 
* * string marketing = 2; */ public Builder setMarketing( java.lang.String value) { if (value == null) { throw new NullPointerException(); } marketing_ = value; onChanged(); return this; } /** *
       * List to use for opt-in, marketing-related comms.
       * 
* * string marketing = 2; */ public Builder clearMarketing() { marketing_ = getDefaultInstance().getMarketing(); onChanged(); return this; } /** *
       * List to use for opt-in, marketing-related comms.
       * 
* * string marketing = 2; */ public Builder setMarketingBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); marketing_ = 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.partner.integrations.mailchimp.MailchimpLists) } // @@protoc_insertion_point(class_scope:bloombox.partner.integrations.mailchimp.MailchimpLists) private static final io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists(); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MailchimpLists parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MailchimpLists(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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MailchimpSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.mailchimp.MailchimpSettings) com.google.protobuf.MessageOrBuilder { /** *
     * API key for use with MailChimp.
     * 
* * string api_key = 1; */ java.lang.String getApiKey(); /** *
     * API key for use with MailChimp.
     * 
* * string api_key = 1; */ com.google.protobuf.ByteString getApiKeyBytes(); /** *
     * Flags indicating features that should be enabled or disabled.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ boolean hasFeatures(); /** *
     * Flags indicating features that should be enabled or disabled.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures getFeatures(); /** *
     * Flags indicating features that should be enabled or disabled.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder getFeaturesOrBuilder(); /** *
     * Lists to use for various bindings in MailChimp.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ boolean hasLists(); /** *
     * Lists to use for various bindings in MailChimp.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists getLists(); /** *
     * Lists to use for various bindings in MailChimp.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder getListsOrBuilder(); } /** *
   * Specifies MailChimp integration settings.
   * 
* * Protobuf type {@code bloombox.partner.integrations.mailchimp.MailchimpSettings} */ public static final class MailchimpSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.integrations.mailchimp.MailchimpSettings) MailchimpSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use MailchimpSettings.newBuilder() to construct. private MailchimpSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MailchimpSettings() { apiKey_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MailchimpSettings( 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(); apiKey_ = s; break; } case 82: { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder subBuilder = null; if (features_ != null) { subBuilder = features_.toBuilder(); } features_ = input.readMessage(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(features_); features_ = subBuilder.buildPartial(); } break; } case 90: { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder subBuilder = null; if (lists_ != null) { subBuilder = lists_.toBuilder(); } lists_ = input.readMessage(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lists_); lists_ = 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.class, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.Builder.class); } public static final int API_KEY_FIELD_NUMBER = 1; private volatile java.lang.Object apiKey_; /** *
     * API key for use with MailChimp.
     * 
* * string api_key = 1; */ public java.lang.String getApiKey() { java.lang.Object ref = apiKey_; 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(); apiKey_ = s; return s; } } /** *
     * API key for use with MailChimp.
     * 
* * string api_key = 1; */ public com.google.protobuf.ByteString getApiKeyBytes() { java.lang.Object ref = apiKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FEATURES_FIELD_NUMBER = 10; private io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures features_; /** *
     * Flags indicating features that should be enabled or disabled.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public boolean hasFeatures() { return features_ != null; } /** *
     * Flags indicating features that should be enabled or disabled.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures getFeatures() { return features_ == null ? io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.getDefaultInstance() : features_; } /** *
     * Flags indicating features that should be enabled or disabled.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder getFeaturesOrBuilder() { return getFeatures(); } public static final int LISTS_FIELD_NUMBER = 11; private io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists lists_; /** *
     * Lists to use for various bindings in MailChimp.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public boolean hasLists() { return lists_ != null; } /** *
     * Lists to use for various bindings in MailChimp.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists getLists() { return lists_ == null ? io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.getDefaultInstance() : lists_; } /** *
     * Lists to use for various bindings in MailChimp.
     * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder getListsOrBuilder() { return getLists(); } 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 (!getApiKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiKey_); } if (features_ != null) { output.writeMessage(10, getFeatures()); } if (lists_ != null) { output.writeMessage(11, getLists()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getApiKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apiKey_); } if (features_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getFeatures()); } if (lists_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getLists()); } 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings)) { return super.equals(obj); } io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings other = (io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings) obj; if (!getApiKey() .equals(other.getApiKey())) return false; if (hasFeatures() != other.hasFeatures()) return false; if (hasFeatures()) { if (!getFeatures() .equals(other.getFeatures())) return false; } if (hasLists() != other.hasLists()) return false; if (hasLists()) { if (!getLists() .equals(other.getLists())) 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) + API_KEY_FIELD_NUMBER; hash = (53 * hash) + getApiKey().hashCode(); if (hasFeatures()) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeatures().hashCode(); } if (hasLists()) { hash = (37 * hash) + LISTS_FIELD_NUMBER; hash = (53 * hash) + getLists().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings 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 MailChimp integration settings.
     * 
* * Protobuf type {@code bloombox.partner.integrations.mailchimp.MailchimpSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.mailchimp.MailchimpSettings) io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.class, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.Builder.class); } // Construct using io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.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(); apiKey_ = ""; if (featuresBuilder_ == null) { features_ = null; } else { features_ = null; featuresBuilder_ = null; } if (listsBuilder_ == null) { lists_ = null; } else { lists_ = null; listsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_descriptor; } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings getDefaultInstanceForType() { return io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings build() { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings buildPartial() { io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings result = new io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings(this); result.apiKey_ = apiKey_; if (featuresBuilder_ == null) { result.features_ = features_; } else { result.features_ = featuresBuilder_.build(); } if (listsBuilder_ == null) { result.lists_ = lists_; } else { result.lists_ = listsBuilder_.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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings) { return mergeFrom((io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings other) { if (other == io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings.getDefaultInstance()) return this; if (!other.getApiKey().isEmpty()) { apiKey_ = other.apiKey_; onChanged(); } if (other.hasFeatures()) { mergeFeatures(other.getFeatures()); } if (other.hasLists()) { mergeLists(other.getLists()); } 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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object apiKey_ = ""; /** *
       * API key for use with MailChimp.
       * 
* * string api_key = 1; */ public java.lang.String getApiKey() { java.lang.Object ref = apiKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiKey_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * API key for use with MailChimp.
       * 
* * string api_key = 1; */ public com.google.protobuf.ByteString getApiKeyBytes() { java.lang.Object ref = apiKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * API key for use with MailChimp.
       * 
* * string api_key = 1; */ public Builder setApiKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } apiKey_ = value; onChanged(); return this; } /** *
       * API key for use with MailChimp.
       * 
* * string api_key = 1; */ public Builder clearApiKey() { apiKey_ = getDefaultInstance().getApiKey(); onChanged(); return this; } /** *
       * API key for use with MailChimp.
       * 
* * string api_key = 1; */ public Builder setApiKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); apiKey_ = value; onChanged(); return this; } private io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures features_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder> featuresBuilder_; /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public boolean hasFeatures() { return featuresBuilder_ != null || features_ != null; } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures getFeatures() { if (featuresBuilder_ == null) { return features_ == null ? io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.getDefaultInstance() : features_; } else { return featuresBuilder_.getMessage(); } } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public Builder setFeatures(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } features_ = value; onChanged(); } else { featuresBuilder_.setMessage(value); } return this; } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public Builder setFeatures( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder builderForValue) { if (featuresBuilder_ == null) { features_ = builderForValue.build(); onChanged(); } else { featuresBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public Builder mergeFeatures(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures value) { if (featuresBuilder_ == null) { if (features_ != null) { features_ = io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.newBuilder(features_).mergeFrom(value).buildPartial(); } else { features_ = value; } onChanged(); } else { featuresBuilder_.mergeFrom(value); } return this; } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public Builder clearFeatures() { if (featuresBuilder_ == null) { features_ = null; onChanged(); } else { features_ = null; featuresBuilder_ = null; } return this; } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder getFeaturesBuilder() { onChanged(); return getFeaturesFieldBuilder().getBuilder(); } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder getFeaturesOrBuilder() { if (featuresBuilder_ != null) { return featuresBuilder_.getMessageOrBuilder(); } else { return features_ == null ? io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.getDefaultInstance() : features_; } } /** *
       * Flags indicating features that should be enabled or disabled.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpIntegrationFeatures features = 10; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder> getFeaturesFieldBuilder() { if (featuresBuilder_ == null) { featuresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpIntegrationFeaturesOrBuilder>( getFeatures(), getParentForChildren(), isClean()); features_ = null; } return featuresBuilder_; } private io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists lists_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder> listsBuilder_; /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public boolean hasLists() { return listsBuilder_ != null || lists_ != null; } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists getLists() { if (listsBuilder_ == null) { return lists_ == null ? io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.getDefaultInstance() : lists_; } else { return listsBuilder_.getMessage(); } } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public Builder setLists(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lists_ = value; onChanged(); } else { listsBuilder_.setMessage(value); } return this; } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public Builder setLists( io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder builderForValue) { if (listsBuilder_ == null) { lists_ = builderForValue.build(); onChanged(); } else { listsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public Builder mergeLists(io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists value) { if (listsBuilder_ == null) { if (lists_ != null) { lists_ = io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.newBuilder(lists_).mergeFrom(value).buildPartial(); } else { lists_ = value; } onChanged(); } else { listsBuilder_.mergeFrom(value); } return this; } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public Builder clearLists() { if (listsBuilder_ == null) { lists_ = null; onChanged(); } else { lists_ = null; listsBuilder_ = null; } return this; } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder getListsBuilder() { onChanged(); return getListsFieldBuilder().getBuilder(); } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ public io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder getListsOrBuilder() { if (listsBuilder_ != null) { return listsBuilder_.getMessageOrBuilder(); } else { return lists_ == null ? io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.getDefaultInstance() : lists_; } } /** *
       * Lists to use for various bindings in MailChimp.
       * 
* * .bloombox.partner.integrations.mailchimp.MailchimpLists lists = 11; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder> getListsFieldBuilder() { if (listsBuilder_ == null) { listsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpLists.Builder, io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpListsOrBuilder>( getLists(), getParentForChildren(), isClean()); lists_ = null; } return listsBuilder_; } @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.partner.integrations.mailchimp.MailchimpSettings) } // @@protoc_insertion_point(class_scope:bloombox.partner.integrations.mailchimp.MailchimpSettings) private static final io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings(); } public static io.bloombox.schema.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MailchimpSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MailchimpSettings(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.partner.integrations.mailchimp.MailchimpSettingsOuterClass.MailchimpSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_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,partner/integrations/MailchimpSettings" + ".proto\022\'bloombox.partner.integrations.ma" + "ilchimp\"S\n\034MailchimpIntegrationFeatures\022" + "\017\n\007signups\030\001 \001(\010\022\020\n\010segments\030\002 \001(\010\022\020\n\010or" + "dering\030\003 \001(\010\"2\n\016MailchimpLists\022\r\n\005comms\030" + "\001 \001(\t\022\021\n\tmarketing\030\002 \001(\t\"\305\001\n\021MailchimpSe" + "ttings\022\017\n\007api_key\030\001 \001(\t\022W\n\010features\030\n \001(" + "\0132E.bloombox.partner.integrations.mailch" + "imp.MailchimpIntegrationFeatures\022F\n\005list" + "s\030\013 \001(\01327.bloombox.partner.integrations." + "mailchimp.MailchimpListsB=\n1io.bloombox." + "schema.partner.integrations.mailchimpH\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[] { }, assigner); internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_integrations_mailchimp_MailchimpIntegrationFeatures_descriptor, new java.lang.String[] { "Signups", "Segments", "Ordering", }); internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_integrations_mailchimp_MailchimpLists_descriptor, new java.lang.String[] { "Comms", "Marketing", }); internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_integrations_mailchimp_MailchimpSettings_descriptor, new java.lang.String[] { "ApiKey", "Features", "Lists", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy