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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Channel.BuilderImplements
ChannelOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Channel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Channel.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Channel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Channel.Builder |
clone()
public Channel.Builder clone()
Returns | |
---|---|
Type | Description |
Channel.Builder |
getDefaultInstanceForType()
public Channel getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Channel |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Channel.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Channel.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Channel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Channel.Builder |