Class Destination.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Destination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Destination.Builder
Overrides

build()

public Destination build()
Returns
TypeDescription
Destination

buildPartial()

public Destination buildPartial()
Returns
TypeDescription
Destination

clear()

public Destination.Builder clear()
Returns
TypeDescription
Destination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Destination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Destination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Destination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Destination.Builder
Overrides

clone()

public Destination.Builder clone()
Returns
TypeDescription
Destination.Builder
Overrides

getDefaultInstanceForType()

public Destination getDefaultInstanceForType()
Returns
TypeDescription
Destination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Destination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Destination.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Destination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Destination.Builder
Overrides

mergeFrom(Destination other)

public Destination.Builder mergeFrom(Destination other)
Parameter
NameDescription
otherDestination
Returns
TypeDescription
Destination.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Destination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Destination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Destination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Destination.Builder
Overrides

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

public Destination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Destination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Destination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Destination.Builder
Overrides