Send feedback
Class Service.StoreConfig (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.12.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]