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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
DEFAULT_LOGO_FIELD_NUMBER
public static final int DEFAULT_LOGO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MarketingInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MarketingInfo.Builder newBuilder()
newBuilder(MarketingInfo prototype)
public static MarketingInfo.Builder newBuilder(MarketingInfo prototype)
public static MarketingInfo parseDelimitedFrom(InputStream input)
public static MarketingInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MarketingInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MarketingInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(CodedInputStream input)
public static MarketingInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(InputStream input)
public static MarketingInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MarketingInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MarketingInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MarketingInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public MarketingInfo getDefaultInstanceForType()
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;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MarketingInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MarketingInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MarketingInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides