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

io.bloombox.schema.partner.PartnerAccount 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/Partner.proto

package io.bloombox.schema.partner;

public final class PartnerAccount {
  private PartnerAccount() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   * Channel through which a partner interacts with Bloombox.
   * 
* * Protobuf enum {@code bloombox.partner.PartnerChannel} */ public enum PartnerChannel implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Direct customers of Bloombox.
     * 
* * DIRECT = 0; */ DIRECT(0), UNRECOGNIZED(-1), ; /** *
     * Direct customers of Bloombox.
     * 
* * DIRECT = 0; */ public static final int DIRECT_VALUE = 0; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PartnerChannel valueOf(int value) { return forNumber(value); } public static PartnerChannel forNumber(int value) { switch (value) { case 0: return DIRECT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PartnerChannel> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PartnerChannel findValueByNumber(int number) { return PartnerChannel.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.bloombox.schema.partner.PartnerAccount.getDescriptor().getEnumTypes().get(0); } private static final PartnerChannel[] VALUES = values(); public static PartnerChannel valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private PartnerChannel(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:bloombox.partner.PartnerChannel) } public interface PartnerOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.partner.Partner) com.google.protobuf.MessageOrBuilder { /** *
     * Short string that uniquely identifies this partner organization.
     * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ java.lang.String getCode(); /** *
     * Short string that uniquely identifies this partner organization.
     * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ com.google.protobuf.ByteString getCodeBytes(); /** *
     * Full human-readable label for this partner organization.
     * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ java.lang.String getName(); /** *
     * Full human-readable label for this partner organization.
     * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Flags for various things about this partner account.
     * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ boolean hasFlags(); /** *
     * Flags for various things about this partner account.
     * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ io.bloombox.schema.partner.PartnerInfo.PartnerFlags getFlags(); /** *
     * Flags for various things about this partner account.
     * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder getFlagsOrBuilder(); /** *
     * Legal name of the partner organization.
     * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ java.lang.String getLegalName(); /** *
     * Legal name of the partner organization.
     * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ com.google.protobuf.ByteString getLegalNameBytes(); /** *
     * Contact information for this organization.
     * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ boolean hasContact(); /** *
     * Contact information for this organization.
     * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ io.opencannabis.schema.contact.GenericContact.ContactInfo getContact(); /** *
     * Contact information for this organization.
     * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder(); /** *
     * Branding information for this organization.
     * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ boolean hasBranding(); /** *
     * Branding information for this organization.
     * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ io.opencannabis.schema.media.AttachedMedia.MediaItem getBranding(); /** *
     * Branding information for this organization.
     * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ io.opencannabis.schema.media.AttachedMedia.MediaItemOrBuilder getBrandingOrBuilder(); /** *
     * Channel through which this partner organization interacts with Bloombox.
     * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ int getChannelValue(); /** *
     * Channel through which this partner organization interacts with Bloombox.
     * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ io.bloombox.schema.partner.PartnerAccount.PartnerChannel getChannel(); /** *
     * Settings for this partner.
     * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ boolean hasSettings(); /** *
     * Settings for this partner.
     * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getSettings(); /** *
     * Settings for this partner.
     * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder getSettingsOrBuilder(); /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ java.util.List getLocationList(); /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocation(int index); /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ int getLocationCount(); /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ java.util.List getLocationOrBuilderList(); /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationOrBuilder( int index); /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ java.util.List getPolicyList(); /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy getPolicy(int index); /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ int getPolicyCount(); /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ java.util.List getPolicyOrBuilderList(); /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ io.bloombox.schema.security.access.PartnerPermissions.AccessPolicyOrBuilder getPolicyOrBuilder( int index); /** *
     * Timestamp for when this record was created.
     * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ boolean hasCreated(); /** *
     * Timestamp for when this record was created.
     * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ io.opencannabis.schema.temporal.TemporalInstant.Instant getCreated(); /** *
     * Timestamp for when this record was created.
     * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getCreatedOrBuilder(); /** *
     * Timestamp for when this record was last modified.
     * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ boolean hasModified(); /** *
     * Timestamp for when this record was last modified.
     * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ io.opencannabis.schema.temporal.TemporalInstant.Instant getModified(); /** *
     * Timestamp for when this record was last modified.
     * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getModifiedOrBuilder(); } /** *
   * Specifies information about a partner organization that has an account opened with Bloombox. A partner can own/manage
   * multiple `Location`s, and is identified uniquely by a short `code`, which is a lowercase string suitable for use in
   * a URL as a slug.
   * 
* * Protobuf type {@code bloombox.partner.Partner} */ public static final class Partner extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.Partner) PartnerOrBuilder { private static final long serialVersionUID = 0L; // Use Partner.newBuilder() to construct. private Partner(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Partner() { code_ = ""; name_ = ""; legalName_ = ""; channel_ = 0; location_ = java.util.Collections.emptyList(); policy_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Partner( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); code_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder subBuilder = null; if (flags_ != null) { subBuilder = flags_.toBuilder(); } flags_ = input.readMessage(io.bloombox.schema.partner.PartnerInfo.PartnerFlags.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(flags_); flags_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); legalName_ = s; break; } case 42: { io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder subBuilder = null; if (contact_ != null) { subBuilder = contact_.toBuilder(); } contact_ = input.readMessage(io.opencannabis.schema.contact.GenericContact.ContactInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(contact_); contact_ = subBuilder.buildPartial(); } break; } case 50: { io.opencannabis.schema.media.AttachedMedia.MediaItem.Builder subBuilder = null; if (branding_ != null) { subBuilder = branding_.toBuilder(); } branding_ = input.readMessage(io.opencannabis.schema.media.AttachedMedia.MediaItem.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(branding_); branding_ = subBuilder.buildPartial(); } break; } case 56: { int rawValue = input.readEnum(); channel_ = rawValue; break; } case 66: { io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder subBuilder = null; if (settings_ != null) { subBuilder = settings_.toBuilder(); } settings_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(settings_); settings_ = subBuilder.buildPartial(); } break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { location_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } location_.add( input.readMessage(io.bloombox.schema.partner.LocationAccount.PartnerLocation.parser(), extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { policy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } policy_.add( input.readMessage(io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.parser(), extensionRegistry)); break; } case 802: { io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(io.opencannabis.schema.temporal.TemporalInstant.Instant.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } case 810: { io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder subBuilder = null; if (modified_ != null) { subBuilder = modified_.toBuilder(); } modified_ = input.readMessage(io.opencannabis.schema.temporal.TemporalInstant.Instant.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(modified_); modified_ = 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 { if (((mutable_bitField0_ & 0x00000100) != 0)) { location_ = java.util.Collections.unmodifiableList(location_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { policy_ = java.util.Collections.unmodifiableList(policy_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.PartnerAccount.internal_static_bloombox_partner_Partner_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.PartnerAccount.internal_static_bloombox_partner_Partner_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.PartnerAccount.Partner.class, io.bloombox.schema.partner.PartnerAccount.Partner.Builder.class); } private int bitField0_; public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** *
     * Short string that uniquely identifies this partner organization.
     * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public java.lang.String getCode() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** *
     * Short string that uniquely identifies this partner organization.
     * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); code_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Full human-readable label for this partner organization.
     * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Full human-readable label for this partner organization.
     * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FLAGS_FIELD_NUMBER = 3; private io.bloombox.schema.partner.PartnerInfo.PartnerFlags flags_; /** *
     * Flags for various things about this partner account.
     * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public boolean hasFlags() { return flags_ != null; } /** *
     * Flags for various things about this partner account.
     * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public io.bloombox.schema.partner.PartnerInfo.PartnerFlags getFlags() { return flags_ == null ? io.bloombox.schema.partner.PartnerInfo.PartnerFlags.getDefaultInstance() : flags_; } /** *
     * Flags for various things about this partner account.
     * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder getFlagsOrBuilder() { return getFlags(); } public static final int LEGAL_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object legalName_; /** *
     * Legal name of the partner organization.
     * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public java.lang.String getLegalName() { java.lang.Object ref = legalName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); legalName_ = s; return s; } } /** *
     * Legal name of the partner organization.
     * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public com.google.protobuf.ByteString getLegalNameBytes() { java.lang.Object ref = legalName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); legalName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTACT_FIELD_NUMBER = 5; private io.opencannabis.schema.contact.GenericContact.ContactInfo contact_; /** *
     * Contact information for this organization.
     * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public boolean hasContact() { return contact_ != null; } /** *
     * Contact information for this organization.
     * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public io.opencannabis.schema.contact.GenericContact.ContactInfo getContact() { return contact_ == null ? io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_; } /** *
     * Contact information for this organization.
     * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder() { return getContact(); } public static final int BRANDING_FIELD_NUMBER = 6; private io.opencannabis.schema.media.AttachedMedia.MediaItem branding_; /** *
     * Branding information for this organization.
     * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public boolean hasBranding() { return branding_ != null; } /** *
     * Branding information for this organization.
     * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public io.opencannabis.schema.media.AttachedMedia.MediaItem getBranding() { return branding_ == null ? io.opencannabis.schema.media.AttachedMedia.MediaItem.getDefaultInstance() : branding_; } /** *
     * Branding information for this organization.
     * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public io.opencannabis.schema.media.AttachedMedia.MediaItemOrBuilder getBrandingOrBuilder() { return getBranding(); } public static final int CHANNEL_FIELD_NUMBER = 7; private int channel_; /** *
     * Channel through which this partner organization interacts with Bloombox.
     * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public int getChannelValue() { return channel_; } /** *
     * Channel through which this partner organization interacts with Bloombox.
     * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public io.bloombox.schema.partner.PartnerAccount.PartnerChannel getChannel() { @SuppressWarnings("deprecation") io.bloombox.schema.partner.PartnerAccount.PartnerChannel result = io.bloombox.schema.partner.PartnerAccount.PartnerChannel.valueOf(channel_); return result == null ? io.bloombox.schema.partner.PartnerAccount.PartnerChannel.UNRECOGNIZED : result; } public static final int SETTINGS_FIELD_NUMBER = 8; private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings settings_; /** *
     * Settings for this partner.
     * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public boolean hasSettings() { return settings_ != null; } /** *
     * Settings for this partner.
     * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getSettings() { return settings_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance() : settings_; } /** *
     * Settings for this partner.
     * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder getSettingsOrBuilder() { return getSettings(); } public static final int LOCATION_FIELD_NUMBER = 9; private java.util.List location_; /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getLocationList() { return location_; } /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getLocationOrBuilderList() { return location_; } /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public int getLocationCount() { return location_.size(); } /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocation(int index) { return location_.get(index); } /** *
     * Location records attached to this partner.
     * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationOrBuilder( int index) { return location_.get(index); } public static final int POLICY_FIELD_NUMBER = 10; private java.util.List policy_; /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getPolicyList() { return policy_; } /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getPolicyOrBuilderList() { return policy_; } /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public int getPolicyCount() { return policy_.size(); } /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy getPolicy(int index) { return policy_.get(index); } /** *
     * Access policy records attached to this partner.
     * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicyOrBuilder getPolicyOrBuilder( int index) { return policy_.get(index); } public static final int CREATED_FIELD_NUMBER = 100; private io.opencannabis.schema.temporal.TemporalInstant.Instant created_; /** *
     * Timestamp for when this record was created.
     * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public boolean hasCreated() { return created_ != null; } /** *
     * Timestamp for when this record was created.
     * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public io.opencannabis.schema.temporal.TemporalInstant.Instant getCreated() { return created_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : created_; } /** *
     * Timestamp for when this record was created.
     * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getCreatedOrBuilder() { return getCreated(); } public static final int MODIFIED_FIELD_NUMBER = 101; private io.opencannabis.schema.temporal.TemporalInstant.Instant modified_; /** *
     * Timestamp for when this record was last modified.
     * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public boolean hasModified() { return modified_ != null; } /** *
     * Timestamp for when this record was last modified.
     * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public io.opencannabis.schema.temporal.TemporalInstant.Instant getModified() { return modified_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : modified_; } /** *
     * Timestamp for when this record was last modified.
     * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getModifiedOrBuilder() { return getModified(); } 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 (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (flags_ != null) { output.writeMessage(3, getFlags()); } if (!getLegalNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, legalName_); } if (contact_ != null) { output.writeMessage(5, getContact()); } if (branding_ != null) { output.writeMessage(6, getBranding()); } if (channel_ != io.bloombox.schema.partner.PartnerAccount.PartnerChannel.DIRECT.getNumber()) { output.writeEnum(7, channel_); } if (settings_ != null) { output.writeMessage(8, getSettings()); } for (int i = 0; i < location_.size(); i++) { output.writeMessage(9, location_.get(i)); } for (int i = 0; i < policy_.size(); i++) { output.writeMessage(10, policy_.get(i)); } if (created_ != null) { output.writeMessage(100, getCreated()); } if (modified_ != null) { output.writeMessage(101, getModified()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (flags_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getFlags()); } if (!getLegalNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, legalName_); } if (contact_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getContact()); } if (branding_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getBranding()); } if (channel_ != io.bloombox.schema.partner.PartnerAccount.PartnerChannel.DIRECT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, channel_); } if (settings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getSettings()); } for (int i = 0; i < location_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, location_.get(i)); } for (int i = 0; i < policy_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, policy_.get(i)); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(100, getCreated()); } if (modified_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(101, getModified()); } 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.PartnerAccount.Partner)) { return super.equals(obj); } io.bloombox.schema.partner.PartnerAccount.Partner other = (io.bloombox.schema.partner.PartnerAccount.Partner) obj; if (!getCode() .equals(other.getCode())) return false; if (!getName() .equals(other.getName())) return false; if (hasFlags() != other.hasFlags()) return false; if (hasFlags()) { if (!getFlags() .equals(other.getFlags())) return false; } if (!getLegalName() .equals(other.getLegalName())) return false; if (hasContact() != other.hasContact()) return false; if (hasContact()) { if (!getContact() .equals(other.getContact())) return false; } if (hasBranding() != other.hasBranding()) return false; if (hasBranding()) { if (!getBranding() .equals(other.getBranding())) return false; } if (channel_ != other.channel_) return false; if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { if (!getSettings() .equals(other.getSettings())) return false; } if (!getLocationList() .equals(other.getLocationList())) return false; if (!getPolicyList() .equals(other.getPolicyList())) return false; if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (hasModified() != other.hasModified()) return false; if (hasModified()) { if (!getModified() .equals(other.getModified())) 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) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasFlags()) { hash = (37 * hash) + FLAGS_FIELD_NUMBER; hash = (53 * hash) + getFlags().hashCode(); } hash = (37 * hash) + LEGAL_NAME_FIELD_NUMBER; hash = (53 * hash) + getLegalName().hashCode(); if (hasContact()) { hash = (37 * hash) + CONTACT_FIELD_NUMBER; hash = (53 * hash) + getContact().hashCode(); } if (hasBranding()) { hash = (37 * hash) + BRANDING_FIELD_NUMBER; hash = (53 * hash) + getBranding().hashCode(); } hash = (37 * hash) + CHANNEL_FIELD_NUMBER; hash = (53 * hash) + channel_; if (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } if (getLocationCount() > 0) { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocationList().hashCode(); } if (getPolicyCount() > 0) { hash = (37 * hash) + POLICY_FIELD_NUMBER; hash = (53 * hash) + getPolicyList().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } if (hasModified()) { hash = (37 * hash) + MODIFIED_FIELD_NUMBER; hash = (53 * hash) + getModified().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.PartnerAccount.Partner parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.PartnerAccount.Partner 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.PartnerAccount.Partner parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.PartnerAccount.Partner 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.PartnerAccount.Partner parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.PartnerAccount.Partner parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.PartnerAccount.Partner parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.PartnerAccount.Partner 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.PartnerAccount.Partner parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.PartnerAccount.Partner 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.PartnerAccount.Partner parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.PartnerAccount.Partner 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.PartnerAccount.Partner 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 information about a partner organization that has an account opened with Bloombox. A partner can own/manage
     * multiple `Location`s, and is identified uniquely by a short `code`, which is a lowercase string suitable for use in
     * a URL as a slug.
     * 
* * Protobuf type {@code bloombox.partner.Partner} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.Partner) io.bloombox.schema.partner.PartnerAccount.PartnerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.PartnerAccount.internal_static_bloombox_partner_Partner_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.PartnerAccount.internal_static_bloombox_partner_Partner_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.PartnerAccount.Partner.class, io.bloombox.schema.partner.PartnerAccount.Partner.Builder.class); } // Construct using io.bloombox.schema.partner.PartnerAccount.Partner.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLocationFieldBuilder(); getPolicyFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); code_ = ""; name_ = ""; if (flagsBuilder_ == null) { flags_ = null; } else { flags_ = null; flagsBuilder_ = null; } legalName_ = ""; if (contactBuilder_ == null) { contact_ = null; } else { contact_ = null; contactBuilder_ = null; } if (brandingBuilder_ == null) { branding_ = null; } else { branding_ = null; brandingBuilder_ = null; } channel_ = 0; if (settingsBuilder_ == null) { settings_ = null; } else { settings_ = null; settingsBuilder_ = null; } if (locationBuilder_ == null) { location_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { locationBuilder_.clear(); } if (policyBuilder_ == null) { policy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { policyBuilder_.clear(); } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } if (modifiedBuilder_ == null) { modified_ = null; } else { modified_ = null; modifiedBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.PartnerAccount.internal_static_bloombox_partner_Partner_descriptor; } @java.lang.Override public io.bloombox.schema.partner.PartnerAccount.Partner getDefaultInstanceForType() { return io.bloombox.schema.partner.PartnerAccount.Partner.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.PartnerAccount.Partner build() { io.bloombox.schema.partner.PartnerAccount.Partner result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.PartnerAccount.Partner buildPartial() { io.bloombox.schema.partner.PartnerAccount.Partner result = new io.bloombox.schema.partner.PartnerAccount.Partner(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.code_ = code_; result.name_ = name_; if (flagsBuilder_ == null) { result.flags_ = flags_; } else { result.flags_ = flagsBuilder_.build(); } result.legalName_ = legalName_; if (contactBuilder_ == null) { result.contact_ = contact_; } else { result.contact_ = contactBuilder_.build(); } if (brandingBuilder_ == null) { result.branding_ = branding_; } else { result.branding_ = brandingBuilder_.build(); } result.channel_ = channel_; if (settingsBuilder_ == null) { result.settings_ = settings_; } else { result.settings_ = settingsBuilder_.build(); } if (locationBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { location_ = java.util.Collections.unmodifiableList(location_); bitField0_ = (bitField0_ & ~0x00000100); } result.location_ = location_; } else { result.location_ = locationBuilder_.build(); } if (policyBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { policy_ = java.util.Collections.unmodifiableList(policy_); bitField0_ = (bitField0_ & ~0x00000200); } result.policy_ = policy_; } else { result.policy_ = policyBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } if (modifiedBuilder_ == null) { result.modified_ = modified_; } else { result.modified_ = modifiedBuilder_.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.PartnerAccount.Partner) { return mergeFrom((io.bloombox.schema.partner.PartnerAccount.Partner)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.PartnerAccount.Partner other) { if (other == io.bloombox.schema.partner.PartnerAccount.Partner.getDefaultInstance()) return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasFlags()) { mergeFlags(other.getFlags()); } if (!other.getLegalName().isEmpty()) { legalName_ = other.legalName_; onChanged(); } if (other.hasContact()) { mergeContact(other.getContact()); } if (other.hasBranding()) { mergeBranding(other.getBranding()); } if (other.channel_ != 0) { setChannelValue(other.getChannelValue()); } if (other.hasSettings()) { mergeSettings(other.getSettings()); } if (locationBuilder_ == null) { if (!other.location_.isEmpty()) { if (location_.isEmpty()) { location_ = other.location_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureLocationIsMutable(); location_.addAll(other.location_); } onChanged(); } } else { if (!other.location_.isEmpty()) { if (locationBuilder_.isEmpty()) { locationBuilder_.dispose(); locationBuilder_ = null; location_ = other.location_; bitField0_ = (bitField0_ & ~0x00000100); locationBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLocationFieldBuilder() : null; } else { locationBuilder_.addAllMessages(other.location_); } } } if (policyBuilder_ == null) { if (!other.policy_.isEmpty()) { if (policy_.isEmpty()) { policy_ = other.policy_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensurePolicyIsMutable(); policy_.addAll(other.policy_); } onChanged(); } } else { if (!other.policy_.isEmpty()) { if (policyBuilder_.isEmpty()) { policyBuilder_.dispose(); policyBuilder_ = null; policy_ = other.policy_; bitField0_ = (bitField0_ & ~0x00000200); policyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPolicyFieldBuilder() : null; } else { policyBuilder_.addAllMessages(other.policy_); } } } if (other.hasCreated()) { mergeCreated(other.getCreated()); } if (other.hasModified()) { mergeModified(other.getModified()); } 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.PartnerAccount.Partner parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.PartnerAccount.Partner) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object code_ = ""; /** *
       * Short string that uniquely identifies this partner organization.
       * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Short string that uniquely identifies this partner organization.
       * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); code_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Short string that uniquely identifies this partner organization.
       * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public Builder setCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } code_ = value; onChanged(); return this; } /** *
       * Short string that uniquely identifies this partner organization.
       * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public Builder clearCode() { code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** *
       * Short string that uniquely identifies this partner organization.
       * 
* * string code = 1 [(.gen_bq_schema.description) = "Short string that uniquely identifies this partner organization.", (.core.field) = { ... } */ public Builder setCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); code_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Full human-readable label for this partner organization.
       * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Full human-readable label for this partner organization.
       * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Full human-readable label for this partner organization.
       * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Full human-readable label for this partner organization.
       * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Full human-readable label for this partner organization.
       * 
* * string name = 2 [(.gen_bq_schema.description) = "Full human-readable label for this partner organization."]; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private io.bloombox.schema.partner.PartnerInfo.PartnerFlags flags_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.PartnerInfo.PartnerFlags, io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder, io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder> flagsBuilder_; /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public boolean hasFlags() { return flagsBuilder_ != null || flags_ != null; } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public io.bloombox.schema.partner.PartnerInfo.PartnerFlags getFlags() { if (flagsBuilder_ == null) { return flags_ == null ? io.bloombox.schema.partner.PartnerInfo.PartnerFlags.getDefaultInstance() : flags_; } else { return flagsBuilder_.getMessage(); } } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public Builder setFlags(io.bloombox.schema.partner.PartnerInfo.PartnerFlags value) { if (flagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } flags_ = value; onChanged(); } else { flagsBuilder_.setMessage(value); } return this; } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public Builder setFlags( io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder builderForValue) { if (flagsBuilder_ == null) { flags_ = builderForValue.build(); onChanged(); } else { flagsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public Builder mergeFlags(io.bloombox.schema.partner.PartnerInfo.PartnerFlags value) { if (flagsBuilder_ == null) { if (flags_ != null) { flags_ = io.bloombox.schema.partner.PartnerInfo.PartnerFlags.newBuilder(flags_).mergeFrom(value).buildPartial(); } else { flags_ = value; } onChanged(); } else { flagsBuilder_.mergeFrom(value); } return this; } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public Builder clearFlags() { if (flagsBuilder_ == null) { flags_ = null; onChanged(); } else { flags_ = null; flagsBuilder_ = null; } return this; } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder getFlagsBuilder() { onChanged(); return getFlagsFieldBuilder().getBuilder(); } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ public io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder getFlagsOrBuilder() { if (flagsBuilder_ != null) { return flagsBuilder_.getMessageOrBuilder(); } else { return flags_ == null ? io.bloombox.schema.partner.PartnerInfo.PartnerFlags.getDefaultInstance() : flags_; } } /** *
       * Flags for various things about this partner account.
       * 
* * .bloombox.partner.PartnerFlags flags = 3 [(.gen_bq_schema.description) = "Flags for various things about this partner account.", (.core.field) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.PartnerInfo.PartnerFlags, io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder, io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder> getFlagsFieldBuilder() { if (flagsBuilder_ == null) { flagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.PartnerInfo.PartnerFlags, io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder, io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder>( getFlags(), getParentForChildren(), isClean()); flags_ = null; } return flagsBuilder_; } private java.lang.Object legalName_ = ""; /** *
       * Legal name of the partner organization.
       * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public java.lang.String getLegalName() { java.lang.Object ref = legalName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); legalName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Legal name of the partner organization.
       * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public com.google.protobuf.ByteString getLegalNameBytes() { java.lang.Object ref = legalName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); legalName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Legal name of the partner organization.
       * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public Builder setLegalName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } legalName_ = value; onChanged(); return this; } /** *
       * Legal name of the partner organization.
       * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public Builder clearLegalName() { legalName_ = getDefaultInstance().getLegalName(); onChanged(); return this; } /** *
       * Legal name of the partner organization.
       * 
* * string legal_name = 4 [(.gen_bq_schema.description) = "Legal name of the partner organization."]; */ public Builder setLegalNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); legalName_ = value; onChanged(); return this; } private io.opencannabis.schema.contact.GenericContact.ContactInfo contact_; private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.GenericContact.ContactInfo, io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder, io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder> contactBuilder_; /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public boolean hasContact() { return contactBuilder_ != null || contact_ != null; } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public io.opencannabis.schema.contact.GenericContact.ContactInfo getContact() { if (contactBuilder_ == null) { return contact_ == null ? io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_; } else { return contactBuilder_.getMessage(); } } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public Builder setContact(io.opencannabis.schema.contact.GenericContact.ContactInfo value) { if (contactBuilder_ == null) { if (value == null) { throw new NullPointerException(); } contact_ = value; onChanged(); } else { contactBuilder_.setMessage(value); } return this; } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public Builder setContact( io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder builderForValue) { if (contactBuilder_ == null) { contact_ = builderForValue.build(); onChanged(); } else { contactBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public Builder mergeContact(io.opencannabis.schema.contact.GenericContact.ContactInfo value) { if (contactBuilder_ == null) { if (contact_ != null) { contact_ = io.opencannabis.schema.contact.GenericContact.ContactInfo.newBuilder(contact_).mergeFrom(value).buildPartial(); } else { contact_ = value; } onChanged(); } else { contactBuilder_.mergeFrom(value); } return this; } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public Builder clearContact() { if (contactBuilder_ == null) { contact_ = null; onChanged(); } else { contact_ = null; contactBuilder_ = null; } return this; } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder getContactBuilder() { onChanged(); return getContactFieldBuilder().getBuilder(); } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ public io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder() { if (contactBuilder_ != null) { return contactBuilder_.getMessageOrBuilder(); } else { return contact_ == null ? io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_; } } /** *
       * Contact information for this organization.
       * 
* * .opencannabis.contact.ContactInfo contact = 5 [(.gen_bq_schema.description) = "Contact information for this organization."]; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.GenericContact.ContactInfo, io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder, io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder> getContactFieldBuilder() { if (contactBuilder_ == null) { contactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.contact.GenericContact.ContactInfo, io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder, io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder>( getContact(), getParentForChildren(), isClean()); contact_ = null; } return contactBuilder_; } private io.opencannabis.schema.media.AttachedMedia.MediaItem branding_; private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.media.AttachedMedia.MediaItem, io.opencannabis.schema.media.AttachedMedia.MediaItem.Builder, io.opencannabis.schema.media.AttachedMedia.MediaItemOrBuilder> brandingBuilder_; /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public boolean hasBranding() { return brandingBuilder_ != null || branding_ != null; } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public io.opencannabis.schema.media.AttachedMedia.MediaItem getBranding() { if (brandingBuilder_ == null) { return branding_ == null ? io.opencannabis.schema.media.AttachedMedia.MediaItem.getDefaultInstance() : branding_; } else { return brandingBuilder_.getMessage(); } } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public Builder setBranding(io.opencannabis.schema.media.AttachedMedia.MediaItem value) { if (brandingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } branding_ = value; onChanged(); } else { brandingBuilder_.setMessage(value); } return this; } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public Builder setBranding( io.opencannabis.schema.media.AttachedMedia.MediaItem.Builder builderForValue) { if (brandingBuilder_ == null) { branding_ = builderForValue.build(); onChanged(); } else { brandingBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public Builder mergeBranding(io.opencannabis.schema.media.AttachedMedia.MediaItem value) { if (brandingBuilder_ == null) { if (branding_ != null) { branding_ = io.opencannabis.schema.media.AttachedMedia.MediaItem.newBuilder(branding_).mergeFrom(value).buildPartial(); } else { branding_ = value; } onChanged(); } else { brandingBuilder_.mergeFrom(value); } return this; } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public Builder clearBranding() { if (brandingBuilder_ == null) { branding_ = null; onChanged(); } else { branding_ = null; brandingBuilder_ = null; } return this; } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public io.opencannabis.schema.media.AttachedMedia.MediaItem.Builder getBrandingBuilder() { onChanged(); return getBrandingFieldBuilder().getBuilder(); } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ public io.opencannabis.schema.media.AttachedMedia.MediaItemOrBuilder getBrandingOrBuilder() { if (brandingBuilder_ != null) { return brandingBuilder_.getMessageOrBuilder(); } else { return branding_ == null ? io.opencannabis.schema.media.AttachedMedia.MediaItem.getDefaultInstance() : branding_; } } /** *
       * Branding information for this organization.
       * 
* * .opencannabis.media.MediaItem branding = 6 [(.gen_bq_schema.description) = "Branding information for this organization."]; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.media.AttachedMedia.MediaItem, io.opencannabis.schema.media.AttachedMedia.MediaItem.Builder, io.opencannabis.schema.media.AttachedMedia.MediaItemOrBuilder> getBrandingFieldBuilder() { if (brandingBuilder_ == null) { brandingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.media.AttachedMedia.MediaItem, io.opencannabis.schema.media.AttachedMedia.MediaItem.Builder, io.opencannabis.schema.media.AttachedMedia.MediaItemOrBuilder>( getBranding(), getParentForChildren(), isClean()); branding_ = null; } return brandingBuilder_; } private int channel_ = 0; /** *
       * Channel through which this partner organization interacts with Bloombox.
       * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public int getChannelValue() { return channel_; } /** *
       * Channel through which this partner organization interacts with Bloombox.
       * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public Builder setChannelValue(int value) { channel_ = value; onChanged(); return this; } /** *
       * Channel through which this partner organization interacts with Bloombox.
       * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public io.bloombox.schema.partner.PartnerAccount.PartnerChannel getChannel() { @SuppressWarnings("deprecation") io.bloombox.schema.partner.PartnerAccount.PartnerChannel result = io.bloombox.schema.partner.PartnerAccount.PartnerChannel.valueOf(channel_); return result == null ? io.bloombox.schema.partner.PartnerAccount.PartnerChannel.UNRECOGNIZED : result; } /** *
       * Channel through which this partner organization interacts with Bloombox.
       * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public Builder setChannel(io.bloombox.schema.partner.PartnerAccount.PartnerChannel value) { if (value == null) { throw new NullPointerException(); } channel_ = value.getNumber(); onChanged(); return this; } /** *
       * Channel through which this partner organization interacts with Bloombox.
       * 
* * .bloombox.partner.PartnerChannel channel = 7 [(.gen_bq_schema.description) = "Channel through which this partner organization interacts with Bloombox."]; */ public Builder clearChannel() { channel_ = 0; onChanged(); return this; } private io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings settings_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder> settingsBuilder_; /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public boolean hasSettings() { return settingsBuilder_ != null || settings_ != null; } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder setSettings(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; onChanged(); } else { settingsBuilder_.setMessage(value); } return this; } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder setSettings( io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); onChanged(); } else { settingsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder mergeSettings(io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings value) { if (settingsBuilder_ == null) { if (settings_ != null) { settings_ = io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } onChanged(); } else { settingsBuilder_.mergeFrom(value); } return this; } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder clearSettings() { if (settingsBuilder_ == null) { settings_ = null; onChanged(); } else { settings_ = null; settingsBuilder_ = null; } return this; } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder getSettingsBuilder() { onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.getDefaultInstance() : settings_; } } /** *
       * Settings for this partner.
       * 
* * .bloombox.partner.settings.PartnerSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettings.Builder, io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.PartnerSettingsOrBuilder>( getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; } private java.util.List location_ = java.util.Collections.emptyList(); private void ensureLocationIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { location_ = new java.util.ArrayList(location_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder> locationBuilder_; /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getLocationList() { if (locationBuilder_ == null) { return java.util.Collections.unmodifiableList(location_); } else { return locationBuilder_.getMessageList(); } } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public int getLocationCount() { if (locationBuilder_ == null) { return location_.size(); } else { return locationBuilder_.getCount(); } } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocation(int index) { if (locationBuilder_ == null) { return location_.get(index); } else { return locationBuilder_.getMessage(index); } } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder setLocation( int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.set(index, value); onChanged(); } else { locationBuilder_.setMessage(index, value); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder setLocation( int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.set(index, builderForValue.build()); onChanged(); } else { locationBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addLocation(io.bloombox.schema.partner.LocationAccount.PartnerLocation value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.add(value); onChanged(); } else { locationBuilder_.addMessage(value); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addLocation( int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.add(index, value); onChanged(); } else { locationBuilder_.addMessage(index, value); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addLocation( io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.add(builderForValue.build()); onChanged(); } else { locationBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addLocation( int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.add(index, builderForValue.build()); onChanged(); } else { locationBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addAllLocation( java.lang.Iterable values) { if (locationBuilder_ == null) { ensureLocationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, location_); onChanged(); } else { locationBuilder_.addAllMessages(values); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder clearLocation() { if (locationBuilder_ == null) { location_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { locationBuilder_.clear(); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder removeLocation(int index) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.remove(index); onChanged(); } else { locationBuilder_.remove(index); } return this; } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder getLocationBuilder( int index) { return getLocationFieldBuilder().getBuilder(index); } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationOrBuilder( int index) { if (locationBuilder_ == null) { return location_.get(index); } else { return locationBuilder_.getMessageOrBuilder(index); } } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getLocationOrBuilderList() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(location_); } } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder addLocationBuilder() { return getLocationFieldBuilder().addBuilder( io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance()); } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder addLocationBuilder( int index) { return getLocationFieldBuilder().addBuilder( index, io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance()); } /** *
       * Location records attached to this partner.
       * 
* * repeated .bloombox.partner.PartnerLocation location = 9 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getLocationBuilderList() { return getLocationFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>( location_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; } private java.util.List policy_ = java.util.Collections.emptyList(); private void ensurePolicyIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { policy_ = new java.util.ArrayList(policy_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicyOrBuilder> policyBuilder_; /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getPolicyList() { if (policyBuilder_ == null) { return java.util.Collections.unmodifiableList(policy_); } else { return policyBuilder_.getMessageList(); } } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public int getPolicyCount() { if (policyBuilder_ == null) { return policy_.size(); } else { return policyBuilder_.getCount(); } } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy getPolicy(int index) { if (policyBuilder_ == null) { return policy_.get(index); } else { return policyBuilder_.getMessage(index); } } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder setPolicy( int index, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy value) { if (policyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePolicyIsMutable(); policy_.set(index, value); onChanged(); } else { policyBuilder_.setMessage(index, value); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder setPolicy( int index, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder builderForValue) { if (policyBuilder_ == null) { ensurePolicyIsMutable(); policy_.set(index, builderForValue.build()); onChanged(); } else { policyBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addPolicy(io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy value) { if (policyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePolicyIsMutable(); policy_.add(value); onChanged(); } else { policyBuilder_.addMessage(value); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addPolicy( int index, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy value) { if (policyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePolicyIsMutable(); policy_.add(index, value); onChanged(); } else { policyBuilder_.addMessage(index, value); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addPolicy( io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder builderForValue) { if (policyBuilder_ == null) { ensurePolicyIsMutable(); policy_.add(builderForValue.build()); onChanged(); } else { policyBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addPolicy( int index, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder builderForValue) { if (policyBuilder_ == null) { ensurePolicyIsMutable(); policy_.add(index, builderForValue.build()); onChanged(); } else { policyBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder addAllPolicy( java.lang.Iterable values) { if (policyBuilder_ == null) { ensurePolicyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, policy_); onChanged(); } else { policyBuilder_.addAllMessages(values); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder clearPolicy() { if (policyBuilder_ == null) { policy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { policyBuilder_.clear(); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public Builder removePolicy(int index) { if (policyBuilder_ == null) { ensurePolicyIsMutable(); policy_.remove(index); onChanged(); } else { policyBuilder_.remove(index); } return this; } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder getPolicyBuilder( int index) { return getPolicyFieldBuilder().getBuilder(index); } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicyOrBuilder getPolicyOrBuilder( int index) { if (policyBuilder_ == null) { return policy_.get(index); } else { return policyBuilder_.getMessageOrBuilder(index); } } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getPolicyOrBuilderList() { if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(policy_); } } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder addPolicyBuilder() { return getPolicyFieldBuilder().addBuilder( io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.getDefaultInstance()); } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder addPolicyBuilder( int index) { return getPolicyFieldBuilder().addBuilder( index, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.getDefaultInstance()); } /** *
       * Access policy records attached to this partner.
       * 
* * repeated .bloombox.security.access.AccessPolicy policy = 10 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... } */ public java.util.List getPolicyBuilderList() { return getPolicyFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { policyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicy.Builder, io.bloombox.schema.security.access.PartnerPermissions.AccessPolicyOrBuilder>( policy_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); policy_ = null; } return policyBuilder_; } private io.opencannabis.schema.temporal.TemporalInstant.Instant created_; private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder> createdBuilder_; /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public io.opencannabis.schema.temporal.TemporalInstant.Instant getCreated() { if (createdBuilder_ == null) { return created_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : created_; } else { return createdBuilder_.getMessage(); } } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public Builder setCreated(io.opencannabis.schema.temporal.TemporalInstant.Instant value) { if (createdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); } else { createdBuilder_.setMessage(value); } return this; } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public Builder setCreated( io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder builderForValue) { if (createdBuilder_ == null) { created_ = builderForValue.build(); onChanged(); } else { createdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public Builder mergeCreated(io.opencannabis.schema.temporal.TemporalInstant.Instant value) { if (createdBuilder_ == null) { if (created_ != null) { created_ = io.opencannabis.schema.temporal.TemporalInstant.Instant.newBuilder(created_).mergeFrom(value).buildPartial(); } else { created_ = value; } onChanged(); } else { createdBuilder_.mergeFrom(value); } return this; } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ public io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getCreatedOrBuilder() { if (createdBuilder_ != null) { return createdBuilder_.getMessageOrBuilder(); } else { return created_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : created_; } } /** *
       * Timestamp for when this record was created.
       * 
* * .opencannabis.temporal.Instant created = 100 [(.gen_bq_schema.description) = "Timestamp for when this record was created."]; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } private io.opencannabis.schema.temporal.TemporalInstant.Instant modified_; private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder> modifiedBuilder_; /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public boolean hasModified() { return modifiedBuilder_ != null || modified_ != null; } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public io.opencannabis.schema.temporal.TemporalInstant.Instant getModified() { if (modifiedBuilder_ == null) { return modified_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : modified_; } else { return modifiedBuilder_.getMessage(); } } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public Builder setModified(io.opencannabis.schema.temporal.TemporalInstant.Instant value) { if (modifiedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } modified_ = value; onChanged(); } else { modifiedBuilder_.setMessage(value); } return this; } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public Builder setModified( io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder builderForValue) { if (modifiedBuilder_ == null) { modified_ = builderForValue.build(); onChanged(); } else { modifiedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public Builder mergeModified(io.opencannabis.schema.temporal.TemporalInstant.Instant value) { if (modifiedBuilder_ == null) { if (modified_ != null) { modified_ = io.opencannabis.schema.temporal.TemporalInstant.Instant.newBuilder(modified_).mergeFrom(value).buildPartial(); } else { modified_ = value; } onChanged(); } else { modifiedBuilder_.mergeFrom(value); } return this; } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public Builder clearModified() { if (modifiedBuilder_ == null) { modified_ = null; onChanged(); } else { modified_ = null; modifiedBuilder_ = null; } return this; } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder getModifiedBuilder() { onChanged(); return getModifiedFieldBuilder().getBuilder(); } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ public io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getModifiedOrBuilder() { if (modifiedBuilder_ != null) { return modifiedBuilder_.getMessageOrBuilder(); } else { return modified_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : modified_; } } /** *
       * Timestamp for when this record was last modified.
       * 
* * .opencannabis.temporal.Instant modified = 101 [(.gen_bq_schema.description) = "Timestamp for when this record was last modified."]; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder> getModifiedFieldBuilder() { if (modifiedBuilder_ == null) { modifiedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder>( getModified(), getParentForChildren(), isClean()); modified_ = null; } return modifiedBuilder_; } @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.Partner) } // @@protoc_insertion_point(class_scope:bloombox.partner.Partner) private static final io.bloombox.schema.partner.PartnerAccount.Partner DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.PartnerAccount.Partner(); } public static io.bloombox.schema.partner.PartnerAccount.Partner getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Partner parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Partner(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.PartnerAccount.Partner getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_Partner_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_Partner_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\025partner/Partner.proto\022\020bloombox.partne" + "r\032\016bq_field.proto\032\024core/Datamodel.proto\032" + "\025media/MediaItem.proto\032\026temporal/Instant" + ".proto\032\031contact/ContactInfo.proto\032\032partn" + "er/PartnerFlags.proto\032\035partner/PartnerLo" + "cation.proto\032&partner/settings/PartnerSe" + "ttings.proto\032(security/access/PartnerPer" + "missions.proto\"\331\010\n\007Partner\022W\n\004code\030\001 \001(\t" + "BI\302\265\003\002\010\002\212@@Short string that uniquely id" + "entifies this partner organization.\022I\n\004n" + "ame\030\002 \001(\tB;\212@8Full human-readable label " + "for this partner organization.\022l\n\005flags\030" + "\003 \001(\0132\036.bloombox.partner.PartnerFlagsB=\302" + "\265\003\002\010\004\212@4Flags for various things about t" + "his partner account.\022>\n\nlegal_name\030\004 \001(\t" + "B*\212@\'Legal name of the partner organizat" + "ion.\022a\n\007contact\030\005 \001(\0132!.opencannabis.con" + "tact.ContactInfoB-\212@*Contact information" + " for this organization.\022_\n\010branding\030\006 \001(" + "\0132\035.opencannabis.media.MediaItemB.\212@+Bra" + "nding information for this organization." + "\022~\n\007channel\030\007 \001(\0162 .bloombox.partner.Par" + "tnerChannelBK\212@HChannel through which th" + "is partner organization interacts with B" + "loombox.\022E\n\010settings\030\010 \001(\0132*.bloombox.pa" + "rtner.settings.PartnerSettingsB\007\200@\001\322\265\003\000\022" + "I\n\010location\030\t \003(\0132!.bloombox.partner.Par" + "tnerLocationB\024\200@\001\322\265\003\r\010\001\032\tlocations\022K\n\006po" + "licy\030\n \003(\0132&.bloombox.security.access.Ac" + "cessPolicyB\023\200@\001\322\265\003\014\010\001\032\010policies\022_\n\007creat" + "ed\030d \001(\0132\036.opencannabis.temporal.Instant" + "B.\212@+Timestamp for when this record was " + "created.\022f\n\010modified\030e \001(\0132\036.opencannabi" + "s.temporal.InstantB4\212@1Timestamp for whe" + "n this record was last modified.:\020\202\367\002\014\010\002" + "\022\010partners*\034\n\016PartnerChannel\022\n\n\006DIRECT\020\000" + "B6\n\032io.bloombox.schema.partnerB\016PartnerA" + "ccountH\001P\000\242\002\003BBSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { gen_bq_schema.BqField.getDescriptor(), core.Datamodel.getDescriptor(), io.opencannabis.schema.media.AttachedMedia.getDescriptor(), io.opencannabis.schema.temporal.TemporalInstant.getDescriptor(), io.opencannabis.schema.contact.GenericContact.getDescriptor(), io.bloombox.schema.partner.PartnerInfo.getDescriptor(), io.bloombox.schema.partner.LocationAccount.getDescriptor(), io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.getDescriptor(), io.bloombox.schema.security.access.PartnerPermissions.getDescriptor(), }, assigner); internal_static_bloombox_partner_Partner_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_bloombox_partner_Partner_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_Partner_descriptor, new java.lang.String[] { "Code", "Name", "Flags", "LegalName", "Contact", "Branding", "Channel", "Settings", "Location", "Policy", "Created", "Modified", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(core.Datamodel.collection); registry.add(core.Datamodel.db); registry.add(core.Datamodel.field); registry.add(gen_bq_schema.BqField.description); registry.add(gen_bq_schema.BqField.ignore); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); gen_bq_schema.BqField.getDescriptor(); core.Datamodel.getDescriptor(); io.opencannabis.schema.media.AttachedMedia.getDescriptor(); io.opencannabis.schema.temporal.TemporalInstant.getDescriptor(); io.opencannabis.schema.contact.GenericContact.getDescriptor(); io.bloombox.schema.partner.PartnerInfo.getDescriptor(); io.bloombox.schema.partner.LocationAccount.getDescriptor(); io.bloombox.schema.partner.settings.PartnerSettingsOuterClass.getDescriptor(); io.bloombox.schema.security.access.PartnerPermissions.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy