- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MarketingInfo.BuilderImplements
MarketingInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MarketingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
build()
public MarketingInfo build()
Returns | |
---|---|
Type | Description |
MarketingInfo |
buildPartial()
public MarketingInfo buildPartial()
Returns | |
---|---|
Type | Description |
MarketingInfo |
clear()
public MarketingInfo.Builder clear()
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
clearDefaultLogo()
public MarketingInfo.Builder clearDefaultLogo()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
clearDescription()
public MarketingInfo.Builder clearDescription()
Human readable description. Description can contain HTML.
string description = 2;
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
This builder for chaining. |
clearDisplayName()
public MarketingInfo.Builder clearDisplayName()
Human readable name.
string display_name = 1;
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MarketingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MarketingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
clone()
public MarketingInfo.Builder clone()
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
getDefaultInstanceForType()
public MarketingInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MarketingInfo |
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 | |
---|---|
Type | Description |
Media.Builder |
getDefaultLogoOrBuilder()
public MediaOrBuilder getDefaultLogoOrBuilder()
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Returns | |
---|---|
Type | Description |
MediaOrBuilder |
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 | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDefaultLogo(Media value)
public MarketingInfo.Builder mergeDefaultLogo(Media value)
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter | |
---|---|
Name | Description |
value |
Media |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
mergeFrom(MarketingInfo other)
public MarketingInfo.Builder mergeFrom(MarketingInfo other)
Parameter | |
---|---|
Name | Description |
other |
MarketingInfo |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MarketingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MarketingInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MarketingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
setDefaultLogo(Media value)
public MarketingInfo.Builder setDefaultLogo(Media value)
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter | |
---|---|
Name | Description |
value |
Media |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
setDefaultLogo(Media.Builder builderForValue)
public MarketingInfo.Builder setDefaultLogo(Media.Builder builderForValue)
Default logo.
.google.cloud.channel.v1.Media default_logo = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Media.Builder |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
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 | |
---|---|
Type | Description |
MarketingInfo.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
MarketingInfo.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
MarketingInfo.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
MarketingInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MarketingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MarketingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MarketingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MarketingInfo.Builder |