Class Destination.Builder (2.41.0)

public static final class Destination.Builder extends GeneratedMessageV3.Builder<Destination.Builder> implements DestinationOrBuilder

Destinations available for a product.

Destinations are used in Merchant Center to allow you to control where the products from your data feed should be displayed.

Protobuf type google.shopping.type.Destination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Destination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Destination.Builder
Overrides

build()

public Destination build()
Returns
Type Description
Destination

buildPartial()

public Destination buildPartial()
Returns
Type Description
Destination

clear()

public Destination.Builder clear()
Returns
Type Description
Destination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Destination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Destination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Destination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Destination.Builder
Overrides

clone()

public Destination.Builder clone()
Returns
Type Description
Destination.Builder
Overrides

getDefaultInstanceForType()

public Destination getDefaultInstanceForType()
Returns
Type Description
Destination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Destination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Destination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Destination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Destination.Builder
Overrides

mergeFrom(Destination other)

public Destination.Builder mergeFrom(Destination other)
Parameter
Name Description
other Destination
Returns
Type Description
Destination.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Destination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Destination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Destination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Destination.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Destination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Destination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Destination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Destination.Builder
Overrides