Send feedback
Class MarketingInfo.Builder (3.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.49.0 keyboard_arrow_down
public static final class MarketingInfo . Builder extends GeneratedMessageV3 . Builder<MarketingInfo . Builder > 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MarketingInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public MarketingInfo build ()
buildPartial()
public MarketingInfo buildPartial ()
clear()
public MarketingInfo . Builder clear ()
Overrides
clearDefaultLogo()
public MarketingInfo . Builder clearDefaultLogo ()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
clearDescription()
public MarketingInfo . Builder clearDescription ()
Human readable description. Description can contain HTML.
string description = 2;
clearDisplayName()
public MarketingInfo . Builder clearDisplayName ()
Human readable name.
string display_name = 1;
clearField(Descriptors.FieldDescriptor field)
public MarketingInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MarketingInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public MarketingInfo . Builder clone ()
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.
getDefaultLogoBuilder()
public Media . Builder getDefaultLogoBuilder ()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
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.
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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.
hasDefaultLogo()
public boolean hasDefaultLogo ()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns
Type
Description
boolean
Whether the defaultLogo field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public MarketingInfo . Builder mergeDefaultLogo ( Media value )
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter
Name
Description
value
Media
mergeFrom(MarketingInfo other)
public MarketingInfo . Builder mergeFrom ( MarketingInfo other )
public MarketingInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public MarketingInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MarketingInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public MarketingInfo . Builder setDefaultLogo ( Media value )
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter
Name
Description
value
Media
public MarketingInfo . Builder setDefaultLogo ( Media . Builder builderForValue )
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
setDescription(String value)
public MarketingInfo . Builder setDescription ( String value )
Human readable description. Description can contain HTML.
string description = 2;
Parameter
Name
Description
value
String
The description to set.
setDescriptionBytes(ByteString value)
public MarketingInfo . Builder setDescriptionBytes ( ByteString value )
Human readable description. Description can contain HTML.
string description = 2;
Parameter
Name
Description
value
ByteString
The bytes for description to set.
setDisplayName(String value)
public MarketingInfo . Builder setDisplayName ( String value )
Human readable name.
string display_name = 1;
Parameter
Name
Description
value
String
The displayName to set.
setDisplayNameBytes(ByteString value)
public MarketingInfo . Builder setDisplayNameBytes ( ByteString value )
Human readable name.
string display_name = 1;
Parameter
Name
Description
value
ByteString
The bytes for displayName to set.
setField(Descriptors.FieldDescriptor field, Object value)
public MarketingInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MarketingInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MarketingInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]