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

io.bloombox.schema.partner.LocationAccountKey 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/LocationKey.proto

package io.bloombox.schema.partner;

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

    /**
     * 
     * Specifies the partner that owns this location.
     * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ boolean hasPartner(); /** *
     * Specifies the partner that owns this location.
     * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner(); /** *
     * Specifies the partner that owns this location.
     * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder(); /** *
     * Short string that uniquely identifies this location, under a given partner account.
     * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.core.field) = { ... } */ java.lang.String getCode(); /** *
     * Short string that uniquely identifies this location, under a given partner account.
     * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.core.field) = { ... } */ com.google.protobuf.ByteString getCodeBytes(); } /** *
   * Specifies a key that references a location owned by a partner organization that has an active account with Bloombox.
   * 
* * Protobuf type {@code bloombox.partner.LocationKey} */ public static final class LocationKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.partner.LocationKey) LocationKeyOrBuilder { private static final long serialVersionUID = 0L; // Use LocationKey.newBuilder() to construct. private LocationKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LocationKey() { code_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LocationKey( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.bloombox.schema.partner.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 18: { java.lang.String s = input.readStringRequireUtf8(); code_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.LocationAccountKey.internal_static_bloombox_partner_LocationKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.LocationAccountKey.internal_static_bloombox_partner_LocationKey_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.LocationAccountKey.LocationKey.class, io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder.class); } public static final int PARTNER_FIELD_NUMBER = 1; private io.bloombox.schema.partner.PartnerMeta.PartnerKey partner_; /** *
     * Specifies the partner that owns this location.
     * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ public boolean hasPartner() { return partner_ != null; } /** *
     * Specifies the partner that owns this location.
     * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ public io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner() { return partner_ == null ? io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance() : partner_; } /** *
     * Specifies the partner that owns this location.
     * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ public io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder() { return getPartner(); } public static final int CODE_FIELD_NUMBER = 2; private volatile java.lang.Object code_; /** *
     * Short string that uniquely identifies this location, under a given partner account.
     * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.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 location, under a given partner account.
     * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.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; } } 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 (partner_ != null) { output.writeMessage(1, getPartner()); } if (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (partner_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPartner()); } if (!getCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_); } 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.LocationAccountKey.LocationKey)) { return super.equals(obj); } io.bloombox.schema.partner.LocationAccountKey.LocationKey other = (io.bloombox.schema.partner.LocationAccountKey.LocationKey) obj; if (hasPartner() != other.hasPartner()) return false; if (hasPartner()) { if (!getPartner() .equals(other.getPartner())) return false; } if (!getCode() .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPartner()) { hash = (37 * hash) + PARTNER_FIELD_NUMBER; hash = (53 * hash) + getPartner().hashCode(); } hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey 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.LocationAccountKey.LocationKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey 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.LocationAccountKey.LocationKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey 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.LocationAccountKey.LocationKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey 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.LocationAccountKey.LocationKey parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey 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.LocationAccountKey.LocationKey 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 a key that references a location owned by a partner organization that has an active account with Bloombox.
     * 
* * Protobuf type {@code bloombox.partner.LocationKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.partner.LocationKey) io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.partner.LocationAccountKey.internal_static_bloombox_partner_LocationKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.partner.LocationAccountKey.internal_static_bloombox_partner_LocationKey_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.partner.LocationAccountKey.LocationKey.class, io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder.class); } // Construct using io.bloombox.schema.partner.LocationAccountKey.LocationKey.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (partnerBuilder_ == null) { partner_ = null; } else { partner_ = null; partnerBuilder_ = null; } code_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.partner.LocationAccountKey.internal_static_bloombox_partner_LocationKey_descriptor; } @java.lang.Override public io.bloombox.schema.partner.LocationAccountKey.LocationKey getDefaultInstanceForType() { return io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.partner.LocationAccountKey.LocationKey build() { io.bloombox.schema.partner.LocationAccountKey.LocationKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.partner.LocationAccountKey.LocationKey buildPartial() { io.bloombox.schema.partner.LocationAccountKey.LocationKey result = new io.bloombox.schema.partner.LocationAccountKey.LocationKey(this); if (partnerBuilder_ == null) { result.partner_ = partner_; } else { result.partner_ = partnerBuilder_.build(); } result.code_ = code_; 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.LocationAccountKey.LocationKey) { return mergeFrom((io.bloombox.schema.partner.LocationAccountKey.LocationKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.partner.LocationAccountKey.LocationKey other) { if (other == io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance()) return this; if (other.hasPartner()) { mergePartner(other.getPartner()); } if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.bloombox.schema.partner.LocationAccountKey.LocationKey parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.partner.LocationAccountKey.LocationKey) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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_; /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ public boolean hasPartner() { return partnerBuilder_ != null || partner_ != null; } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ 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(); } } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ 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; } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ 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; } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ 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; } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ public Builder clearPartner() { if (partnerBuilder_ == null) { partner_ = null; onChanged(); } else { partner_ = null; partnerBuilder_ = null; } return this; } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ public io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder getPartnerBuilder() { onChanged(); return getPartnerFieldBuilder().getBuilder(); } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ 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_; } } /** *
       * Specifies the partner that owns this location.
       * 
* * .bloombox.partner.PartnerKey partner = 1 [(.gen_bq_schema.description) = "Specifies the partner that owns this location."]; */ 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 code_ = ""; /** *
       * Short string that uniquely identifies this location, under a given partner account.
       * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.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 location, under a given partner account.
       * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.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 location, under a given partner account.
       * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.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 location, under a given partner account.
       * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.core.field) = { ... } */ public Builder clearCode() { code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** *
       * Short string that uniquely identifies this location, under a given partner account.
       * 
* * string code = 2 [(.gen_bq_schema.description) = "Short string that uniquely identifies this location, under a given partner account.", (.core.field) = { ... } */ public Builder setCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); code_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:bloombox.partner.LocationKey) } // @@protoc_insertion_point(class_scope:bloombox.partner.LocationKey) private static final io.bloombox.schema.partner.LocationAccountKey.LocationKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.partner.LocationAccountKey.LocationKey(); } public static io.bloombox.schema.partner.LocationAccountKey.LocationKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LocationKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LocationKey(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.LocationAccountKey.LocationKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_partner_LocationKey_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_partner_LocationKey_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\031partner/LocationKey.proto\022\020bloombox.pa" + "rtner\032\016bq_field.proto\032\024core/Datamodel.pr" + "oto\032\030partner/PartnerKey.proto\"\333\001\n\013Locati" + "onKey\022`\n\007partner\030\001 \001(\0132\034.bloombox.partne" + "r.PartnerKeyB1\[email protected] the partner t" + "hat owns this location.\022j\n\004code\030\002 \001(\tB\\\302" + "\265\003\002\010\002\212@SShort string that uniquely ident" + "ifies this location, under a given partn" + "er account.B:\n\032io.bloombox.schema.partne" + "rB\022LocationAccountKeyH\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.bloombox.schema.partner.PartnerMeta.getDescriptor(), }, assigner); internal_static_bloombox_partner_LocationKey_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_bloombox_partner_LocationKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_partner_LocationKey_descriptor, new java.lang.String[] { "Partner", "Code", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(core.Datamodel.field); registry.add(gen_bq_schema.BqField.description); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); gen_bq_schema.BqField.getDescriptor(); core.Datamodel.getDescriptor(); io.bloombox.schema.partner.PartnerMeta.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy