Class Channel.Builder (2.39.1)

public static final class Channel.Builder extends GeneratedMessageV3.Builder<Channel.Builder> implements ChannelOrBuilder

Channel of a product.

Channel is used to distinguish between online and local products.

Protobuf type google.shopping.type.Channel

Implements

ChannelOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Channel build()
Returns
Type Description
Channel

buildPartial()

public Channel buildPartial()
Returns
Type Description
Channel

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Channel getDefaultInstanceForType()
Returns
Type Description
Channel

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 Channel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(Channel other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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