public final class AutomaticShippingImprovements extends GeneratedMessage implements AutomaticShippingImprovementsOrBuilderNot available for advanced accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:
- Delivery address of an order
- Current handling time and shipping time settings
- Estimated weekdays or business days
- Parcel tracking data
Protobuf type google.shopping.merchant.accounts.v1.AutomaticShippingImprovements
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AutomaticShippingImprovementsImplements
AutomaticShippingImprovementsOrBuilderStatic Fields
ALLOW_SHIPPING_IMPROVEMENTS_FIELD_NUMBER
public static final int ALLOW_SHIPPING_IMPROVEMENTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AutomaticShippingImprovements getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AutomaticShippingImprovements.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements.Builder |
|
newBuilder(AutomaticShippingImprovements prototype)
public static AutomaticShippingImprovements.Builder newBuilder(AutomaticShippingImprovements prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AutomaticShippingImprovements |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements.Builder |
|
parseDelimitedFrom(InputStream input)
public static AutomaticShippingImprovements parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutomaticShippingImprovements parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AutomaticShippingImprovements parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutomaticShippingImprovements parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AutomaticShippingImprovements parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutomaticShippingImprovements parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AutomaticShippingImprovements parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutomaticShippingImprovements parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AutomaticShippingImprovements parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutomaticShippingImprovements parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AutomaticShippingImprovements parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutomaticShippingImprovements parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AutomaticShippingImprovements> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AutomaticShippingImprovements> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAllowShippingImprovements()
public boolean getAllowShippingImprovements()Enables automatic shipping improvements.
optional bool allow_shipping_improvements = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowShippingImprovements. |
getDefaultInstanceForType()
public AutomaticShippingImprovements getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements |
|
getParserForType()
public Parser<AutomaticShippingImprovements> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AutomaticShippingImprovements> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasAllowShippingImprovements()
public boolean hasAllowShippingImprovements()Enables automatic shipping improvements.
optional bool allow_shipping_improvements = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allowShippingImprovements field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AutomaticShippingImprovements.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AutomaticShippingImprovements.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements.Builder |
|
toBuilder()
public AutomaticShippingImprovements.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AutomaticShippingImprovements.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|