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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MarketingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MarketingInfo build()
Returns
buildPartial()
public MarketingInfo buildPartial()
Returns
clear()
public MarketingInfo.Builder clear()
Returns
Overrides
clearDefaultLogo()
public MarketingInfo.Builder clearDefaultLogo()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns
clearDescription()
public MarketingInfo.Builder clearDescription()
Human readable description. Description can contain HTML.
string description = 2;
Returns
clearDisplayName()
public MarketingInfo.Builder clearDisplayName()
Human readable name.
string display_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public MarketingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MarketingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MarketingInfo.Builder clone()
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.
|
getDefaultLogoBuilder()
public Media.Builder getDefaultLogoBuilder()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns
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.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public MarketingInfo.Builder mergeDefaultLogo(Media value)
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter
Name | Description |
value | Media
|
Returns
mergeFrom(MarketingInfo other)
public MarketingInfo.Builder mergeFrom(MarketingInfo other)
Parameter
Returns
public MarketingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MarketingInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MarketingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public MarketingInfo.Builder setDefaultLogo(Media value)
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter
Name | Description |
value | Media
|
Returns
public MarketingInfo.Builder setDefaultLogo(Media.Builder builderForValue)
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MarketingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MarketingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MarketingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides