Class InsertShippingSettingsRequest (0.10.0)

public final class InsertShippingSettingsRequest extends GeneratedMessageV3 implements InsertShippingSettingsRequestOrBuilder

Request message for the InsertShippingSetting method.

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

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_SETTING_FIELD_NUMBER

public static final int SHIPPING_SETTING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InsertShippingSettingsRequest getDefaultInstance()
Returns
Type Description
InsertShippingSettingsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(InsertShippingSettingsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InsertShippingSettingsRequest getDefaultInstanceForType()
Returns
Type Description
InsertShippingSettingsRequest

getParent()

public String getParent()

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The account where this product will be inserted. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShippingSetting()

public ShippingSettings getShippingSetting()

Required. The new version of the account.

.google.shopping.merchant.accounts.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ShippingSettings

The shippingSetting.

getShippingSettingOrBuilder()

public ShippingSettingsOrBuilder getShippingSettingOrBuilder()

Required. The new version of the account.

.google.shopping.merchant.accounts.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ShippingSettingsOrBuilder

hasShippingSetting()

public boolean hasShippingSetting()

Required. The new version of the account.

.google.shopping.merchant.accounts.v1beta.ShippingSettings shipping_setting = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the shippingSetting 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 InsertShippingSettingsRequest.Builder newBuilderForType()
Returns
Type Description
InsertShippingSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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