io.bloombox.schema.partner.LocationAccount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
The newest version!
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: partner/PartnerLocation.proto
package io.bloombox.schema.partner;
public final class LocationAccount {
private LocationAccount() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PartnerLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.partner.PartnerLocation)
com.google.protobuf.MessageOrBuilder {
/**
*
* Short, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent organization.", (.core.field) = { ... }
*/
java.lang.String getCode();
/**
*
* Short, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent organization.", (.core.field) = { ... }
*/
com.google.protobuf.ByteString
getCodeBytes();
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
boolean hasPartner();
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner();
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder();
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
java.lang.String getName();
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
java.lang.String getLabel();
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
boolean hasFlags();
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
io.bloombox.schema.partner.PartnerInfo.PartnerFlags getFlags();
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder getFlagsOrBuilder();
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
boolean hasContact();
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
io.opencannabis.schema.contact.GenericContact.ContactInfo getContact();
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder();
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
boolean hasBranding();
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
io.opencannabis.schema.media.MediaItemKey.MediaKey getBranding();
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
io.opencannabis.schema.media.MediaItemKey.MediaKeyOrBuilder getBrandingOrBuilder();
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
boolean hasSettings();
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings getSettings();
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettingsOrBuilder getSettingsOrBuilder();
/**
*
* 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 brick-and-mortar location owned by a partner organization that has an active account
* with Bloombox.
*
*
* Protobuf type {@code bloombox.partner.PartnerLocation}
*/
public static final class PartnerLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.partner.PartnerLocation)
PartnerLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use PartnerLocation.newBuilder() to construct.
private PartnerLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PartnerLocation() {
code_ = "";
name_ = "";
label_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PartnerLocation(
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: {
io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder subBuilder = null;
if (partner_ != null) {
subBuilder = partner_.toBuilder();
}
partner_ = input.readMessage(io.bloombox.schema.partner.PartnerMeta.PartnerKey.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(partner_);
partner_ = subBuilder.buildPartial();
}
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
label_ = s;
break;
}
case 42: {
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 50: {
io.opencannabis.schema.media.MediaItemKey.MediaKey.Builder subBuilder = null;
if (branding_ != null) {
subBuilder = branding_.toBuilder();
}
branding_ = input.readMessage(io.opencannabis.schema.media.MediaItemKey.MediaKey.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(branding_);
branding_ = subBuilder.buildPartial();
}
break;
}
case 58: {
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 66: {
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.partner.LocationAccount.internal_static_bloombox_partner_PartnerLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.LocationAccount.internal_static_bloombox_partner_PartnerLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.LocationAccount.PartnerLocation.class, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder.class);
}
public static final int CODE_FIELD_NUMBER = 1;
private volatile java.lang.Object code_;
/**
*
* Short, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent 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, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent 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 PARTNER_FIELD_NUMBER = 2;
private io.bloombox.schema.partner.PartnerMeta.PartnerKey partner_;
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public boolean hasPartner() {
return partner_ != null;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner() {
return partner_ == null ? io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance() : partner_;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder() {
return getPartner();
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
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;
}
}
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
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 LABEL_FIELD_NUMBER = 4;
private volatile java.lang.Object label_;
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
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();
label_ = s;
return s;
}
}
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLAGS_FIELD_NUMBER = 5;
private io.bloombox.schema.partner.PartnerInfo.PartnerFlags flags_;
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
public boolean hasFlags() {
return flags_ != null;
}
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
public io.bloombox.schema.partner.PartnerInfo.PartnerFlags getFlags() {
return flags_ == null ? io.bloombox.schema.partner.PartnerInfo.PartnerFlags.getDefaultInstance() : flags_;
}
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
public io.bloombox.schema.partner.PartnerInfo.PartnerFlagsOrBuilder getFlagsOrBuilder() {
return getFlags();
}
public static final int CONTACT_FIELD_NUMBER = 7;
private io.opencannabis.schema.contact.GenericContact.ContactInfo contact_;
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
public boolean hasContact() {
return contact_ != null;
}
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfo getContact() {
return contact_ == null ? io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_;
}
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder() {
return getContact();
}
public static final int BRANDING_FIELD_NUMBER = 6;
private io.opencannabis.schema.media.MediaItemKey.MediaKey branding_;
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public boolean hasBranding() {
return branding_ != null;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public io.opencannabis.schema.media.MediaItemKey.MediaKey getBranding() {
return branding_ == null ? io.opencannabis.schema.media.MediaItemKey.MediaKey.getDefaultInstance() : branding_;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public io.opencannabis.schema.media.MediaItemKey.MediaKeyOrBuilder getBrandingOrBuilder() {
return getBranding();
}
public static final int SETTINGS_FIELD_NUMBER = 8;
private io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings settings_;
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public boolean hasSettings() {
return settings_ != null;
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings getSettings() {
return settings_ == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.getDefaultInstance() : settings_;
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
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 (partner_ != null) {
output.writeMessage(2, getPartner());
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (!getLabelBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, label_);
}
if (flags_ != null) {
output.writeMessage(5, getFlags());
}
if (branding_ != null) {
output.writeMessage(6, getBranding());
}
if (contact_ != null) {
output.writeMessage(7, getContact());
}
if (settings_ != null) {
output.writeMessage(8, getSettings());
}
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 (partner_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPartner());
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (!getLabelBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, label_);
}
if (flags_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getFlags());
}
if (branding_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBranding());
}
if (contact_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getContact());
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getSettings());
}
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.LocationAccount.PartnerLocation)) {
return super.equals(obj);
}
io.bloombox.schema.partner.LocationAccount.PartnerLocation other = (io.bloombox.schema.partner.LocationAccount.PartnerLocation) obj;
if (!getCode()
.equals(other.getCode())) return false;
if (hasPartner() != other.hasPartner()) return false;
if (hasPartner()) {
if (!getPartner()
.equals(other.getPartner())) return false;
}
if (!getName()
.equals(other.getName())) return false;
if (!getLabel()
.equals(other.getLabel())) return false;
if (hasFlags() != other.hasFlags()) return false;
if (hasFlags()) {
if (!getFlags()
.equals(other.getFlags())) 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 (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) 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();
if (hasPartner()) {
hash = (37 * hash) + PARTNER_FIELD_NUMBER;
hash = (53 * hash) + getPartner().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
if (hasFlags()) {
hash = (37 * hash) + FLAGS_FIELD_NUMBER;
hash = (53 * hash) + getFlags().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();
}
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().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.LocationAccount.PartnerLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation 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.LocationAccount.PartnerLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation 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.LocationAccount.PartnerLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation 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.LocationAccount.PartnerLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation 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.LocationAccount.PartnerLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation 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.LocationAccount.PartnerLocation 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 brick-and-mortar location owned by a partner organization that has an active account
* with Bloombox.
*
*
* Protobuf type {@code bloombox.partner.PartnerLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.partner.PartnerLocation)
io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.partner.LocationAccount.internal_static_bloombox_partner_PartnerLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.LocationAccount.internal_static_bloombox_partner_PartnerLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.LocationAccount.PartnerLocation.class, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder.class);
}
// Construct using io.bloombox.schema.partner.LocationAccount.PartnerLocation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
code_ = "";
if (partnerBuilder_ == null) {
partner_ = null;
} else {
partner_ = null;
partnerBuilder_ = null;
}
name_ = "";
label_ = "";
if (flagsBuilder_ == null) {
flags_ = null;
} else {
flags_ = null;
flagsBuilder_ = null;
}
if (contactBuilder_ == null) {
contact_ = null;
} else {
contact_ = null;
contactBuilder_ = null;
}
if (brandingBuilder_ == null) {
branding_ = null;
} else {
branding_ = null;
brandingBuilder_ = null;
}
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
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.LocationAccount.internal_static_bloombox_partner_PartnerLocation_descriptor;
}
@java.lang.Override
public io.bloombox.schema.partner.LocationAccount.PartnerLocation getDefaultInstanceForType() {
return io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.partner.LocationAccount.PartnerLocation build() {
io.bloombox.schema.partner.LocationAccount.PartnerLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.partner.LocationAccount.PartnerLocation buildPartial() {
io.bloombox.schema.partner.LocationAccount.PartnerLocation result = new io.bloombox.schema.partner.LocationAccount.PartnerLocation(this);
result.code_ = code_;
if (partnerBuilder_ == null) {
result.partner_ = partner_;
} else {
result.partner_ = partnerBuilder_.build();
}
result.name_ = name_;
result.label_ = label_;
if (flagsBuilder_ == null) {
result.flags_ = flags_;
} else {
result.flags_ = flagsBuilder_.build();
}
if (contactBuilder_ == null) {
result.contact_ = contact_;
} else {
result.contact_ = contactBuilder_.build();
}
if (brandingBuilder_ == null) {
result.branding_ = branding_;
} else {
result.branding_ = brandingBuilder_.build();
}
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
if (createdBuilder_ == null) {
result.created_ = created_;
} else {
result.created_ = createdBuilder_.build();
}
if (modifiedBuilder_ == null) {
result.modified_ = modified_;
} else {
result.modified_ = modifiedBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.partner.LocationAccount.PartnerLocation) {
return mergeFrom((io.bloombox.schema.partner.LocationAccount.PartnerLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.partner.LocationAccount.PartnerLocation other) {
if (other == io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance()) return this;
if (!other.getCode().isEmpty()) {
code_ = other.code_;
onChanged();
}
if (other.hasPartner()) {
mergePartner(other.getPartner());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getLabel().isEmpty()) {
label_ = other.label_;
onChanged();
}
if (other.hasFlags()) {
mergeFlags(other.getFlags());
}
if (other.hasContact()) {
mergeContact(other.getContact());
}
if (other.hasBranding()) {
mergeBranding(other.getBranding());
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
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.LocationAccount.PartnerLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.partner.LocationAccount.PartnerLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object code_ = "";
/**
*
* Short, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent 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, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent 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, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent organization.", (.core.field) = { ... }
*/
public Builder setCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
code_ = value;
onChanged();
return this;
}
/**
*
* Short, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent organization.", (.core.field) = { ... }
*/
public Builder clearCode() {
code_ = getDefaultInstance().getCode();
onChanged();
return this;
}
/**
*
* Short, unique string that identifies this location, scoped to the parent organization.
*
*
* string code = 1 [(.gen_bq_schema.description) = "Short, unique string that identifies this location, scoped to the parent 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 io.bloombox.schema.partner.PartnerMeta.PartnerKey partner_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.PartnerMeta.PartnerKey, io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder, io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder> partnerBuilder_;
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public boolean hasPartner() {
return partnerBuilder_ != null || partner_ != null;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner() {
if (partnerBuilder_ == null) {
return partner_ == null ? io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance() : partner_;
} else {
return partnerBuilder_.getMessage();
}
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder setPartner(io.bloombox.schema.partner.PartnerMeta.PartnerKey value) {
if (partnerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
partner_ = value;
onChanged();
} else {
partnerBuilder_.setMessage(value);
}
return this;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder setPartner(
io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder builderForValue) {
if (partnerBuilder_ == null) {
partner_ = builderForValue.build();
onChanged();
} else {
partnerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder mergePartner(io.bloombox.schema.partner.PartnerMeta.PartnerKey value) {
if (partnerBuilder_ == null) {
if (partner_ != null) {
partner_ =
io.bloombox.schema.partner.PartnerMeta.PartnerKey.newBuilder(partner_).mergeFrom(value).buildPartial();
} else {
partner_ = value;
}
onChanged();
} else {
partnerBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder clearPartner() {
if (partnerBuilder_ == null) {
partner_ = null;
onChanged();
} else {
partner_ = null;
partnerBuilder_ = null;
}
return this;
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder getPartnerBuilder() {
onChanged();
return getPartnerFieldBuilder().getBuilder();
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder() {
if (partnerBuilder_ != null) {
return partnerBuilder_.getMessageOrBuilder();
} else {
return partner_ == null ?
io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance() : partner_;
}
}
/**
*
* Partner record that owns this location.
*
*
* .bloombox.partner.PartnerKey partner = 2 [(.gen_bq_schema.ignore) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.PartnerMeta.PartnerKey, io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder, io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder>
getPartnerFieldBuilder() {
if (partnerBuilder_ == null) {
partnerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.PartnerMeta.PartnerKey, io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder, io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder>(
getPartner(),
getParentForChildren(),
isClean());
partner_ = null;
}
return partnerBuilder_;
}
private java.lang.Object name_ = "";
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
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;
}
}
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
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;
}
}
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name of this location, in human-readable verbose form.
*
*
* string name = 3 [(.gen_bq_schema.description) = "Name of this location, in human-readable verbose form."];
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
label_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
label_ = value;
onChanged();
return this;
}
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
onChanged();
return this;
}
/**
*
* Label for this location in the administrative dashboard. If this is not specified, `name` is shown.
*
*
* string label = 4 [(.gen_bq_schema.description) = "Label for this location in the administrative dashboard. If this is not specified, `name` is shown."];
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
label_ = 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 that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
public boolean hasFlags() {
return flagsBuilder_ != null || flags_ != null;
}
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.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 that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.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 that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.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 that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.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 that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
public Builder clearFlags() {
if (flagsBuilder_ == null) {
flags_ = null;
onChanged();
} else {
flags_ = null;
flagsBuilder_ = null;
}
return this;
}
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.core.field) = { ... }
*/
public io.bloombox.schema.partner.PartnerInfo.PartnerFlags.Builder getFlagsBuilder() {
onChanged();
return getFlagsFieldBuilder().getBuilder();
}
/**
*
* Flags that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.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 that specify conditions applied to this partner location.
*
*
* .bloombox.partner.PartnerFlags flags = 5 [(.gen_bq_schema.description) = "Flags that specify conditions applied to this partner location.", (.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 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 location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
public boolean hasContact() {
return contactBuilder_ != null || contact_ != null;
}
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
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 location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
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 location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
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 location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
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 location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
public Builder clearContact() {
if (contactBuilder_ == null) {
contact_ = null;
onChanged();
} else {
contact_ = null;
contactBuilder_ = null;
}
return this;
}
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder getContactBuilder() {
onChanged();
return getContactFieldBuilder().getBuilder();
}
/**
*
* Contact information for this location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
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 location.
*
*
* .opencannabis.contact.ContactInfo contact = 7 [(.gen_bq_schema.description) = "Contact information for this location."];
*/
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.MediaItemKey.MediaKey branding_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.media.MediaItemKey.MediaKey, io.opencannabis.schema.media.MediaItemKey.MediaKey.Builder, io.opencannabis.schema.media.MediaItemKey.MediaKeyOrBuilder> brandingBuilder_;
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public boolean hasBranding() {
return brandingBuilder_ != null || branding_ != null;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public io.opencannabis.schema.media.MediaItemKey.MediaKey getBranding() {
if (brandingBuilder_ == null) {
return branding_ == null ? io.opencannabis.schema.media.MediaItemKey.MediaKey.getDefaultInstance() : branding_;
} else {
return brandingBuilder_.getMessage();
}
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public Builder setBranding(io.opencannabis.schema.media.MediaItemKey.MediaKey value) {
if (brandingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
branding_ = value;
onChanged();
} else {
brandingBuilder_.setMessage(value);
}
return this;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public Builder setBranding(
io.opencannabis.schema.media.MediaItemKey.MediaKey.Builder builderForValue) {
if (brandingBuilder_ == null) {
branding_ = builderForValue.build();
onChanged();
} else {
brandingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public Builder mergeBranding(io.opencannabis.schema.media.MediaItemKey.MediaKey value) {
if (brandingBuilder_ == null) {
if (branding_ != null) {
branding_ =
io.opencannabis.schema.media.MediaItemKey.MediaKey.newBuilder(branding_).mergeFrom(value).buildPartial();
} else {
branding_ = value;
}
onChanged();
} else {
brandingBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public Builder clearBranding() {
if (brandingBuilder_ == null) {
branding_ = null;
onChanged();
} else {
branding_ = null;
brandingBuilder_ = null;
}
return this;
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public io.opencannabis.schema.media.MediaItemKey.MediaKey.Builder getBrandingBuilder() {
onChanged();
return getBrandingFieldBuilder().getBuilder();
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
public io.opencannabis.schema.media.MediaItemKey.MediaKeyOrBuilder getBrandingOrBuilder() {
if (brandingBuilder_ != null) {
return brandingBuilder_.getMessageOrBuilder();
} else {
return branding_ == null ?
io.opencannabis.schema.media.MediaItemKey.MediaKey.getDefaultInstance() : branding_;
}
}
/**
*
* Branding specific to this location. Partner-level branding is used if this is left unspecified.
*
*
* .opencannabis.media.MediaKey branding = 6 [(.gen_bq_schema.description) = "Branding specific to this location. Partner-level branding is used if this is left unspecified."];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.media.MediaItemKey.MediaKey, io.opencannabis.schema.media.MediaItemKey.MediaKey.Builder, io.opencannabis.schema.media.MediaItemKey.MediaKeyOrBuilder>
getBrandingFieldBuilder() {
if (brandingBuilder_ == null) {
brandingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.media.MediaItemKey.MediaKey, io.opencannabis.schema.media.MediaItemKey.MediaKey.Builder, io.opencannabis.schema.media.MediaItemKey.MediaKeyOrBuilder>(
getBranding(),
getParentForChildren(),
isClean());
branding_ = null;
}
return brandingBuilder_;
}
private io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettingsOrBuilder> settingsBuilder_;
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public Builder setSettings(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public Builder setSettings(
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public Builder mergeSettings(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings 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 location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.getDefaultInstance() : settings_;
}
}
/**
*
* Settings for this partner location.
*
*
* .bloombox.partner.settings.PartnerLocationSettings settings = 8 [(.gen_bq_schema.ignore) = true, (.core.collection) = { ... }
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.PartnerLocationSettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
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.PartnerLocation)
}
// @@protoc_insertion_point(class_scope:bloombox.partner.PartnerLocation)
private static final io.bloombox.schema.partner.LocationAccount.PartnerLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.partner.LocationAccount.PartnerLocation();
}
public static io.bloombox.schema.partner.LocationAccount.PartnerLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PartnerLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PartnerLocation(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.LocationAccount.PartnerLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_partner_PartnerLocation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_partner_PartnerLocation_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\035partner/PartnerLocation.proto\022\020bloombo" +
"x.partner\032\016bq_field.proto\032\024core/Datamode" +
"l.proto\032\024media/MediaKey.proto\032\026temporal/" +
"Instant.proto\032\031contact/ContactInfo.proto" +
"\032\030partner/PartnerKey.proto\032\032partner/Part" +
"nerFlags.proto\032.partner/settings/Partner" +
"LocationSettings.proto\"\214\010\n\017PartnerLocati" +
"on\022m\n\004code\030\001 \001(\tB_\302\265\003\002\010\002\212@VShort, unique" +
" string that identifies this location, s" +
"coped to the parent organization.\0222\n\007par" +
"tner\030\002 \001(\0132\034.bloombox.partner.PartnerKey" +
"B\003\200@\001\022G\n\004name\030\003 \001(\tB9\212@6Name of this loc" +
"ation, in human-readable verbose form.\022u" +
"\n\005label\030\004 \001(\tBf\212@cLabel for this locatio" +
"n in the administrative dashboard. If th" +
"is is not specified, `name` is shown.\022w\n" +
"\005flags\030\005 \001(\0132\036.bloombox.partner.PartnerF" +
"lagsBH\302\265\003\002\010\004\212@?Flags that specify condit" +
"ions applied to this partner location.\022]" +
"\n\007contact\030\007 \001(\0132!.opencannabis.contact.C" +
"ontactInfoB)\212@&Contact information for t" +
"his location.\022\222\001\n\010branding\030\006 \001(\0132\034.openc" +
"annabis.media.MediaKeyBb\212@_Branding spec" +
"ific to this location. Partner-level bra" +
"nding is used if this is left unspecifie" +
"d.\022M\n\010settings\030\010 \001(\01322.bloombox.partner." +
"settings.PartnerLocationSettingsB\007\200@\001\322\265\003" +
"\000\022_\n\007created\030d \001(\0132\036.opencannabis.tempor" +
"al.InstantB.\212@+Timestamp for when this r" +
"ecord was created.\022f\n\010modified\030e \001(\0132\036.o" +
"pencannabis.temporal.InstantB4\212@1Timesta" +
"mp for when this record was last modifie" +
"d.:\021\202\367\002\r\010\001\022\tlocationsB7\n\032io.bloombox.sch" +
"ema.partnerB\017LocationAccountH\001P\000\242\002\003BBSb\006" +
"proto3"
};
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.MediaItemKey.getDescriptor(),
io.opencannabis.schema.temporal.TemporalInstant.getDescriptor(),
io.opencannabis.schema.contact.GenericContact.getDescriptor(),
io.bloombox.schema.partner.PartnerMeta.getDescriptor(),
io.bloombox.schema.partner.PartnerInfo.getDescriptor(),
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.getDescriptor(),
}, assigner);
internal_static_bloombox_partner_PartnerLocation_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bloombox_partner_PartnerLocation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_partner_PartnerLocation_descriptor,
new java.lang.String[] { "Code", "Partner", "Name", "Label", "Flags", "Contact", "Branding", "Settings", "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.MediaItemKey.getDescriptor();
io.opencannabis.schema.temporal.TemporalInstant.getDescriptor();
io.opencannabis.schema.contact.GenericContact.getDescriptor();
io.bloombox.schema.partner.PartnerMeta.getDescriptor();
io.bloombox.schema.partner.PartnerInfo.getDescriptor();
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy