public final class InsertLfpSaleRequest extends GeneratedMessageV3 implements InsertLfpSaleRequestOrBuilder
Request message for the InsertLfpSale method.
Protobuf type google.shopping.merchant.lfp.v1beta.InsertLfpSaleRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InsertLfpSaleRequestImplements
InsertLfpSaleRequestOrBuilderStatic Fields
LFP_SALE_FIELD_NUMBER
public static final int LFP_SALE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static InsertLfpSaleRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static InsertLfpSaleRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest.Builder |
newBuilder(InsertLfpSaleRequest prototype)
public static InsertLfpSaleRequest.Builder newBuilder(InsertLfpSaleRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
InsertLfpSaleRequest |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest.Builder |
parseDelimitedFrom(InputStream input)
public static InsertLfpSaleRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InsertLfpSaleRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static InsertLfpSaleRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InsertLfpSaleRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static InsertLfpSaleRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InsertLfpSaleRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static InsertLfpSaleRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InsertLfpSaleRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static InsertLfpSaleRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InsertLfpSaleRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static InsertLfpSaleRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InsertLfpSaleRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<InsertLfpSaleRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<InsertLfpSaleRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public InsertLfpSaleRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest |
getLfpSale()
public LfpSale getLfpSale()
Required. The sale to insert.
.google.shopping.merchant.lfp.v1beta.LfpSale lfp_sale = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LfpSale |
The lfpSale. |
getLfpSaleOrBuilder()
public LfpSaleOrBuilder getLfpSaleOrBuilder()
Required. The sale to insert.
.google.shopping.merchant.lfp.v1beta.LfpSale lfp_sale = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LfpSaleOrBuilder |
getParent()
public String getParent()
Required. The LFP provider account.
Format: accounts/{lfp_partner}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The LFP provider account.
Format: accounts/{lfp_partner}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getParserForType()
public Parser<InsertLfpSaleRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<InsertLfpSaleRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasLfpSale()
public boolean hasLfpSale()
Required. The sale to insert.
.google.shopping.merchant.lfp.v1beta.LfpSale lfp_sale = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the lfpSale field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public InsertLfpSaleRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InsertLfpSaleRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public InsertLfpSaleRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
InsertLfpSaleRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |