public static final class Service.StoreConfig extends GeneratedMessageV3 implements Service.StoreConfigOrBuilder
A list of stores your products are delivered from.
This is only valid for the local delivery shipment type.
Protobuf type google.shopping.merchant.accounts.v1beta.Service.StoreConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CUTOFF_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_RADIUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STORE_CODES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STORE_SERVICE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Service.StoreConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Service.StoreConfig.Builder newBuilder()
public static Service.StoreConfig.Builder newBuilder(Service.StoreConfig prototype)
public static Service.StoreConfig parseDelimitedFrom(InputStream input)
public static Service.StoreConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Service.StoreConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Service.StoreConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Service.StoreConfig parseFrom(ByteString data)
public static Service.StoreConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Service.StoreConfig parseFrom(CodedInputStream input)
public static Service.StoreConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Service.StoreConfig parseFrom(InputStream input)
public static Service.StoreConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Service.StoreConfig parseFrom(ByteBuffer data)
public static Service.StoreConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Service.StoreConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Service.StoreConfig.CutoffConfig getCutoffConfig()
Configs related to local delivery ends for the day.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig cutoff_config = 3;
public Service.StoreConfig.CutoffConfigOrBuilder getCutoffConfigOrBuilder()
Configs related to local delivery ends for the day.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig cutoff_config = 3;
public Service.StoreConfig getDefaultInstanceForType()
public Parser<Service.StoreConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Distance getServiceRadius()
Maximum delivery radius.
This is only required for the local delivery shipment type.
optional .google.shopping.merchant.accounts.v1beta.Distance service_radius = 4;
Returns |
Type |
Description |
Distance |
The serviceRadius.
|
public DistanceOrBuilder getServiceRadiusOrBuilder()
Maximum delivery radius.
This is only required for the local delivery shipment type.
optional .google.shopping.merchant.accounts.v1beta.Distance service_radius = 4;
public String getStoreCodes(int index)
Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
repeated string store_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The storeCodes at the given index.
|
public ByteString getStoreCodesBytes(int index)
Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
repeated string store_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the storeCodes at the given index.
|
public int getStoreCodesCount()
Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
repeated string store_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of storeCodes.
|
public ProtocolStringList getStoreCodesList()
Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
repeated string store_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
public Service.StoreConfig.StoreServiceType getStoreServiceType()
Indicates whether all stores, or selected stores, listed by this
merchant provide local delivery.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.StoreServiceType store_service_type = 1;
public int getStoreServiceTypeValue()
Indicates whether all stores, or selected stores, listed by this
merchant provide local delivery.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.StoreServiceType store_service_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for storeServiceType.
|
public boolean hasCutoffConfig()
Configs related to local delivery ends for the day.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig cutoff_config = 3;
Returns |
Type |
Description |
boolean |
Whether the cutoffConfig field is set.
|
public boolean hasServiceRadius()
Maximum delivery radius.
This is only required for the local delivery shipment type.
optional .google.shopping.merchant.accounts.v1beta.Distance service_radius = 4;
Returns |
Type |
Description |
boolean |
Whether the serviceRadius field is set.
|
public boolean hasStoreServiceType()
Indicates whether all stores, or selected stores, listed by this
merchant provide local delivery.
optional .google.shopping.merchant.accounts.v1beta.Service.StoreConfig.StoreServiceType store_service_type = 1;
Returns |
Type |
Description |
boolean |
Whether the storeServiceType field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Service.StoreConfig.Builder newBuilderForType()
protected Service.StoreConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Service.StoreConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides