public static final class PrimaryProductDataSource.Destination.Builder extends GeneratedMessage.Builder<PrimaryProductDataSource.Destination.Builder> implements PrimaryProductDataSource.DestinationOrBuilderDestinations also known as Marketing methods selections.
Protobuf type
google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PrimaryProductDataSource.Destination.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PrimaryProductDataSource.Destination build()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
buildPartial()
public PrimaryProductDataSource.Destination buildPartial()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
clear()
public PrimaryProductDataSource.Destination.Builder clear()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
clearDestination()
public PrimaryProductDataSource.Destination.Builder clearDestination()Marketing methods (also known as destination) selections.
.google.shopping.type.Destination.DestinationEnum destination = 1;
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
This builder for chaining. |
clearState()
public PrimaryProductDataSource.Destination.Builder clearState()The state of the destination.
.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination.State state = 2;
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PrimaryProductDataSource.Destination getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrimaryProductDataSource.Destination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PrimaryProductDataSource.Destination.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
mergeFrom(PrimaryProductDataSource.Destination other)
public PrimaryProductDataSource.Destination.Builder mergeFrom(PrimaryProductDataSource.Destination other)| Parameter | |
|---|---|
| Name | Description |
other |
PrimaryProductDataSource.Destination |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
|
setDestination(Destination.DestinationEnum value)
public PrimaryProductDataSource.Destination.Builder setDestination(Destination.DestinationEnum value)Marketing methods (also known as destination) selections.
.google.shopping.type.Destination.DestinationEnum destination = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.shopping.type.Destination.DestinationEnumThe destination to set. |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
This builder for chaining. |
setDestinationValue(int value)
public PrimaryProductDataSource.Destination.Builder setDestinationValue(int value)Marketing methods (also known as destination) selections.
.google.shopping.type.Destination.DestinationEnum destination = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for destination to set. |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
This builder for chaining. |
setState(PrimaryProductDataSource.Destination.State value)
public PrimaryProductDataSource.Destination.Builder setState(PrimaryProductDataSource.Destination.State value)The state of the destination.
.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination.State state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PrimaryProductDataSource.Destination.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
This builder for chaining. |
setStateValue(int value)
public PrimaryProductDataSource.Destination.Builder setStateValue(int value)The state of the destination.
.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination.State state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
PrimaryProductDataSource.Destination.Builder |
This builder for chaining. |