Class MarketingMethod (0.17.0)

public final class MarketingMethod extends GeneratedMessageV3 implements MarketingMethodOrBuilder

Marketing method used to promote your products on Google (organic versus ads).

Protobuf type google.shopping.merchant.reports.v1beta.MarketingMethod

Static Methods

getDefaultInstance()

public static MarketingMethod getDefaultInstance()
Returns
TypeDescription
MarketingMethod

getDescriptor()

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

newBuilder()

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

newBuilder(MarketingMethod prototype)

public static MarketingMethod.Builder newBuilder(MarketingMethod prototype)
Parameter
NameDescription
prototypeMarketingMethod
Returns
TypeDescription
MarketingMethod.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MarketingMethod getDefaultInstanceForType()
Returns
TypeDescription
MarketingMethod

getParserForType()

public Parser<MarketingMethod> getParserForType()
Returns
TypeDescription
Parser<MarketingMethod>
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 MarketingMethod.Builder newBuilderForType()
Returns
TypeDescription
MarketingMethod.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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