public static final class PrimaryProductDataSource.Destination extends GeneratedMessage implements PrimaryProductDataSource.DestinationOrBuilderDestinations also known as Marketing methods selections.
Protobuf type
google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PrimaryProductDataSource.DestinationStatic Fields
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PrimaryProductDataSource.Destination getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PrimaryProductDataSource.Destination.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
newBuilder(PrimaryProductDataSource.Destination prototype)
public static PrimaryProductDataSource.Destination.Builder newBuilder(PrimaryProductDataSource.Destination prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PrimaryProductDataSource.Destination |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
parseDelimitedFrom(InputStream input)
public static PrimaryProductDataSource.Destination parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrimaryProductDataSource.Destination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PrimaryProductDataSource.Destination parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrimaryProductDataSource.Destination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PrimaryProductDataSource.Destination parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrimaryProductDataSource.Destination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PrimaryProductDataSource.Destination parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrimaryProductDataSource.Destination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PrimaryProductDataSource.Destination parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrimaryProductDataSource.Destination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PrimaryProductDataSource.Destination parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrimaryProductDataSource.Destination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PrimaryProductDataSource.Destination> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Destination> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public PrimaryProductDataSource.Destination getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
getDestination()
public Destination.DestinationEnum getDestination()Marketing methods (also known as destination) selections.
.google.shopping.type.Destination.DestinationEnum destination = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Destination.DestinationEnum |
The destination. |
getDestinationValue()
public int getDestinationValue()Marketing methods (also known as destination) selections.
.google.shopping.type.Destination.DestinationEnum destination = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for destination. |
getParserForType()
public Parser<PrimaryProductDataSource.Destination> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Destination> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getState()
public PrimaryProductDataSource.Destination.State getState()The state of the destination.
.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination.State state = 2;
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.State |
The state. |
getStateValue()
public int getStateValue()The state of the destination.
.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination.State state = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
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 PrimaryProductDataSource.Destination.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PrimaryProductDataSource.Destination.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
toBuilder()
public PrimaryProductDataSource.Destination.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|