Class Channel (0.1.0)

public final class Channel extends GeneratedMessageV3 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

getDefaultInstance()

public static Channel getDefaultInstance()
Returns
TypeDescription
Channel

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Channel.Builder newBuilder()
Returns
TypeDescription
Channel.Builder

newBuilder(Channel prototype)

public static Channel.Builder newBuilder(Channel prototype)
Parameter
NameDescription
prototypeChannel
Returns
TypeDescription
Channel.Builder

parseDelimitedFrom(InputStream input)

public static Channel parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Channel
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Channel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Channel
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Channel parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Channel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Channel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Channel parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Channel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Channel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Channel parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Channel
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Channel
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Channel parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Channel
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Channel
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Channel parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Channel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Channel
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Channel> parser()
Returns
TypeDescription
Parser<Channel>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Channel getDefaultInstanceForType()
Returns
TypeDescription
Channel

getParserForType()

public Parser<Channel> getParserForType()
Returns
TypeDescription
Parser<Channel>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Channel.Builder newBuilderForType()
Returns
TypeDescription
Channel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Channel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Channel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Channel.Builder toBuilder()
Returns
TypeDescription
Channel.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException