Class OmnichannelSetting (0.20.0)

public final class OmnichannelSetting extends GeneratedMessageV3 implements OmnichannelSettingOrBuilder

Collection of information related to the omnichannel settings of a merchant.

Protobuf type google.shopping.merchant.accounts.v1beta.OmnichannelSetting

Static Fields

ABOUT_FIELD_NUMBER

public static final int ABOUT_FIELD_NUMBER
Field Value
Type Description
int

INVENTORY_VERIFICATION_FIELD_NUMBER

public static final int INVENTORY_VERIFICATION_FIELD_NUMBER
Field Value
Type Description
int

IN_STOCK_FIELD_NUMBER

public static final int IN_STOCK_FIELD_NUMBER
Field Value
Type Description
int
public static final int LFP_LINK_FIELD_NUMBER
Field Value
Type Description
int

LSF_TYPE_FIELD_NUMBER

public static final int LSF_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ODO_FIELD_NUMBER

public static final int ODO_FIELD_NUMBER
Field Value
Type Description
int

PICKUP_FIELD_NUMBER

public static final int PICKUP_FIELD_NUMBER
Field Value
Type Description
int

REGION_CODE_FIELD_NUMBER

public static final int REGION_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OmnichannelSetting getDefaultInstance()
Returns
Type Description
OmnichannelSetting

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OmnichannelSetting.Builder newBuilder()
Returns
Type Description
OmnichannelSetting.Builder

newBuilder(OmnichannelSetting prototype)

public static OmnichannelSetting.Builder newBuilder(OmnichannelSetting prototype)
Parameter
Name Description
prototype OmnichannelSetting
Returns
Type Description
OmnichannelSetting.Builder

parseDelimitedFrom(InputStream input)

public static OmnichannelSetting parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OmnichannelSetting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OmnichannelSetting parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OmnichannelSetting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OmnichannelSetting parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OmnichannelSetting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OmnichannelSetting parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OmnichannelSetting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OmnichannelSetting parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OmnichannelSetting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OmnichannelSetting parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OmnichannelSetting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OmnichannelSetting
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OmnichannelSetting> parser()
Returns
Type Description
Parser<OmnichannelSetting>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAbout()

public About getAbout()

Optional. The about page URI and state for this country.

.google.shopping.merchant.accounts.v1beta.About about = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
About

The about.

getAboutOrBuilder()

public AboutOrBuilder getAboutOrBuilder()

Optional. The about page URI and state for this country.

.google.shopping.merchant.accounts.v1beta.About about = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AboutOrBuilder

getDefaultInstanceForType()

public OmnichannelSetting getDefaultInstanceForType()
Returns
Type Description
OmnichannelSetting

getInStock()

public InStock getInStock()

Optional. The InStock URI and state for this country.

.google.shopping.merchant.accounts.v1beta.InStock in_stock = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InStock

The inStock.

getInStockOrBuilder()

public InStockOrBuilder getInStockOrBuilder()

Optional. The InStock URI and state for this country.

.google.shopping.merchant.accounts.v1beta.InStock in_stock = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InStockOrBuilder

getInventoryVerification()

public InventoryVerification getInventoryVerification()

Optional. The inventory verification contact and state for this country.

.google.shopping.merchant.accounts.v1beta.InventoryVerification inventory_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InventoryVerification

The inventoryVerification.

getInventoryVerificationOrBuilder()

public InventoryVerificationOrBuilder getInventoryVerificationOrBuilder()

Optional. The inventory verification contact and state for this country.

.google.shopping.merchant.accounts.v1beta.InventoryVerification inventory_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InventoryVerificationOrBuilder
public LfpLink getLfpLink()

Output only. The established link to a LFP provider.

.google.shopping.merchant.accounts.v1beta.LfpLink lfp_link = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpLink

The lfpLink.

getLfpLinkOrBuilder()

public LfpLinkOrBuilder getLfpLinkOrBuilder()

Output only. The established link to a LFP provider.

.google.shopping.merchant.accounts.v1beta.LfpLink lfp_link = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpLinkOrBuilder

getLsfType()

public OmnichannelSetting.LsfType getLsfType()

Required. The Local Store Front type for this country.

.google.shopping.merchant.accounts.v1beta.OmnichannelSetting.LsfType lsf_type = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OmnichannelSetting.LsfType

The lsfType.

getLsfTypeValue()

public int getLsfTypeValue()

Required. The Local Store Front type for this country.

.google.shopping.merchant.accounts.v1beta.OmnichannelSetting.LsfType lsf_type = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for lsfType.

getName()

public String getName()

Identifier. The resource name of the omnichannel setting. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the omnichannel setting. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOdo()

public OnDisplayToOrder getOdo()

Optional. The On Display to Order (ODO) policy URI and state for this country.

.google.shopping.merchant.accounts.v1beta.OnDisplayToOrder odo = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OnDisplayToOrder

The odo.

getOdoOrBuilder()

public OnDisplayToOrderOrBuilder getOdoOrBuilder()

Optional. The On Display to Order (ODO) policy URI and state for this country.

.google.shopping.merchant.accounts.v1beta.OnDisplayToOrder odo = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OnDisplayToOrderOrBuilder

getParserForType()

public Parser<OmnichannelSetting> getParserForType()
Returns
Type Description
Parser<OmnichannelSetting>
Overrides

getPickup()

public Pickup getPickup()

Optional. The Pickup URI and state for this country.

.google.shopping.merchant.accounts.v1beta.Pickup pickup = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pickup

The pickup.

getPickupOrBuilder()

public PickupOrBuilder getPickupOrBuilder()

Optional. The Pickup URI and state for this country.

.google.shopping.merchant.accounts.v1beta.Pickup pickup = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PickupOrBuilder

getRegionCode()

public String getRegionCode()

Required. Immutable. Region code defined by CLDR. Must be provided in the Create method, and is immutable.

string region_code = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The regionCode.

getRegionCodeBytes()

public ByteString getRegionCodeBytes()

Required. Immutable. Region code defined by CLDR. Must be provided in the Create method, and is immutable.

string region_code = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for regionCode.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAbout()

public boolean hasAbout()

Optional. The about page URI and state for this country.

.google.shopping.merchant.accounts.v1beta.About about = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the about field is set.

hasInStock()

public boolean hasInStock()

Optional. The InStock URI and state for this country.

.google.shopping.merchant.accounts.v1beta.InStock in_stock = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inStock field is set.

hasInventoryVerification()

public boolean hasInventoryVerification()

Optional. The inventory verification contact and state for this country.

.google.shopping.merchant.accounts.v1beta.InventoryVerification inventory_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inventoryVerification field is set.

public boolean hasLfpLink()

Output only. The established link to a LFP provider.

.google.shopping.merchant.accounts.v1beta.LfpLink lfp_link = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lfpLink field is set.

hasOdo()

public boolean hasOdo()

Optional. The On Display to Order (ODO) policy URI and state for this country.

.google.shopping.merchant.accounts.v1beta.OnDisplayToOrder odo = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the odo field is set.

hasPickup()

public boolean hasPickup()

Optional. The Pickup URI and state for this country.

.google.shopping.merchant.accounts.v1beta.Pickup pickup = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pickup field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OmnichannelSetting.Builder newBuilderForType()
Returns
Type Description
OmnichannelSetting.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OmnichannelSetting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OmnichannelSetting.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OmnichannelSetting.Builder toBuilder()
Returns
Type Description
OmnichannelSetting.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException