public final class MarketingInfo extends GeneratedMessageV3 implements MarketingInfoOrBuilder
Represents the marketing information for a Product, SKU or Offer.
Protobuf type google.cloud.channel.v1.MarketingInfo
Static Fields
DEFAULT_LOGO_FIELD_NUMBER
public static final int DEFAULT_LOGO_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MarketingInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MarketingInfo.Builder newBuilder()
Returns
newBuilder(MarketingInfo prototype)
public static MarketingInfo.Builder newBuilder(MarketingInfo prototype)
Parameter
Returns
public static MarketingInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MarketingInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MarketingInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MarketingInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MarketingInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MarketingInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MarketingInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MarketingInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MarketingInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MarketingInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public MarketingInfo getDefaultInstanceForType()
Returns
getDefaultLogo()
public Media getDefaultLogo()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns
Type | Description |
Media | The defaultLogo.
|
getDefaultLogoOrBuilder()
public MediaOrBuilder getDefaultLogoOrBuilder()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns
getDescription()
public String getDescription()
Human readable description. Description can contain HTML.
string description = 2;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Human readable description. Description can contain HTML.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
getDisplayName()
public String getDisplayName()
Human readable name.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human readable name.
string display_name = 1;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
getParserForType()
public Parser<MarketingInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDefaultLogo()
public boolean hasDefaultLogo()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns
Type | Description |
boolean | Whether the defaultLogo field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MarketingInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MarketingInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MarketingInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions