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

io.bloombox.schema.partner.settings.PartnerSettingsOuterClass 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/settings/PartnerSettings.proto

package io.bloombox.schema.partner.settings;

public final class PartnerSettingsOuterClass {
  private PartnerSettingsOuterClass() {}
  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 PartnerNotificationTargetOrBuilder extends
      // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.PartnerNotificationTarget)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Whether this notification target is currently disabled.
     * 
* * bool disabled = 1; */ boolean getDisabled(); /** *
     * Phone number contact target.
     * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ boolean hasPhone(); /** *
     * Phone number contact target.
     * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ io.opencannabis.schema.contact.ContactPhone.PhoneNumber getPhone(); /** *
     * Phone number contact target.
     * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ io.opencannabis.schema.contact.ContactPhone.PhoneNumberOrBuilder getPhoneOrBuilder(); /** *
     * Email address contact target.
     * 
* * .opencannabis.contact.EmailAddress email = 11; */ boolean hasEmail(); /** *
     * Email address contact target.
     * 
* * .opencannabis.contact.EmailAddress email = 11; */ io.opencannabis.schema.contact.ContactEmail.EmailAddress getEmail(); /** *
     * Email address contact target.
     * 
* * .opencannabis.contact.EmailAddress email = 11; */ io.opencannabis.schema.contact.ContactEmail.EmailAddressOrBuilder getEmailOrBuilder(); public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.ContactCase getContactCase(); } /** *
   * Specifies an individual notification target for alerting.
   * 
* * Protobuf type {@code bloombox.partner.settings.PartnerNotificationTarget} */ public static final class PartnerNotificationTarget extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.PartnerNotificationTarget) PartnerNotificationTargetOrBuilder { private static final long serialVersionUID = 0L; // Use PartnerNotificationTarget.newBuilder() to construct. private PartnerNotificationTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartnerNotificationTarget() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartnerNotificationTarget( 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: { disabled_ = input.readBool(); break; } case 82: { io.opencannabis.schema.contact.ContactPhone.PhoneNumber.Builder subBuilder = null; if (contactCase_ == 10) { subBuilder = ((io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_).toBuilder(); } contact_ = input.readMessage(io.opencannabis.schema.contact.ContactPhone.PhoneNumber.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_); contact_ = subBuilder.buildPartial(); } contactCase_ = 10; break; } case 90: { io.opencannabis.schema.contact.ContactEmail.EmailAddress.Builder subBuilder = null; if (contactCase_ == 11) { subBuilder = ((io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_).toBuilder(); } contact_ = input.readMessage(io.opencannabis.schema.contact.ContactEmail.EmailAddress.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_); contact_ = subBuilder.buildPartial(); } contactCase_ = 11; 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.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerNotificationTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerNotificationTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder.class); } private int contactCase_ = 0; private java.lang.Object contact_; public enum ContactCase implements com.google.protobuf.Internal.EnumLite { PHONE(10), EMAIL(11), CONTACT_NOT_SET(0); private final int value; private ContactCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ContactCase valueOf(int value) { return forNumber(value); } public static ContactCase forNumber(int value) { switch (value) { case 10: return PHONE; case 11: return EMAIL; case 0: return CONTACT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ContactCase getContactCase() { return ContactCase.forNumber( contactCase_); } public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** *
     * Whether this notification target is currently disabled.
     * 
* * bool disabled = 1; */ public boolean getDisabled() { return disabled_; } public static final int PHONE_FIELD_NUMBER = 10; /** *
     * Phone number contact target.
     * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public boolean hasPhone() { return contactCase_ == 10; } /** *
     * Phone number contact target.
     * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public io.opencannabis.schema.contact.ContactPhone.PhoneNumber getPhone() { if (contactCase_ == 10) { return (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_; } return io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance(); } /** *
     * Phone number contact target.
     * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public io.opencannabis.schema.contact.ContactPhone.PhoneNumberOrBuilder getPhoneOrBuilder() { if (contactCase_ == 10) { return (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_; } return io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance(); } public static final int EMAIL_FIELD_NUMBER = 11; /** *
     * Email address contact target.
     * 
* * .opencannabis.contact.EmailAddress email = 11; */ public boolean hasEmail() { return contactCase_ == 11; } /** *
     * Email address contact target.
     * 
* * .opencannabis.contact.EmailAddress email = 11; */ public io.opencannabis.schema.contact.ContactEmail.EmailAddress getEmail() { if (contactCase_ == 11) { return (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_; } return io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance(); } /** *
     * Email address contact target.
     * 
* * .opencannabis.contact.EmailAddress email = 11; */ public io.opencannabis.schema.contact.ContactEmail.EmailAddressOrBuilder getEmailOrBuilder() { if (contactCase_ == 11) { return (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_; } return io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance(); } 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 (disabled_ != false) { output.writeBool(1, disabled_); } if (contactCase_ == 10) { output.writeMessage(10, (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_); } if (contactCase_ == 11) { output.writeMessage(11, (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, disabled_); } if (contactCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_); } if (contactCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_); } 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget) obj; if (getDisabled() != other.getDisabled()) return false; if (!getContactCase().equals(other.getContactCase())) return false; switch (contactCase_) { case 10: if (!getPhone() .equals(other.getPhone())) return false; break; case 11: if (!getEmail() .equals(other.getEmail())) return false; break; case 0: default: } 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) + DISABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDisabled()); switch (contactCase_) { case 10: hash = (37 * hash) + PHONE_FIELD_NUMBER; hash = (53 * hash) + getPhone().hashCode(); break; case 11: hash = (37 * hash) + EMAIL_FIELD_NUMBER; hash = (53 * hash) + getEmail().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Specifies an individual notification target for alerting.
     * 
* * Protobuf type {@code bloombox.partner.settings.PartnerNotificationTarget} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.PartnerNotificationTarget) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerNotificationTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerNotificationTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.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(); disabled_ = false; contactCase_ = 0; contact_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerNotificationTarget_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget(this); result.disabled_ = disabled_; if (contactCase_ == 10) { if (phoneBuilder_ == null) { result.contact_ = contact_; } else { result.contact_ = phoneBuilder_.build(); } } if (contactCase_ == 11) { if (emailBuilder_ == null) { result.contact_ = contact_; } else { result.contact_ = emailBuilder_.build(); } } result.contactCase_ = contactCase_; 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.getDefaultInstance()) return this; if (other.getDisabled() != false) { setDisabled(other.getDisabled()); } switch (other.getContactCase()) { case PHONE: { mergePhone(other.getPhone()); break; } case EMAIL: { mergeEmail(other.getEmail()); break; } case CONTACT_NOT_SET: { break; } } 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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int contactCase_ = 0; private java.lang.Object contact_; public ContactCase getContactCase() { return ContactCase.forNumber( contactCase_); } public Builder clearContact() { contactCase_ = 0; contact_ = null; onChanged(); return this; } private boolean disabled_ ; /** *
       * Whether this notification target is currently disabled.
       * 
* * bool disabled = 1; */ public boolean getDisabled() { return disabled_; } /** *
       * Whether this notification target is currently disabled.
       * 
* * bool disabled = 1; */ public Builder setDisabled(boolean value) { disabled_ = value; onChanged(); return this; } /** *
       * Whether this notification target is currently disabled.
       * 
* * bool disabled = 1; */ public Builder clearDisabled() { disabled_ = false; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.ContactPhone.PhoneNumber, io.opencannabis.schema.contact.ContactPhone.PhoneNumber.Builder, io.opencannabis.schema.contact.ContactPhone.PhoneNumberOrBuilder> phoneBuilder_; /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public boolean hasPhone() { return contactCase_ == 10; } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public io.opencannabis.schema.contact.ContactPhone.PhoneNumber getPhone() { if (phoneBuilder_ == null) { if (contactCase_ == 10) { return (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_; } return io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance(); } else { if (contactCase_ == 10) { return phoneBuilder_.getMessage(); } return io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance(); } } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public Builder setPhone(io.opencannabis.schema.contact.ContactPhone.PhoneNumber value) { if (phoneBuilder_ == null) { if (value == null) { throw new NullPointerException(); } contact_ = value; onChanged(); } else { phoneBuilder_.setMessage(value); } contactCase_ = 10; return this; } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public Builder setPhone( io.opencannabis.schema.contact.ContactPhone.PhoneNumber.Builder builderForValue) { if (phoneBuilder_ == null) { contact_ = builderForValue.build(); onChanged(); } else { phoneBuilder_.setMessage(builderForValue.build()); } contactCase_ = 10; return this; } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public Builder mergePhone(io.opencannabis.schema.contact.ContactPhone.PhoneNumber value) { if (phoneBuilder_ == null) { if (contactCase_ == 10 && contact_ != io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance()) { contact_ = io.opencannabis.schema.contact.ContactPhone.PhoneNumber.newBuilder((io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_) .mergeFrom(value).buildPartial(); } else { contact_ = value; } onChanged(); } else { if (contactCase_ == 10) { phoneBuilder_.mergeFrom(value); } phoneBuilder_.setMessage(value); } contactCase_ = 10; return this; } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public Builder clearPhone() { if (phoneBuilder_ == null) { if (contactCase_ == 10) { contactCase_ = 0; contact_ = null; onChanged(); } } else { if (contactCase_ == 10) { contactCase_ = 0; contact_ = null; } phoneBuilder_.clear(); } return this; } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public io.opencannabis.schema.contact.ContactPhone.PhoneNumber.Builder getPhoneBuilder() { return getPhoneFieldBuilder().getBuilder(); } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ public io.opencannabis.schema.contact.ContactPhone.PhoneNumberOrBuilder getPhoneOrBuilder() { if ((contactCase_ == 10) && (phoneBuilder_ != null)) { return phoneBuilder_.getMessageOrBuilder(); } else { if (contactCase_ == 10) { return (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_; } return io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance(); } } /** *
       * Phone number contact target.
       * 
* * .opencannabis.contact.PhoneNumber phone = 10; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.ContactPhone.PhoneNumber, io.opencannabis.schema.contact.ContactPhone.PhoneNumber.Builder, io.opencannabis.schema.contact.ContactPhone.PhoneNumberOrBuilder> getPhoneFieldBuilder() { if (phoneBuilder_ == null) { if (!(contactCase_ == 10)) { contact_ = io.opencannabis.schema.contact.ContactPhone.PhoneNumber.getDefaultInstance(); } phoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.ContactPhone.PhoneNumber, io.opencannabis.schema.contact.ContactPhone.PhoneNumber.Builder, io.opencannabis.schema.contact.ContactPhone.PhoneNumberOrBuilder>( (io.opencannabis.schema.contact.ContactPhone.PhoneNumber) contact_, getParentForChildren(), isClean()); contact_ = null; } contactCase_ = 10; onChanged();; return phoneBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.ContactEmail.EmailAddress, io.opencannabis.schema.contact.ContactEmail.EmailAddress.Builder, io.opencannabis.schema.contact.ContactEmail.EmailAddressOrBuilder> emailBuilder_; /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public boolean hasEmail() { return contactCase_ == 11; } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public io.opencannabis.schema.contact.ContactEmail.EmailAddress getEmail() { if (emailBuilder_ == null) { if (contactCase_ == 11) { return (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_; } return io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance(); } else { if (contactCase_ == 11) { return emailBuilder_.getMessage(); } return io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance(); } } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public Builder setEmail(io.opencannabis.schema.contact.ContactEmail.EmailAddress value) { if (emailBuilder_ == null) { if (value == null) { throw new NullPointerException(); } contact_ = value; onChanged(); } else { emailBuilder_.setMessage(value); } contactCase_ = 11; return this; } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public Builder setEmail( io.opencannabis.schema.contact.ContactEmail.EmailAddress.Builder builderForValue) { if (emailBuilder_ == null) { contact_ = builderForValue.build(); onChanged(); } else { emailBuilder_.setMessage(builderForValue.build()); } contactCase_ = 11; return this; } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public Builder mergeEmail(io.opencannabis.schema.contact.ContactEmail.EmailAddress value) { if (emailBuilder_ == null) { if (contactCase_ == 11 && contact_ != io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance()) { contact_ = io.opencannabis.schema.contact.ContactEmail.EmailAddress.newBuilder((io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_) .mergeFrom(value).buildPartial(); } else { contact_ = value; } onChanged(); } else { if (contactCase_ == 11) { emailBuilder_.mergeFrom(value); } emailBuilder_.setMessage(value); } contactCase_ = 11; return this; } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public Builder clearEmail() { if (emailBuilder_ == null) { if (contactCase_ == 11) { contactCase_ = 0; contact_ = null; onChanged(); } } else { if (contactCase_ == 11) { contactCase_ = 0; contact_ = null; } emailBuilder_.clear(); } return this; } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public io.opencannabis.schema.contact.ContactEmail.EmailAddress.Builder getEmailBuilder() { return getEmailFieldBuilder().getBuilder(); } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ public io.opencannabis.schema.contact.ContactEmail.EmailAddressOrBuilder getEmailOrBuilder() { if ((contactCase_ == 11) && (emailBuilder_ != null)) { return emailBuilder_.getMessageOrBuilder(); } else { if (contactCase_ == 11) { return (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_; } return io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance(); } } /** *
       * Email address contact target.
       * 
* * .opencannabis.contact.EmailAddress email = 11; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.ContactEmail.EmailAddress, io.opencannabis.schema.contact.ContactEmail.EmailAddress.Builder, io.opencannabis.schema.contact.ContactEmail.EmailAddressOrBuilder> getEmailFieldBuilder() { if (emailBuilder_ == null) { if (!(contactCase_ == 11)) { contact_ = io.opencannabis.schema.contact.ContactEmail.EmailAddress.getDefaultInstance(); } emailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.ContactEmail.EmailAddress, io.opencannabis.schema.contact.ContactEmail.EmailAddress.Builder, io.opencannabis.schema.contact.ContactEmail.EmailAddressOrBuilder>( (io.opencannabis.schema.contact.ContactEmail.EmailAddress) contact_, getParentForChildren(), isClean()); contact_ = null; } contactCase_ = 11; onChanged();; return emailBuilder_; } @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.settings.PartnerNotificationTarget) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.PartnerNotificationTarget) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartnerNotificationTarget parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartnerNotificationTarget(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.settings.PartnerSettingsOuterClass.PartnerNotificationTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartnerEventAlertingSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.PartnerEventAlertingSettings) com.google.protobuf.MessageOrBuilder { /** *
     * Specifies 'promo' notifications.
     * 
* * bool promo = 1; */ boolean getPromo(); /** *
     * Specifies 'security' notifications.
     * 
* * bool security = 2; */ boolean getSecurity(); /** *
     * Specifies 'volume' notifications.
     * 
* * bool volume = 3; */ boolean getVolume(); } /** *
   * Specifies event-level alerting settings.
   * 
* * Protobuf type {@code bloombox.partner.settings.PartnerEventAlertingSettings} */ public static final class PartnerEventAlertingSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.PartnerEventAlertingSettings) PartnerEventAlertingSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use PartnerEventAlertingSettings.newBuilder() to construct. private PartnerEventAlertingSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartnerEventAlertingSettings() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartnerEventAlertingSettings( 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: { promo_ = input.readBool(); break; } case 16: { security_ = input.readBool(); break; } case 24: { volume_ = 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.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder.class); } public static final int PROMO_FIELD_NUMBER = 1; private boolean promo_; /** *
     * Specifies 'promo' notifications.
     * 
* * bool promo = 1; */ public boolean getPromo() { return promo_; } public static final int SECURITY_FIELD_NUMBER = 2; private boolean security_; /** *
     * Specifies 'security' notifications.
     * 
* * bool security = 2; */ public boolean getSecurity() { return security_; } public static final int VOLUME_FIELD_NUMBER = 3; private boolean volume_; /** *
     * Specifies 'volume' notifications.
     * 
* * bool volume = 3; */ public boolean getVolume() { return volume_; } 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 (promo_ != false) { output.writeBool(1, promo_); } if (security_ != false) { output.writeBool(2, security_); } if (volume_ != false) { output.writeBool(3, volume_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (promo_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, promo_); } if (security_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, security_); } if (volume_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, volume_); } 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings) obj; if (getPromo() != other.getPromo()) return false; if (getSecurity() != other.getSecurity()) return false; if (getVolume() != other.getVolume()) 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) + PROMO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPromo()); hash = (37 * hash) + SECURITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSecurity()); hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVolume()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings 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 event-level alerting settings.
     * 
* * Protobuf type {@code bloombox.partner.settings.PartnerEventAlertingSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.PartnerEventAlertingSettings) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.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(); promo_ = false; security_ = false; volume_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings(this); result.promo_ = promo_; result.security_ = security_; result.volume_ = volume_; 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.getDefaultInstance()) return this; if (other.getPromo() != false) { setPromo(other.getPromo()); } if (other.getSecurity() != false) { setSecurity(other.getSecurity()); } if (other.getVolume() != false) { setVolume(other.getVolume()); } 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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean promo_ ; /** *
       * Specifies 'promo' notifications.
       * 
* * bool promo = 1; */ public boolean getPromo() { return promo_; } /** *
       * Specifies 'promo' notifications.
       * 
* * bool promo = 1; */ public Builder setPromo(boolean value) { promo_ = value; onChanged(); return this; } /** *
       * Specifies 'promo' notifications.
       * 
* * bool promo = 1; */ public Builder clearPromo() { promo_ = false; onChanged(); return this; } private boolean security_ ; /** *
       * Specifies 'security' notifications.
       * 
* * bool security = 2; */ public boolean getSecurity() { return security_; } /** *
       * Specifies 'security' notifications.
       * 
* * bool security = 2; */ public Builder setSecurity(boolean value) { security_ = value; onChanged(); return this; } /** *
       * Specifies 'security' notifications.
       * 
* * bool security = 2; */ public Builder clearSecurity() { security_ = false; onChanged(); return this; } private boolean volume_ ; /** *
       * Specifies 'volume' notifications.
       * 
* * bool volume = 3; */ public boolean getVolume() { return volume_; } /** *
       * Specifies 'volume' notifications.
       * 
* * bool volume = 3; */ public Builder setVolume(boolean value) { volume_ = value; onChanged(); return this; } /** *
       * Specifies 'volume' notifications.
       * 
* * bool volume = 3; */ public Builder clearVolume() { volume_ = 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.settings.PartnerEventAlertingSettings) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.PartnerEventAlertingSettings) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartnerEventAlertingSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartnerEventAlertingSettings(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.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartnerAlertSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.PartnerAlertSettings) com.google.protobuf.MessageOrBuilder { /** *
     * Specify event-level alerting settings.
     * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ boolean hasEvents(); /** *
     * Specify event-level alerting settings.
     * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings getEvents(); /** *
     * Specify event-level alerting settings.
     * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder getEventsOrBuilder(); /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ java.util.List getRecipientsList(); /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget getRecipients(int index); /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ int getRecipientsCount(); /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ java.util.List getRecipientsOrBuilderList(); /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder getRecipientsOrBuilder( int index); } /** *
   * Alerting and notification settings.
   * 
* * Protobuf type {@code bloombox.partner.settings.PartnerAlertSettings} */ public static final class PartnerAlertSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.PartnerAlertSettings) PartnerAlertSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use PartnerAlertSettings.newBuilder() to construct. private PartnerAlertSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartnerAlertSettings() { recipients_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartnerAlertSettings( 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.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder subBuilder = null; if (events_ != null) { subBuilder = events_.toBuilder(); } events_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(events_); events_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { recipients_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } recipients_.add( input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.parser(), extensionRegistry)); 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)) { recipients_ = java.util.Collections.unmodifiableList(recipients_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerAlertSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerAlertSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder.class); } private int bitField0_; public static final int EVENTS_FIELD_NUMBER = 1; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings events_; /** *
     * Specify event-level alerting settings.
     * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public boolean hasEvents() { return events_ != null; } /** *
     * Specify event-level alerting settings.
     * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings getEvents() { return events_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.getDefaultInstance() : events_; } /** *
     * Specify event-level alerting settings.
     * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder getEventsOrBuilder() { return getEvents(); } public static final int RECIPIENTS_FIELD_NUMBER = 2; private java.util.List recipients_; /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public java.util.List getRecipientsList() { return recipients_; } /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public java.util.List getRecipientsOrBuilderList() { return recipients_; } /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public int getRecipientsCount() { return recipients_.size(); } /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget getRecipients(int index) { return recipients_.get(index); } /** *
     * Notification targets/recipients.
     * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder getRecipientsOrBuilder( int index) { return recipients_.get(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 (events_ != null) { output.writeMessage(1, getEvents()); } for (int i = 0; i < recipients_.size(); i++) { output.writeMessage(2, recipients_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (events_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEvents()); } for (int i = 0; i < recipients_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, recipients_.get(i)); } 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings) obj; if (hasEvents() != other.hasEvents()) return false; if (hasEvents()) { if (!getEvents() .equals(other.getEvents())) return false; } if (!getRecipientsList() .equals(other.getRecipientsList())) 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 (hasEvents()) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEvents().hashCode(); } if (getRecipientsCount() > 0) { hash = (37 * hash) + RECIPIENTS_FIELD_NUMBER; hash = (53 * hash) + getRecipientsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings 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; } /** *
     * Alerting and notification settings.
     * 
* * Protobuf type {@code bloombox.partner.settings.PartnerAlertSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.PartnerAlertSettings) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerAlertSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerAlertSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRecipientsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (eventsBuilder_ == null) { events_ = null; } else { events_ = null; eventsBuilder_ = null; } if (recipientsBuilder_ == null) { recipients_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { recipientsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerAlertSettings_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (eventsBuilder_ == null) { result.events_ = events_; } else { result.events_ = eventsBuilder_.build(); } if (recipientsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { recipients_ = java.util.Collections.unmodifiableList(recipients_); bitField0_ = (bitField0_ & ~0x00000002); } result.recipients_ = recipients_; } else { result.recipients_ = recipientsBuilder_.build(); } 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.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.getDefaultInstance()) return this; if (other.hasEvents()) { mergeEvents(other.getEvents()); } if (recipientsBuilder_ == null) { if (!other.recipients_.isEmpty()) { if (recipients_.isEmpty()) { recipients_ = other.recipients_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRecipientsIsMutable(); recipients_.addAll(other.recipients_); } onChanged(); } } else { if (!other.recipients_.isEmpty()) { if (recipientsBuilder_.isEmpty()) { recipientsBuilder_.dispose(); recipientsBuilder_ = null; recipients_ = other.recipients_; bitField0_ = (bitField0_ & ~0x00000002); recipientsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRecipientsFieldBuilder() : null; } else { recipientsBuilder_.addAllMessages(other.recipients_); } } } 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.settings.PartnerSettingsOuterClass.PartnerAlertSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings events_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder> eventsBuilder_; /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public boolean hasEvents() { return eventsBuilder_ != null || events_ != null; } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings getEvents() { if (eventsBuilder_ == null) { return events_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.getDefaultInstance() : events_; } else { return eventsBuilder_.getMessage(); } } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public Builder setEvents(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } events_ = value; onChanged(); } else { eventsBuilder_.setMessage(value); } return this; } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public Builder setEvents( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder builderForValue) { if (eventsBuilder_ == null) { events_ = builderForValue.build(); onChanged(); } else { eventsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public Builder mergeEvents(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings value) { if (eventsBuilder_ == null) { if (events_ != null) { events_ = io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.newBuilder(events_).mergeFrom(value).buildPartial(); } else { events_ = value; } onChanged(); } else { eventsBuilder_.mergeFrom(value); } return this; } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = null; onChanged(); } else { events_ = null; eventsBuilder_ = null; } return this; } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder getEventsBuilder() { onChanged(); return getEventsFieldBuilder().getBuilder(); } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder getEventsOrBuilder() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilder(); } else { return events_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.getDefaultInstance() : events_; } } /** *
       * Specify event-level alerting settings.
       * 
* * .bloombox.partner.settings.PartnerEventAlertingSettings events = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerEventAlertingSettingsOrBuilder>( getEvents(), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; } private java.util.List recipients_ = java.util.Collections.emptyList(); private void ensureRecipientsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { recipients_ = new java.util.ArrayList(recipients_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder> recipientsBuilder_; /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public java.util.List getRecipientsList() { if (recipientsBuilder_ == null) { return java.util.Collections.unmodifiableList(recipients_); } else { return recipientsBuilder_.getMessageList(); } } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public int getRecipientsCount() { if (recipientsBuilder_ == null) { return recipients_.size(); } else { return recipientsBuilder_.getCount(); } } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget getRecipients(int index) { if (recipientsBuilder_ == null) { return recipients_.get(index); } else { return recipientsBuilder_.getMessage(index); } } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder setRecipients( int index, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget value) { if (recipientsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecipientsIsMutable(); recipients_.set(index, value); onChanged(); } else { recipientsBuilder_.setMessage(index, value); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder setRecipients( int index, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder builderForValue) { if (recipientsBuilder_ == null) { ensureRecipientsIsMutable(); recipients_.set(index, builderForValue.build()); onChanged(); } else { recipientsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder addRecipients(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget value) { if (recipientsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecipientsIsMutable(); recipients_.add(value); onChanged(); } else { recipientsBuilder_.addMessage(value); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder addRecipients( int index, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget value) { if (recipientsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRecipientsIsMutable(); recipients_.add(index, value); onChanged(); } else { recipientsBuilder_.addMessage(index, value); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder addRecipients( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder builderForValue) { if (recipientsBuilder_ == null) { ensureRecipientsIsMutable(); recipients_.add(builderForValue.build()); onChanged(); } else { recipientsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder addRecipients( int index, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder builderForValue) { if (recipientsBuilder_ == null) { ensureRecipientsIsMutable(); recipients_.add(index, builderForValue.build()); onChanged(); } else { recipientsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder addAllRecipients( java.lang.Iterable values) { if (recipientsBuilder_ == null) { ensureRecipientsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, recipients_); onChanged(); } else { recipientsBuilder_.addAllMessages(values); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder clearRecipients() { if (recipientsBuilder_ == null) { recipients_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { recipientsBuilder_.clear(); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public Builder removeRecipients(int index) { if (recipientsBuilder_ == null) { ensureRecipientsIsMutable(); recipients_.remove(index); onChanged(); } else { recipientsBuilder_.remove(index); } return this; } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder getRecipientsBuilder( int index) { return getRecipientsFieldBuilder().getBuilder(index); } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder getRecipientsOrBuilder( int index) { if (recipientsBuilder_ == null) { return recipients_.get(index); } else { return recipientsBuilder_.getMessageOrBuilder(index); } } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public java.util.List getRecipientsOrBuilderList() { if (recipientsBuilder_ != null) { return recipientsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(recipients_); } } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder addRecipientsBuilder() { return getRecipientsFieldBuilder().addBuilder( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.getDefaultInstance()); } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder addRecipientsBuilder( int index) { return getRecipientsFieldBuilder().addBuilder( index, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.getDefaultInstance()); } /** *
       * Notification targets/recipients.
       * 
* * repeated .bloombox.partner.settings.PartnerNotificationTarget recipients = 2; */ public java.util.List getRecipientsBuilderList() { return getRecipientsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder> getRecipientsFieldBuilder() { if (recipientsBuilder_ == null) { recipientsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTarget.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerNotificationTargetOrBuilder>( recipients_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); recipients_ = null; } return recipientsBuilder_; } @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.settings.PartnerAlertSettings) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.PartnerAlertSettings) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartnerAlertSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartnerAlertSettings(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.settings.PartnerSettingsOuterClass.PartnerAlertSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BetaSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.BetaSettings) com.google.protobuf.MessageOrBuilder { /** *
     * Enable access to beta systems for this partner.
     * 
* * bool enable = 1; */ boolean getEnable(); /** *
     * Enable access to sandbox resources and systems for this partner.
     * 
* * bool sandbox = 2; */ boolean getSandbox(); } /** *
   * Beta and sandbox settings.
   * 
* * Protobuf type {@code bloombox.partner.settings.BetaSettings} */ public static final class BetaSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.BetaSettings) BetaSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use BetaSettings.newBuilder() to construct. private BetaSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BetaSettings() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BetaSettings( 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: { enable_ = input.readBool(); break; } case 16: { sandbox_ = 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.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_BetaSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_BetaSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder.class); } public static final int ENABLE_FIELD_NUMBER = 1; private boolean enable_; /** *
     * Enable access to beta systems for this partner.
     * 
* * bool enable = 1; */ public boolean getEnable() { return enable_; } public static final int SANDBOX_FIELD_NUMBER = 2; private boolean sandbox_; /** *
     * Enable access to sandbox resources and systems for this partner.
     * 
* * bool sandbox = 2; */ public boolean getSandbox() { return sandbox_; } 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 (enable_ != false) { output.writeBool(1, enable_); } if (sandbox_ != false) { output.writeBool(2, sandbox_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (enable_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, enable_); } if (sandbox_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, sandbox_); } 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.settings.PartnerSettingsOuterClass.BetaSettings)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings) obj; if (getEnable() != other.getEnable()) return false; if (getSandbox() != other.getSandbox()) 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) + ENABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnable()); hash = (37 * hash) + SANDBOX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSandbox()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings 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.settings.PartnerSettingsOuterClass.BetaSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings 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.settings.PartnerSettingsOuterClass.BetaSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings 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.settings.PartnerSettingsOuterClass.BetaSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings 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.settings.PartnerSettingsOuterClass.BetaSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings 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.settings.PartnerSettingsOuterClass.BetaSettings 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; } /** *
     * Beta and sandbox settings.
     * 
* * Protobuf type {@code bloombox.partner.settings.BetaSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.BetaSettings) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_BetaSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_BetaSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.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(); enable_ = false; sandbox_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_BetaSettings_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings(this); result.enable_ = enable_; result.sandbox_ = sandbox_; 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.settings.PartnerSettingsOuterClass.BetaSettings) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.getDefaultInstance()) return this; if (other.getEnable() != false) { setEnable(other.getEnable()); } if (other.getSandbox() != false) { setSandbox(other.getSandbox()); } 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.settings.PartnerSettingsOuterClass.BetaSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean enable_ ; /** *
       * Enable access to beta systems for this partner.
       * 
* * bool enable = 1; */ public boolean getEnable() { return enable_; } /** *
       * Enable access to beta systems for this partner.
       * 
* * bool enable = 1; */ public Builder setEnable(boolean value) { enable_ = value; onChanged(); return this; } /** *
       * Enable access to beta systems for this partner.
       * 
* * bool enable = 1; */ public Builder clearEnable() { enable_ = false; onChanged(); return this; } private boolean sandbox_ ; /** *
       * Enable access to sandbox resources and systems for this partner.
       * 
* * bool sandbox = 2; */ public boolean getSandbox() { return sandbox_; } /** *
       * Enable access to sandbox resources and systems for this partner.
       * 
* * bool sandbox = 2; */ public Builder setSandbox(boolean value) { sandbox_ = value; onChanged(); return this; } /** *
       * Enable access to sandbox resources and systems for this partner.
       * 
* * bool sandbox = 2; */ public Builder clearSandbox() { sandbox_ = 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.settings.BetaSettings) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.BetaSettings) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BetaSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BetaSettings(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.settings.PartnerSettingsOuterClass.BetaSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FeatureStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.FeatureStatus) com.google.protobuf.MessageOrBuilder { /** *
     * Whether this partner has access to analytics.
     * 
* * bool analytics = 1; */ boolean getAnalytics(); /** *
     * Whether this partner has access to beta features.
     * 
* * bool beta = 2; */ boolean getBeta(); /** *
     * Whether this partner has offline features.
     * 
* * bool offline = 3; */ boolean getOffline(); /** *
     * Whether this partner has access to shop features.
     * 
* * bool shop = 4; */ boolean getShop(); /** *
     * Whether this partner has access to checkin features.
     * 
* * bool checkin = 5; */ boolean getCheckin(); } /** *
   * Feature activation flags.
   * 
* * Protobuf type {@code bloombox.partner.settings.FeatureStatus} */ public static final class FeatureStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.FeatureStatus) FeatureStatusOrBuilder { private static final long serialVersionUID = 0L; // Use FeatureStatus.newBuilder() to construct. private FeatureStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FeatureStatus() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FeatureStatus( 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: { analytics_ = input.readBool(); break; } case 16: { beta_ = input.readBool(); break; } case 24: { offline_ = input.readBool(); break; } case 32: { shop_ = input.readBool(); break; } case 40: { checkin_ = 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.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_FeatureStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_FeatureStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder.class); } public static final int ANALYTICS_FIELD_NUMBER = 1; private boolean analytics_; /** *
     * Whether this partner has access to analytics.
     * 
* * bool analytics = 1; */ public boolean getAnalytics() { return analytics_; } public static final int BETA_FIELD_NUMBER = 2; private boolean beta_; /** *
     * Whether this partner has access to beta features.
     * 
* * bool beta = 2; */ public boolean getBeta() { return beta_; } public static final int OFFLINE_FIELD_NUMBER = 3; private boolean offline_; /** *
     * Whether this partner has offline features.
     * 
* * bool offline = 3; */ public boolean getOffline() { return offline_; } public static final int SHOP_FIELD_NUMBER = 4; private boolean shop_; /** *
     * Whether this partner has access to shop features.
     * 
* * bool shop = 4; */ public boolean getShop() { return shop_; } public static final int CHECKIN_FIELD_NUMBER = 5; private boolean checkin_; /** *
     * Whether this partner has access to checkin features.
     * 
* * bool checkin = 5; */ public boolean getCheckin() { return checkin_; } 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 (analytics_ != false) { output.writeBool(1, analytics_); } if (beta_ != false) { output.writeBool(2, beta_); } if (offline_ != false) { output.writeBool(3, offline_); } if (shop_ != false) { output.writeBool(4, shop_); } if (checkin_ != false) { output.writeBool(5, checkin_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (analytics_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, analytics_); } if (beta_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, beta_); } if (offline_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, offline_); } if (shop_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, shop_); } if (checkin_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, checkin_); } 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.settings.PartnerSettingsOuterClass.FeatureStatus)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus) obj; if (getAnalytics() != other.getAnalytics()) return false; if (getBeta() != other.getBeta()) return false; if (getOffline() != other.getOffline()) return false; if (getShop() != other.getShop()) return false; if (getCheckin() != other.getCheckin()) 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) + ANALYTICS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAnalytics()); hash = (37 * hash) + BETA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBeta()); hash = (37 * hash) + OFFLINE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOffline()); hash = (37 * hash) + SHOP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getShop()); hash = (37 * hash) + CHECKIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCheckin()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus 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.settings.PartnerSettingsOuterClass.FeatureStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus 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.settings.PartnerSettingsOuterClass.FeatureStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus 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.settings.PartnerSettingsOuterClass.FeatureStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus 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.settings.PartnerSettingsOuterClass.FeatureStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus 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.settings.PartnerSettingsOuterClass.FeatureStatus 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; } /** *
     * Feature activation flags.
     * 
* * Protobuf type {@code bloombox.partner.settings.FeatureStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.FeatureStatus) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_FeatureStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_FeatureStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.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(); analytics_ = false; beta_ = false; offline_ = false; shop_ = false; checkin_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_FeatureStatus_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus(this); result.analytics_ = analytics_; result.beta_ = beta_; result.offline_ = offline_; result.shop_ = shop_; result.checkin_ = checkin_; 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.settings.PartnerSettingsOuterClass.FeatureStatus) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.getDefaultInstance()) return this; if (other.getAnalytics() != false) { setAnalytics(other.getAnalytics()); } if (other.getBeta() != false) { setBeta(other.getBeta()); } if (other.getOffline() != false) { setOffline(other.getOffline()); } if (other.getShop() != false) { setShop(other.getShop()); } if (other.getCheckin() != false) { setCheckin(other.getCheckin()); } 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.settings.PartnerSettingsOuterClass.FeatureStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean analytics_ ; /** *
       * Whether this partner has access to analytics.
       * 
* * bool analytics = 1; */ public boolean getAnalytics() { return analytics_; } /** *
       * Whether this partner has access to analytics.
       * 
* * bool analytics = 1; */ public Builder setAnalytics(boolean value) { analytics_ = value; onChanged(); return this; } /** *
       * Whether this partner has access to analytics.
       * 
* * bool analytics = 1; */ public Builder clearAnalytics() { analytics_ = false; onChanged(); return this; } private boolean beta_ ; /** *
       * Whether this partner has access to beta features.
       * 
* * bool beta = 2; */ public boolean getBeta() { return beta_; } /** *
       * Whether this partner has access to beta features.
       * 
* * bool beta = 2; */ public Builder setBeta(boolean value) { beta_ = value; onChanged(); return this; } /** *
       * Whether this partner has access to beta features.
       * 
* * bool beta = 2; */ public Builder clearBeta() { beta_ = false; onChanged(); return this; } private boolean offline_ ; /** *
       * Whether this partner has offline features.
       * 
* * bool offline = 3; */ public boolean getOffline() { return offline_; } /** *
       * Whether this partner has offline features.
       * 
* * bool offline = 3; */ public Builder setOffline(boolean value) { offline_ = value; onChanged(); return this; } /** *
       * Whether this partner has offline features.
       * 
* * bool offline = 3; */ public Builder clearOffline() { offline_ = false; onChanged(); return this; } private boolean shop_ ; /** *
       * Whether this partner has access to shop features.
       * 
* * bool shop = 4; */ public boolean getShop() { return shop_; } /** *
       * Whether this partner has access to shop features.
       * 
* * bool shop = 4; */ public Builder setShop(boolean value) { shop_ = value; onChanged(); return this; } /** *
       * Whether this partner has access to shop features.
       * 
* * bool shop = 4; */ public Builder clearShop() { shop_ = false; onChanged(); return this; } private boolean checkin_ ; /** *
       * Whether this partner has access to checkin features.
       * 
* * bool checkin = 5; */ public boolean getCheckin() { return checkin_; } /** *
       * Whether this partner has access to checkin features.
       * 
* * bool checkin = 5; */ public Builder setCheckin(boolean value) { checkin_ = value; onChanged(); return this; } /** *
       * Whether this partner has access to checkin features.
       * 
* * bool checkin = 5; */ public Builder clearCheckin() { checkin_ = 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.settings.FeatureStatus) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.FeatureStatus) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FeatureStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FeatureStatus(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.settings.PartnerSettingsOuterClass.FeatureStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SearchSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.SearchSettings) com.google.protobuf.MessageOrBuilder { /** *
     * Whether to enable search for this partner or not.
     * 
* * bool enabled = 1; */ boolean getEnabled(); /** *
     * Make media uploaded by this partner searchable.
     * 
* * bool media = 2; */ boolean getMedia(); } /** *
   * Settings related to search functionality.
   * 
* * Protobuf type {@code bloombox.partner.settings.SearchSettings} */ public static final class SearchSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.SearchSettings) SearchSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use SearchSettings.newBuilder() to construct. private SearchSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SearchSettings() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SearchSettings( 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: { enabled_ = input.readBool(); break; } case 16: { media_ = 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.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_SearchSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_SearchSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** *
     * Whether to enable search for this partner or not.
     * 
* * bool enabled = 1; */ public boolean getEnabled() { return enabled_; } public static final int MEDIA_FIELD_NUMBER = 2; private boolean media_; /** *
     * Make media uploaded by this partner searchable.
     * 
* * bool media = 2; */ public boolean getMedia() { return media_; } 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 (enabled_ != false) { output.writeBool(1, enabled_); } if (media_ != false) { output.writeBool(2, media_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (enabled_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, enabled_); } if (media_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, media_); } 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.settings.PartnerSettingsOuterClass.SearchSettings)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings) obj; if (getEnabled() != other.getEnabled()) return false; if (getMedia() != other.getMedia()) 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) + ENABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnabled()); hash = (37 * hash) + MEDIA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMedia()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings 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.settings.PartnerSettingsOuterClass.SearchSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings 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.settings.PartnerSettingsOuterClass.SearchSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings 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.settings.PartnerSettingsOuterClass.SearchSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings 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.settings.PartnerSettingsOuterClass.SearchSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings 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.settings.PartnerSettingsOuterClass.SearchSettings 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; } /** *
     * Settings related to search functionality.
     * 
* * Protobuf type {@code bloombox.partner.settings.SearchSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.SearchSettings) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_SearchSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_SearchSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.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(); enabled_ = false; media_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_SearchSettings_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings(this); result.enabled_ = enabled_; result.media_ = media_; 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.settings.PartnerSettingsOuterClass.SearchSettings) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } if (other.getMedia() != false) { setMedia(other.getMedia()); } 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.settings.PartnerSettingsOuterClass.SearchSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean enabled_ ; /** *
       * Whether to enable search for this partner or not.
       * 
* * bool enabled = 1; */ public boolean getEnabled() { return enabled_; } /** *
       * Whether to enable search for this partner or not.
       * 
* * bool enabled = 1; */ public Builder setEnabled(boolean value) { enabled_ = value; onChanged(); return this; } /** *
       * Whether to enable search for this partner or not.
       * 
* * bool enabled = 1; */ public Builder clearEnabled() { enabled_ = false; onChanged(); return this; } private boolean media_ ; /** *
       * Make media uploaded by this partner searchable.
       * 
* * bool media = 2; */ public boolean getMedia() { return media_; } /** *
       * Make media uploaded by this partner searchable.
       * 
* * bool media = 2; */ public Builder setMedia(boolean value) { media_ = value; onChanged(); return this; } /** *
       * Make media uploaded by this partner searchable.
       * 
* * bool media = 2; */ public Builder clearMedia() { media_ = 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.settings.SearchSettings) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.SearchSettings) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SearchSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SearchSettings(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.settings.PartnerSettingsOuterClass.SearchSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartnerSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.settings.PartnerSettings) com.google.protobuf.MessageOrBuilder { /** *
     * Alerting and notification settings.
     * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ boolean hasAlerts(); /** *
     * Alerting and notification settings.
     * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings getAlerts(); /** *
     * Alerting and notification settings.
     * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder getAlertsOrBuilder(); /** *
     * Beta and sandbox settings.
     * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ boolean hasBeta(); /** *
     * Beta and sandbox settings.
     * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings getBeta(); /** *
     * Beta and sandbox settings.
     * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder getBetaOrBuilder(); /** *
     * Feature activation flags.
     * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ boolean hasFeatures(); /** *
     * Feature activation flags.
     * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus getFeatures(); /** *
     * Feature activation flags.
     * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder getFeaturesOrBuilder(); /** *
     * Search settings.
     * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ boolean hasSearch(); /** *
     * Search settings.
     * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings getSearch(); /** *
     * Search settings.
     * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder getSearchOrBuilder(); /** *
     * Integration settings for this location.
     * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ boolean hasIntegration(); /** *
     * Integration settings for this location.
     * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings getIntegration(); /** *
     * Integration settings for this location.
     * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettingsOrBuilder getIntegrationOrBuilder(); } /** *
   * Partner-level account settings.
   * 
* * Protobuf type {@code bloombox.partner.settings.PartnerSettings} */ public static final class PartnerSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.settings.PartnerSettings) PartnerSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use PartnerSettings.newBuilder() to construct. private PartnerSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartnerSettings() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartnerSettings( 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.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder subBuilder = null; if (alerts_ != null) { subBuilder = alerts_.toBuilder(); } alerts_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(alerts_); alerts_ = subBuilder.buildPartial(); } break; } case 18: { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder subBuilder = null; if (beta_ != null) { subBuilder = beta_.toBuilder(); } beta_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(beta_); beta_ = subBuilder.buildPartial(); } break; } case 26: { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder subBuilder = null; if (features_ != null) { subBuilder = features_.toBuilder(); } features_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(features_); features_ = subBuilder.buildPartial(); } break; } case 34: { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder subBuilder = null; if (search_ != null) { subBuilder = search_.toBuilder(); } search_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(search_); search_ = subBuilder.buildPartial(); } break; } case 58: { io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.Builder subBuilder = null; if (integration_ != null) { subBuilder = integration_.toBuilder(); } integration_ = input.readMessage(io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(integration_); integration_ = 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.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder.class); } public static final int ALERTS_FIELD_NUMBER = 1; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings alerts_; /** *
     * Alerting and notification settings.
     * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public boolean hasAlerts() { return alerts_ != null; } /** *
     * Alerting and notification settings.
     * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings getAlerts() { return alerts_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.getDefaultInstance() : alerts_; } /** *
     * Alerting and notification settings.
     * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder getAlertsOrBuilder() { return getAlerts(); } public static final int BETA_FIELD_NUMBER = 2; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings beta_; /** *
     * Beta and sandbox settings.
     * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public boolean hasBeta() { return beta_ != null; } /** *
     * Beta and sandbox settings.
     * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings getBeta() { return beta_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.getDefaultInstance() : beta_; } /** *
     * Beta and sandbox settings.
     * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder getBetaOrBuilder() { return getBeta(); } public static final int FEATURES_FIELD_NUMBER = 3; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus features_; /** *
     * Feature activation flags.
     * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public boolean hasFeatures() { return features_ != null; } /** *
     * Feature activation flags.
     * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus getFeatures() { return features_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.getDefaultInstance() : features_; } /** *
     * Feature activation flags.
     * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder getFeaturesOrBuilder() { return getFeatures(); } public static final int SEARCH_FIELD_NUMBER = 4; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings search_; /** *
     * Search settings.
     * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public boolean hasSearch() { return search_ != null; } /** *
     * Search settings.
     * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings getSearch() { return search_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.getDefaultInstance() : search_; } /** *
     * Search settings.
     * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder getSearchOrBuilder() { return getSearch(); } public static final int INTEGRATION_FIELD_NUMBER = 7; private io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings integration_; /** *
     * Integration settings for this location.
     * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public boolean hasIntegration() { return integration_ != null; } /** *
     * Integration settings for this location.
     * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings getIntegration() { return integration_ == null ? io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.getDefaultInstance() : integration_; } /** *
     * Integration settings for this location.
     * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettingsOrBuilder getIntegrationOrBuilder() { return getIntegration(); } 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 (alerts_ != null) { output.writeMessage(1, getAlerts()); } if (beta_ != null) { output.writeMessage(2, getBeta()); } if (features_ != null) { output.writeMessage(3, getFeatures()); } if (search_ != null) { output.writeMessage(4, getSearch()); } if (integration_ != null) { output.writeMessage(7, getIntegration()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (alerts_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAlerts()); } if (beta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBeta()); } if (features_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getFeatures()); } if (search_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSearch()); } if (integration_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getIntegration()); } 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.settings.PartnerSettingsOuterClass.PartnerSettings)) { return super.equals(obj); } io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings other = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings) obj; if (hasAlerts() != other.hasAlerts()) return false; if (hasAlerts()) { if (!getAlerts() .equals(other.getAlerts())) return false; } if (hasBeta() != other.hasBeta()) return false; if (hasBeta()) { if (!getBeta() .equals(other.getBeta())) return false; } if (hasFeatures() != other.hasFeatures()) return false; if (hasFeatures()) { if (!getFeatures() .equals(other.getFeatures())) return false; } if (hasSearch() != other.hasSearch()) return false; if (hasSearch()) { if (!getSearch() .equals(other.getSearch())) return false; } if (hasIntegration() != other.hasIntegration()) return false; if (hasIntegration()) { if (!getIntegration() .equals(other.getIntegration())) 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 (hasAlerts()) { hash = (37 * hash) + ALERTS_FIELD_NUMBER; hash = (53 * hash) + getAlerts().hashCode(); } if (hasBeta()) { hash = (37 * hash) + BETA_FIELD_NUMBER; hash = (53 * hash) + getBeta().hashCode(); } if (hasFeatures()) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeatures().hashCode(); } if (hasSearch()) { hash = (37 * hash) + SEARCH_FIELD_NUMBER; hash = (53 * hash) + getSearch().hashCode(); } if (hasIntegration()) { hash = (37 * hash) + INTEGRATION_FIELD_NUMBER; hash = (53 * hash) + getIntegration().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings 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.settings.PartnerSettingsOuterClass.PartnerSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings 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.settings.PartnerSettingsOuterClass.PartnerSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings 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.settings.PartnerSettingsOuterClass.PartnerSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings 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.settings.PartnerSettingsOuterClass.PartnerSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings 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.settings.PartnerSettingsOuterClass.PartnerSettings 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; } /** *
     * Partner-level account settings.
     * 
* * Protobuf type {@code bloombox.partner.settings.PartnerSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.settings.PartnerSettings) io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.class, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder.class); } // Construct using io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.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 (alertsBuilder_ == null) { alerts_ = null; } else { alerts_ = null; alertsBuilder_ = null; } if (betaBuilder_ == null) { beta_ = null; } else { beta_ = null; betaBuilder_ = null; } if (featuresBuilder_ == null) { features_ = null; } else { features_ = null; featuresBuilder_ = null; } if (searchBuilder_ == null) { search_ = null; } else { search_ = null; searchBuilder_ = null; } if (integrationBuilder_ == null) { integration_ = null; } else { integration_ = null; integrationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.internal_static_bloombox_partner_settings_PartnerSettings_descriptor; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getDefaultInstanceForType() { return io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings build() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings buildPartial() { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings result = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings(this); if (alertsBuilder_ == null) { result.alerts_ = alerts_; } else { result.alerts_ = alertsBuilder_.build(); } if (betaBuilder_ == null) { result.beta_ = beta_; } else { result.beta_ = betaBuilder_.build(); } if (featuresBuilder_ == null) { result.features_ = features_; } else { result.features_ = featuresBuilder_.build(); } if (searchBuilder_ == null) { result.search_ = search_; } else { result.search_ = searchBuilder_.build(); } if (integrationBuilder_ == null) { result.integration_ = integration_; } else { result.integration_ = integrationBuilder_.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.settings.PartnerSettingsOuterClass.PartnerSettings) { return mergeFrom((io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings other) { if (other == io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance()) return this; if (other.hasAlerts()) { mergeAlerts(other.getAlerts()); } if (other.hasBeta()) { mergeBeta(other.getBeta()); } if (other.hasFeatures()) { mergeFeatures(other.getFeatures()); } if (other.hasSearch()) { mergeSearch(other.getSearch()); } if (other.hasIntegration()) { mergeIntegration(other.getIntegration()); } 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.settings.PartnerSettingsOuterClass.PartnerSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings alerts_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder> alertsBuilder_; /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public boolean hasAlerts() { return alertsBuilder_ != null || alerts_ != null; } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings getAlerts() { if (alertsBuilder_ == null) { return alerts_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.getDefaultInstance() : alerts_; } else { return alertsBuilder_.getMessage(); } } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public Builder setAlerts(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings value) { if (alertsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } alerts_ = value; onChanged(); } else { alertsBuilder_.setMessage(value); } return this; } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public Builder setAlerts( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder builderForValue) { if (alertsBuilder_ == null) { alerts_ = builderForValue.build(); onChanged(); } else { alertsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public Builder mergeAlerts(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings value) { if (alertsBuilder_ == null) { if (alerts_ != null) { alerts_ = io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.newBuilder(alerts_).mergeFrom(value).buildPartial(); } else { alerts_ = value; } onChanged(); } else { alertsBuilder_.mergeFrom(value); } return this; } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public Builder clearAlerts() { if (alertsBuilder_ == null) { alerts_ = null; onChanged(); } else { alerts_ = null; alertsBuilder_ = null; } return this; } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder getAlertsBuilder() { onChanged(); return getAlertsFieldBuilder().getBuilder(); } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder getAlertsOrBuilder() { if (alertsBuilder_ != null) { return alertsBuilder_.getMessageOrBuilder(); } else { return alerts_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.getDefaultInstance() : alerts_; } } /** *
       * Alerting and notification settings.
       * 
* * .bloombox.partner.settings.PartnerAlertSettings alerts = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder> getAlertsFieldBuilder() { if (alertsBuilder_ == null) { alertsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerAlertSettingsOrBuilder>( getAlerts(), getParentForChildren(), isClean()); alerts_ = null; } return alertsBuilder_; } private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings beta_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder> betaBuilder_; /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public boolean hasBeta() { return betaBuilder_ != null || beta_ != null; } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings getBeta() { if (betaBuilder_ == null) { return beta_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.getDefaultInstance() : beta_; } else { return betaBuilder_.getMessage(); } } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public Builder setBeta(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings value) { if (betaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } beta_ = value; onChanged(); } else { betaBuilder_.setMessage(value); } return this; } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public Builder setBeta( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder builderForValue) { if (betaBuilder_ == null) { beta_ = builderForValue.build(); onChanged(); } else { betaBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public Builder mergeBeta(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings value) { if (betaBuilder_ == null) { if (beta_ != null) { beta_ = io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.newBuilder(beta_).mergeFrom(value).buildPartial(); } else { beta_ = value; } onChanged(); } else { betaBuilder_.mergeFrom(value); } return this; } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public Builder clearBeta() { if (betaBuilder_ == null) { beta_ = null; onChanged(); } else { beta_ = null; betaBuilder_ = null; } return this; } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder getBetaBuilder() { onChanged(); return getBetaFieldBuilder().getBuilder(); } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder getBetaOrBuilder() { if (betaBuilder_ != null) { return betaBuilder_.getMessageOrBuilder(); } else { return beta_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.getDefaultInstance() : beta_; } } /** *
       * Beta and sandbox settings.
       * 
* * .bloombox.partner.settings.BetaSettings beta = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder> getBetaFieldBuilder() { if (betaBuilder_ == null) { betaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.BetaSettingsOrBuilder>( getBeta(), getParentForChildren(), isClean()); beta_ = null; } return betaBuilder_; } private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus features_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder> featuresBuilder_; /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public boolean hasFeatures() { return featuresBuilder_ != null || features_ != null; } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus getFeatures() { if (featuresBuilder_ == null) { return features_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.getDefaultInstance() : features_; } else { return featuresBuilder_.getMessage(); } } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public Builder setFeatures(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } features_ = value; onChanged(); } else { featuresBuilder_.setMessage(value); } return this; } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public Builder setFeatures( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder builderForValue) { if (featuresBuilder_ == null) { features_ = builderForValue.build(); onChanged(); } else { featuresBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public Builder mergeFeatures(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus value) { if (featuresBuilder_ == null) { if (features_ != null) { features_ = io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.newBuilder(features_).mergeFrom(value).buildPartial(); } else { features_ = value; } onChanged(); } else { featuresBuilder_.mergeFrom(value); } return this; } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public Builder clearFeatures() { if (featuresBuilder_ == null) { features_ = null; onChanged(); } else { features_ = null; featuresBuilder_ = null; } return this; } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder getFeaturesBuilder() { onChanged(); return getFeaturesFieldBuilder().getBuilder(); } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder getFeaturesOrBuilder() { if (featuresBuilder_ != null) { return featuresBuilder_.getMessageOrBuilder(); } else { return features_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.getDefaultInstance() : features_; } } /** *
       * Feature activation flags.
       * 
* * .bloombox.partner.settings.FeatureStatus features = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder> getFeaturesFieldBuilder() { if (featuresBuilder_ == null) { featuresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatus.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.FeatureStatusOrBuilder>( getFeatures(), getParentForChildren(), isClean()); features_ = null; } return featuresBuilder_; } private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings search_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder> searchBuilder_; /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public boolean hasSearch() { return searchBuilder_ != null || search_ != null; } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings getSearch() { if (searchBuilder_ == null) { return search_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.getDefaultInstance() : search_; } else { return searchBuilder_.getMessage(); } } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public Builder setSearch(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings value) { if (searchBuilder_ == null) { if (value == null) { throw new NullPointerException(); } search_ = value; onChanged(); } else { searchBuilder_.setMessage(value); } return this; } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public Builder setSearch( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder builderForValue) { if (searchBuilder_ == null) { search_ = builderForValue.build(); onChanged(); } else { searchBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public Builder mergeSearch(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings value) { if (searchBuilder_ == null) { if (search_ != null) { search_ = io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.newBuilder(search_).mergeFrom(value).buildPartial(); } else { search_ = value; } onChanged(); } else { searchBuilder_.mergeFrom(value); } return this; } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public Builder clearSearch() { if (searchBuilder_ == null) { search_ = null; onChanged(); } else { search_ = null; searchBuilder_ = null; } return this; } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder getSearchBuilder() { onChanged(); return getSearchFieldBuilder().getBuilder(); } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder getSearchOrBuilder() { if (searchBuilder_ != null) { return searchBuilder_.getMessageOrBuilder(); } else { return search_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.getDefaultInstance() : search_; } } /** *
       * Search settings.
       * 
* * .bloombox.partner.settings.SearchSettings search = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder> getSearchFieldBuilder() { if (searchBuilder_ == null) { searchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.SearchSettingsOrBuilder>( getSearch(), getParentForChildren(), isClean()); search_ = null; } return searchBuilder_; } private io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings integration_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings, io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.Builder, io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettingsOrBuilder> integrationBuilder_; /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public boolean hasIntegration() { return integrationBuilder_ != null || integration_ != null; } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings getIntegration() { if (integrationBuilder_ == null) { return integration_ == null ? io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.getDefaultInstance() : integration_; } else { return integrationBuilder_.getMessage(); } } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public Builder setIntegration(io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings value) { if (integrationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } integration_ = value; onChanged(); } else { integrationBuilder_.setMessage(value); } return this; } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public Builder setIntegration( io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.Builder builderForValue) { if (integrationBuilder_ == null) { integration_ = builderForValue.build(); onChanged(); } else { integrationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public Builder mergeIntegration(io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings value) { if (integrationBuilder_ == null) { if (integration_ != null) { integration_ = io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.newBuilder(integration_).mergeFrom(value).buildPartial(); } else { integration_ = value; } onChanged(); } else { integrationBuilder_.mergeFrom(value); } return this; } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public Builder clearIntegration() { if (integrationBuilder_ == null) { integration_ = null; onChanged(); } else { integration_ = null; integrationBuilder_ = null; } return this; } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.Builder getIntegrationBuilder() { onChanged(); return getIntegrationFieldBuilder().getBuilder(); } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ public io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettingsOrBuilder getIntegrationOrBuilder() { if (integrationBuilder_ != null) { return integrationBuilder_.getMessageOrBuilder(); } else { return integration_ == null ? io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.getDefaultInstance() : integration_; } } /** *
       * Integration settings for this location.
       * 
* * .bloombox.partner.integrations.PartnerIntegrationSettings integration = 7; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings, io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.Builder, io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettingsOrBuilder> getIntegrationFieldBuilder() { if (integrationBuilder_ == null) { integrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings, io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettings.Builder, io.bloombox.schema.partner.integrations.IntegrationSettings.PartnerIntegrationSettingsOrBuilder>( getIntegration(), getParentForChildren(), isClean()); integration_ = null; } return integrationBuilder_; } @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.settings.PartnerSettings) } // @@protoc_insertion_point(class_scope:bloombox.partner.settings.PartnerSettings) private static final io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings(); } public static io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartnerSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartnerSettings(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.settings.PartnerSettingsOuterClass.PartnerSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_PartnerNotificationTarget_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_PartnerNotificationTarget_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_PartnerAlertSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_PartnerAlertSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_BetaSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_BetaSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_FeatureStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_FeatureStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_SearchSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_SearchSettings_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_settings_PartnerSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_settings_PartnerSettings_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/settings/PartnerSettings.proto" + "\022\031bloombox.partner.settings\032\031contact/Pho" + "neNumber.proto\032\032contact/EmailAddress.pro" + "to\032.partner/integrations/IntegrationSett" + "ings.proto\"\241\001\n\031PartnerNotificationTarget" + "\022\020\n\010disabled\030\001 \001(\010\0222\n\005phone\030\n \001(\0132!.open" + "cannabis.contact.PhoneNumberH\000\0223\n\005email\030" + "\013 \001(\0132\".opencannabis.contact.EmailAddres" + "sH\000B\t\n\007contact\"O\n\034PartnerEventAlertingSe" + "ttings\022\r\n\005promo\030\001 \001(\010\022\020\n\010security\030\002 \001(\010\022" + "\016\n\006volume\030\003 \001(\010\"\251\001\n\024PartnerAlertSettings" + "\022G\n\006events\030\001 \001(\01327.bloombox.partner.sett" + "ings.PartnerEventAlertingSettings\022H\n\nrec" + "ipients\030\002 \003(\01324.bloombox.partner.setting" + "s.PartnerNotificationTarget\"/\n\014BetaSetti" + "ngs\022\016\n\006enable\030\001 \001(\010\022\017\n\007sandbox\030\002 \001(\010\"`\n\r" + "FeatureStatus\022\021\n\tanalytics\030\001 \001(\010\022\014\n\004beta" + "\030\002 \001(\010\022\017\n\007offline\030\003 \001(\010\022\014\n\004shop\030\004 \001(\010\022\017\n" + "\007checkin\030\005 \001(\010\"0\n\016SearchSettings\022\017\n\007enab" + "led\030\001 \001(\010\022\r\n\005media\030\002 \001(\010\"\320\002\n\017PartnerSett" + "ings\022?\n\006alerts\030\001 \001(\0132/.bloombox.partner." + "settings.PartnerAlertSettings\0225\n\004beta\030\002 " + "\001(\0132\'.bloombox.partner.settings.BetaSett" + "ings\022:\n\010features\030\003 \001(\0132(.bloombox.partne" + "r.settings.FeatureStatus\0229\n\006search\030\004 \001(\013" + "2).bloombox.partner.settings.SearchSetti" + "ngs\022N\n\013integration\030\007 \001(\01329.bloombox.part" + "ner.integrations.PartnerIntegrationSetti" + "ngsB/\n#io.bloombox.schema.partner.settin" + "gsH\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[] { io.opencannabis.schema.contact.ContactPhone.getDescriptor(), io.opencannabis.schema.contact.ContactEmail.getDescriptor(), io.bloombox.schema.partner.integrations.IntegrationSettings.getDescriptor(), }, assigner); internal_static_bloombox_partner_settings_PartnerNotificationTarget_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_bloombox_partner_settings_PartnerNotificationTarget_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_PartnerNotificationTarget_descriptor, new java.lang.String[] { "Disabled", "Phone", "Email", "Contact", }); internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_PartnerEventAlertingSettings_descriptor, new java.lang.String[] { "Promo", "Security", "Volume", }); internal_static_bloombox_partner_settings_PartnerAlertSettings_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_bloombox_partner_settings_PartnerAlertSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_PartnerAlertSettings_descriptor, new java.lang.String[] { "Events", "Recipients", }); internal_static_bloombox_partner_settings_BetaSettings_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_bloombox_partner_settings_BetaSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_BetaSettings_descriptor, new java.lang.String[] { "Enable", "Sandbox", }); internal_static_bloombox_partner_settings_FeatureStatus_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_bloombox_partner_settings_FeatureStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_FeatureStatus_descriptor, new java.lang.String[] { "Analytics", "Beta", "Offline", "Shop", "Checkin", }); internal_static_bloombox_partner_settings_SearchSettings_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_bloombox_partner_settings_SearchSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_SearchSettings_descriptor, new java.lang.String[] { "Enabled", "Media", }); internal_static_bloombox_partner_settings_PartnerSettings_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_bloombox_partner_settings_PartnerSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_settings_PartnerSettings_descriptor, new java.lang.String[] { "Alerts", "Beta", "Features", "Search", "Integration", }); io.opencannabis.schema.contact.ContactPhone.getDescriptor(); io.opencannabis.schema.contact.ContactEmail.getDescriptor(); io.bloombox.schema.partner.integrations.IntegrationSettings.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy