Class ProductStructuredTitle (0.5.0)

public final class ProductStructuredTitle extends GeneratedMessageV3 implements ProductStructuredTitleOrBuilder

Structured title, for algorithmically (AI)-generated titles.

Protobuf type google.shopping.merchant.products.v1beta.ProductStructuredTitle

Static Fields

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
Field Value
Type Description
int

DIGITAL_SOURCE_TYPE_FIELD_NUMBER

public static final int DIGITAL_SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductStructuredTitle getDefaultInstance()
Returns
Type Description
ProductStructuredTitle

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProductStructuredTitle.Builder newBuilder()
Returns
Type Description
ProductStructuredTitle.Builder

newBuilder(ProductStructuredTitle prototype)

public static ProductStructuredTitle.Builder newBuilder(ProductStructuredTitle prototype)
Parameter
Name Description
prototype ProductStructuredTitle
Returns
Type Description
ProductStructuredTitle.Builder

parseDelimitedFrom(InputStream input)

public static ProductStructuredTitle parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStructuredTitle parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductStructuredTitle parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductStructuredTitle parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductStructuredTitle parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductStructuredTitle parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductStructuredTitle parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStructuredTitle parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductStructuredTitle parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStructuredTitle parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductStructuredTitle parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductStructuredTitle parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStructuredTitle
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductStructuredTitle> parser()
Returns
Type Description
Parser<ProductStructuredTitle>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContent()

public String getContent()

The title text Maximum length is 150 characters

optional string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

The title text Maximum length is 150 characters

optional string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public ProductStructuredTitle getDefaultInstanceForType()
Returns
Type Description
ProductStructuredTitle

getDigitalSourceType()

public String getDigitalSourceType()

The digital source type, for example "trained_algorithmic_media". Following IPTC. Maximum length is 40 characters.

optional string digital_source_type = 1;

Returns
Type Description
String

The digitalSourceType.

getDigitalSourceTypeBytes()

public ByteString getDigitalSourceTypeBytes()

The digital source type, for example "trained_algorithmic_media". Following IPTC. Maximum length is 40 characters.

optional string digital_source_type = 1;

Returns
Type Description
ByteString

The bytes for digitalSourceType.

getParserForType()

public Parser<ProductStructuredTitle> getParserForType()
Returns
Type Description
Parser<ProductStructuredTitle>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasContent()

public boolean hasContent()

The title text Maximum length is 150 characters

optional string content = 2;

Returns
Type Description
boolean

Whether the content field is set.

hasDigitalSourceType()

public boolean hasDigitalSourceType()

The digital source type, for example "trained_algorithmic_media". Following IPTC. Maximum length is 40 characters.

optional string digital_source_type = 1;

Returns
Type Description
boolean

Whether the digitalSourceType field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductStructuredTitle.Builder newBuilderForType()
Returns
Type Description
ProductStructuredTitle.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductStructuredTitle.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductStructuredTitle.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductStructuredTitle.Builder toBuilder()
Returns
Type Description
ProductStructuredTitle.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException