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

com.google.shopping.merchant.accounts.v1beta.Warehouse Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * 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: google/shopping/merchant/accounts/v1beta/shippingsettings.proto

// Protobuf Java Version: 3.25.5
package com.google.shopping.merchant.accounts.v1beta;

/**
 *
 *
 * 
 * A fulfillment warehouse, which stores and handles inventory.
 * Next tag: 7
 * 
* * Protobuf type {@code google.shopping.merchant.accounts.v1beta.Warehouse} */ public final class Warehouse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.accounts.v1beta.Warehouse) WarehouseOrBuilder { private static final long serialVersionUID = 0L; // Use Warehouse.newBuilder() to construct. private Warehouse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Warehouse() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Warehouse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.merchant.accounts.v1beta.ShippingSettingsProto .internal_static_google_shopping_merchant_accounts_v1beta_Warehouse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.merchant.accounts.v1beta.ShippingSettingsProto .internal_static_google_shopping_merchant_accounts_v1beta_Warehouse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.shopping.merchant.accounts.v1beta.Warehouse.class, com.google.shopping.merchant.accounts.v1beta.Warehouse.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * * *
   * Required. The name of the warehouse. Must be unique within account.
   * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * Required. The name of the warehouse. Must be unique within account.
   * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @java.lang.Override 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; } } /** * * *
   * Required. The name of the warehouse. Must be unique within account.
   * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ @java.lang.Override 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 SHIPPING_ADDRESS_FIELD_NUMBER = 2; private com.google.shopping.merchant.accounts.v1beta.Address shippingAddress_; /** * * *
   * Required. Shipping address of the warehouse.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the shippingAddress field is set. */ @java.lang.Override public boolean hasShippingAddress() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * Required. Shipping address of the warehouse.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The shippingAddress. */ @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.Address getShippingAddress() { return shippingAddress_ == null ? com.google.shopping.merchant.accounts.v1beta.Address.getDefaultInstance() : shippingAddress_; } /** * * *
   * Required. Shipping address of the warehouse.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.AddressOrBuilder getShippingAddressOrBuilder() { return shippingAddress_ == null ? com.google.shopping.merchant.accounts.v1beta.Address.getDefaultInstance() : shippingAddress_; } public static final int CUTOFF_TIME_FIELD_NUMBER = 3; private com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoffTime_; /** * * *
   * Required. The latest time of day that an order can be accepted and begin
   * processing. Later orders will be processed in the next day. The time is
   * based on the warehouse postal code.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the cutoffTime field is set. */ @java.lang.Override public boolean hasCutoffTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * Required. The latest time of day that an order can be accepted and begin
   * processing. Later orders will be processed in the next day. The time is
   * based on the warehouse postal code.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return The cutoffTime. */ @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime getCutoffTime() { return cutoffTime_ == null ? com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.getDefaultInstance() : cutoffTime_; } /** * * *
   * Required. The latest time of day that an order can be accepted and begin
   * processing. Later orders will be processed in the next day. The time is
   * based on the warehouse postal code.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTimeOrBuilder getCutoffTimeOrBuilder() { return cutoffTime_ == null ? com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.getDefaultInstance() : cutoffTime_; } public static final int HANDLING_DAYS_FIELD_NUMBER = 4; private long handlingDays_ = 0L; /** * * *
   * Required. The number of days it takes for this warehouse to pack up and
   * ship an item. This is on the warehouse level, but can be overridden on the
   * offer level based on the attributes of an item.
   * 
* * optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the handlingDays field is set. */ @java.lang.Override public boolean hasHandlingDays() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
   * Required. The number of days it takes for this warehouse to pack up and
   * ship an item. This is on the warehouse level, but can be overridden on the
   * offer level based on the attributes of an item.
   * 
* * optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The handlingDays. */ @java.lang.Override public long getHandlingDays() { return handlingDays_; } public static final int BUSINESS_DAY_CONFIG_FIELD_NUMBER = 5; private com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig businessDayConfig_; /** * * *
   * Business days of the warehouse.
   * If not set, will be Monday to Friday by default.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * * * @return Whether the businessDayConfig field is set. */ @java.lang.Override public boolean hasBusinessDayConfig() { return ((bitField0_ & 0x00000010) != 0); } /** * * *
   * Business days of the warehouse.
   * If not set, will be Monday to Friday by default.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * * * @return The businessDayConfig. */ @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig getBusinessDayConfig() { return businessDayConfig_ == null ? com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.getDefaultInstance() : businessDayConfig_; } /** * * *
   * Business days of the warehouse.
   * If not set, will be Monday to Friday by default.
   * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.BusinessDayConfigOrBuilder getBusinessDayConfigOrBuilder() { return businessDayConfig_ == null ? com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.getDefaultInstance() : businessDayConfig_; } 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 (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getShippingAddress()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getCutoffTime()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, handlingDays_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getBusinessDayConfig()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getShippingAddress()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCutoffTime()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, handlingDays_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getBusinessDayConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.shopping.merchant.accounts.v1beta.Warehouse)) { return super.equals(obj); } com.google.shopping.merchant.accounts.v1beta.Warehouse other = (com.google.shopping.merchant.accounts.v1beta.Warehouse) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName().equals(other.getName())) return false; } if (hasShippingAddress() != other.hasShippingAddress()) return false; if (hasShippingAddress()) { if (!getShippingAddress().equals(other.getShippingAddress())) return false; } if (hasCutoffTime() != other.hasCutoffTime()) return false; if (hasCutoffTime()) { if (!getCutoffTime().equals(other.getCutoffTime())) return false; } if (hasHandlingDays() != other.hasHandlingDays()) return false; if (hasHandlingDays()) { if (getHandlingDays() != other.getHandlingDays()) return false; } if (hasBusinessDayConfig() != other.hasBusinessDayConfig()) return false; if (hasBusinessDayConfig()) { if (!getBusinessDayConfig().equals(other.getBusinessDayConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasShippingAddress()) { hash = (37 * hash) + SHIPPING_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getShippingAddress().hashCode(); } if (hasCutoffTime()) { hash = (37 * hash) + CUTOFF_TIME_FIELD_NUMBER; hash = (53 * hash) + getCutoffTime().hashCode(); } if (hasHandlingDays()) { hash = (37 * hash) + HANDLING_DAYS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getHandlingDays()); } if (hasBusinessDayConfig()) { hash = (37 * hash) + BUSINESS_DAY_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getBusinessDayConfig().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse 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 com.google.shopping.merchant.accounts.v1beta.Warehouse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse 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 com.google.shopping.merchant.accounts.v1beta.Warehouse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse 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( com.google.shopping.merchant.accounts.v1beta.Warehouse 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; } /** * * *
   * A fulfillment warehouse, which stores and handles inventory.
   * Next tag: 7
   * 
* * Protobuf type {@code google.shopping.merchant.accounts.v1beta.Warehouse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.accounts.v1beta.Warehouse) com.google.shopping.merchant.accounts.v1beta.WarehouseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.merchant.accounts.v1beta.ShippingSettingsProto .internal_static_google_shopping_merchant_accounts_v1beta_Warehouse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.merchant.accounts.v1beta.ShippingSettingsProto .internal_static_google_shopping_merchant_accounts_v1beta_Warehouse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.shopping.merchant.accounts.v1beta.Warehouse.class, com.google.shopping.merchant.accounts.v1beta.Warehouse.Builder.class); } // Construct using com.google.shopping.merchant.accounts.v1beta.Warehouse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getShippingAddressFieldBuilder(); getCutoffTimeFieldBuilder(); getBusinessDayConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; shippingAddress_ = null; if (shippingAddressBuilder_ != null) { shippingAddressBuilder_.dispose(); shippingAddressBuilder_ = null; } cutoffTime_ = null; if (cutoffTimeBuilder_ != null) { cutoffTimeBuilder_.dispose(); cutoffTimeBuilder_ = null; } handlingDays_ = 0L; businessDayConfig_ = null; if (businessDayConfigBuilder_ != null) { businessDayConfigBuilder_.dispose(); businessDayConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.shopping.merchant.accounts.v1beta.ShippingSettingsProto .internal_static_google_shopping_merchant_accounts_v1beta_Warehouse_descriptor; } @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.Warehouse getDefaultInstanceForType() { return com.google.shopping.merchant.accounts.v1beta.Warehouse.getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.Warehouse build() { com.google.shopping.merchant.accounts.v1beta.Warehouse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.Warehouse buildPartial() { com.google.shopping.merchant.accounts.v1beta.Warehouse result = new com.google.shopping.merchant.accounts.v1beta.Warehouse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.shopping.merchant.accounts.v1beta.Warehouse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.shippingAddress_ = shippingAddressBuilder_ == null ? shippingAddress_ : shippingAddressBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.cutoffTime_ = cutoffTimeBuilder_ == null ? cutoffTime_ : cutoffTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.handlingDays_ = handlingDays_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.businessDayConfig_ = businessDayConfigBuilder_ == null ? businessDayConfig_ : businessDayConfigBuilder_.build(); to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @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 com.google.shopping.merchant.accounts.v1beta.Warehouse) { return mergeFrom((com.google.shopping.merchant.accounts.v1beta.Warehouse) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.shopping.merchant.accounts.v1beta.Warehouse other) { if (other == com.google.shopping.merchant.accounts.v1beta.Warehouse.getDefaultInstance()) return this; if (other.hasName()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasShippingAddress()) { mergeShippingAddress(other.getShippingAddress()); } if (other.hasCutoffTime()) { mergeCutoffTime(other.getCutoffTime()); } if (other.hasHandlingDays()) { setHandlingDays(other.getHandlingDays()); } if (other.hasBusinessDayConfig()) { mergeBusinessDayConfig(other.getBusinessDayConfig()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage(getShippingAddressFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage(getCutoffTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { handlingDays_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { input.readMessage( getBusinessDayConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * * *
     * Required. The name of the warehouse. Must be unique within account.
     * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
     * Required. The name of the warehouse. Must be unique within account.
     * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ 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; } } /** * * *
     * Required. The name of the warehouse. Must be unique within account.
     * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ 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; } } /** * * *
     * Required. The name of the warehouse. Must be unique within account.
     * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The name to set. * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Required. The name of the warehouse. Must be unique within account.
     * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
     * Required. The name of the warehouse. Must be unique within account.
     * 
* * optional string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.shopping.merchant.accounts.v1beta.Address shippingAddress_; private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.Address, com.google.shopping.merchant.accounts.v1beta.Address.Builder, com.google.shopping.merchant.accounts.v1beta.AddressOrBuilder> shippingAddressBuilder_; /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the shippingAddress field is set. */ public boolean hasShippingAddress() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * * * @return The shippingAddress. */ public com.google.shopping.merchant.accounts.v1beta.Address getShippingAddress() { if (shippingAddressBuilder_ == null) { return shippingAddress_ == null ? com.google.shopping.merchant.accounts.v1beta.Address.getDefaultInstance() : shippingAddress_; } else { return shippingAddressBuilder_.getMessage(); } } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setShippingAddress(com.google.shopping.merchant.accounts.v1beta.Address value) { if (shippingAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } shippingAddress_ = value; } else { shippingAddressBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setShippingAddress( com.google.shopping.merchant.accounts.v1beta.Address.Builder builderForValue) { if (shippingAddressBuilder_ == null) { shippingAddress_ = builderForValue.build(); } else { shippingAddressBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder mergeShippingAddress( com.google.shopping.merchant.accounts.v1beta.Address value) { if (shippingAddressBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && shippingAddress_ != null && shippingAddress_ != com.google.shopping.merchant.accounts.v1beta.Address.getDefaultInstance()) { getShippingAddressBuilder().mergeFrom(value); } else { shippingAddress_ = value; } } else { shippingAddressBuilder_.mergeFrom(value); } if (shippingAddress_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder clearShippingAddress() { bitField0_ = (bitField0_ & ~0x00000002); shippingAddress_ = null; if (shippingAddressBuilder_ != null) { shippingAddressBuilder_.dispose(); shippingAddressBuilder_ = null; } onChanged(); return this; } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.shopping.merchant.accounts.v1beta.Address.Builder getShippingAddressBuilder() { bitField0_ |= 0x00000002; onChanged(); return getShippingAddressFieldBuilder().getBuilder(); } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.shopping.merchant.accounts.v1beta.AddressOrBuilder getShippingAddressOrBuilder() { if (shippingAddressBuilder_ != null) { return shippingAddressBuilder_.getMessageOrBuilder(); } else { return shippingAddress_ == null ? com.google.shopping.merchant.accounts.v1beta.Address.getDefaultInstance() : shippingAddress_; } } /** * * *
     * Required. Shipping address of the warehouse.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.Address shipping_address = 2 [(.google.api.field_behavior) = REQUIRED]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.Address, com.google.shopping.merchant.accounts.v1beta.Address.Builder, com.google.shopping.merchant.accounts.v1beta.AddressOrBuilder> getShippingAddressFieldBuilder() { if (shippingAddressBuilder_ == null) { shippingAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.Address, com.google.shopping.merchant.accounts.v1beta.Address.Builder, com.google.shopping.merchant.accounts.v1beta.AddressOrBuilder>( getShippingAddress(), getParentForChildren(), isClean()); shippingAddress_ = null; } return shippingAddressBuilder_; } private com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoffTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime, com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.Builder, com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTimeOrBuilder> cutoffTimeBuilder_; /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the cutoffTime field is set. */ public boolean hasCutoffTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return The cutoffTime. */ public com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime getCutoffTime() { if (cutoffTimeBuilder_ == null) { return cutoffTime_ == null ? com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.getDefaultInstance() : cutoffTime_; } else { return cutoffTimeBuilder_.getMessage(); } } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setCutoffTime( com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime value) { if (cutoffTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cutoffTime_ = value; } else { cutoffTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setCutoffTime( com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.Builder builderForValue) { if (cutoffTimeBuilder_ == null) { cutoffTime_ = builderForValue.build(); } else { cutoffTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder mergeCutoffTime( com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime value) { if (cutoffTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && cutoffTime_ != null && cutoffTime_ != com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime .getDefaultInstance()) { getCutoffTimeBuilder().mergeFrom(value); } else { cutoffTime_ = value; } } else { cutoffTimeBuilder_.mergeFrom(value); } if (cutoffTime_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder clearCutoffTime() { bitField0_ = (bitField0_ & ~0x00000004); cutoffTime_ = null; if (cutoffTimeBuilder_ != null) { cutoffTimeBuilder_.dispose(); cutoffTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.Builder getCutoffTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCutoffTimeFieldBuilder().getBuilder(); } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTimeOrBuilder getCutoffTimeOrBuilder() { if (cutoffTimeBuilder_ != null) { return cutoffTimeBuilder_.getMessageOrBuilder(); } else { return cutoffTime_ == null ? com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.getDefaultInstance() : cutoffTime_; } } /** * * *
     * Required. The latest time of day that an order can be accepted and begin
     * processing. Later orders will be processed in the next day. The time is
     * based on the warehouse postal code.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime cutoff_time = 3 [(.google.api.field_behavior) = REQUIRED]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime, com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.Builder, com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTimeOrBuilder> getCutoffTimeFieldBuilder() { if (cutoffTimeBuilder_ == null) { cutoffTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime, com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTime.Builder, com.google.shopping.merchant.accounts.v1beta.WarehouseCutoffTimeOrBuilder>( getCutoffTime(), getParentForChildren(), isClean()); cutoffTime_ = null; } return cutoffTimeBuilder_; } private long handlingDays_; /** * * *
     * Required. The number of days it takes for this warehouse to pack up and
     * ship an item. This is on the warehouse level, but can be overridden on the
     * offer level based on the attributes of an item.
     * 
* * optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the handlingDays field is set. */ @java.lang.Override public boolean hasHandlingDays() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
     * Required. The number of days it takes for this warehouse to pack up and
     * ship an item. This is on the warehouse level, but can be overridden on the
     * offer level based on the attributes of an item.
     * 
* * optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The handlingDays. */ @java.lang.Override public long getHandlingDays() { return handlingDays_; } /** * * *
     * Required. The number of days it takes for this warehouse to pack up and
     * ship an item. This is on the warehouse level, but can be overridden on the
     * offer level based on the attributes of an item.
     * 
* * optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED]; * * @param value The handlingDays to set. * @return This builder for chaining. */ public Builder setHandlingDays(long value) { handlingDays_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Required. The number of days it takes for this warehouse to pack up and
     * ship an item. This is on the warehouse level, but can be overridden on the
     * offer level based on the attributes of an item.
     * 
* * optional int64 handling_days = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ public Builder clearHandlingDays() { bitField0_ = (bitField0_ & ~0x00000008); handlingDays_ = 0L; onChanged(); return this; } private com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig businessDayConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig, com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Builder, com.google.shopping.merchant.accounts.v1beta.BusinessDayConfigOrBuilder> businessDayConfigBuilder_; /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * * * @return Whether the businessDayConfig field is set. */ public boolean hasBusinessDayConfig() { return ((bitField0_ & 0x00000010) != 0); } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * * * @return The businessDayConfig. */ public com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig getBusinessDayConfig() { if (businessDayConfigBuilder_ == null) { return businessDayConfig_ == null ? com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.getDefaultInstance() : businessDayConfig_; } else { return businessDayConfigBuilder_.getMessage(); } } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ public Builder setBusinessDayConfig( com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig value) { if (businessDayConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } businessDayConfig_ = value; } else { businessDayConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ public Builder setBusinessDayConfig( com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Builder builderForValue) { if (businessDayConfigBuilder_ == null) { businessDayConfig_ = builderForValue.build(); } else { businessDayConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ public Builder mergeBusinessDayConfig( com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig value) { if (businessDayConfigBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && businessDayConfig_ != null && businessDayConfig_ != com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig .getDefaultInstance()) { getBusinessDayConfigBuilder().mergeFrom(value); } else { businessDayConfig_ = value; } } else { businessDayConfigBuilder_.mergeFrom(value); } if (businessDayConfig_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ public Builder clearBusinessDayConfig() { bitField0_ = (bitField0_ & ~0x00000010); businessDayConfig_ = null; if (businessDayConfigBuilder_ != null) { businessDayConfigBuilder_.dispose(); businessDayConfigBuilder_ = null; } onChanged(); return this; } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ public com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Builder getBusinessDayConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getBusinessDayConfigFieldBuilder().getBuilder(); } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ public com.google.shopping.merchant.accounts.v1beta.BusinessDayConfigOrBuilder getBusinessDayConfigOrBuilder() { if (businessDayConfigBuilder_ != null) { return businessDayConfigBuilder_.getMessageOrBuilder(); } else { return businessDayConfig_ == null ? com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.getDefaultInstance() : businessDayConfig_; } } /** * * *
     * Business days of the warehouse.
     * If not set, will be Monday to Friday by default.
     * 
* * * optional .google.shopping.merchant.accounts.v1beta.BusinessDayConfig business_day_config = 5; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig, com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Builder, com.google.shopping.merchant.accounts.v1beta.BusinessDayConfigOrBuilder> getBusinessDayConfigFieldBuilder() { if (businessDayConfigBuilder_ == null) { businessDayConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig, com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Builder, com.google.shopping.merchant.accounts.v1beta.BusinessDayConfigOrBuilder>( getBusinessDayConfig(), getParentForChildren(), isClean()); businessDayConfig_ = null; } return businessDayConfigBuilder_; } @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:google.shopping.merchant.accounts.v1beta.Warehouse) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.accounts.v1beta.Warehouse) private static final com.google.shopping.merchant.accounts.v1beta.Warehouse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.shopping.merchant.accounts.v1beta.Warehouse(); } public static com.google.shopping.merchant.accounts.v1beta.Warehouse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Warehouse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.shopping.merchant.accounts.v1beta.Warehouse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy