Class StructuredTitle (1.0.0)

public final class StructuredTitle extends GeneratedMessageV3 implements StructuredTitleOrBuilder

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

Protobuf type google.shopping.merchant.products.v1.StructuredTitle

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 StructuredTitle getDefaultInstance()
Returns
Type Description
StructuredTitle

getDescriptor()

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

newBuilder()

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

newBuilder(StructuredTitle prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 StructuredTitle getDefaultInstanceForType()
Returns
Type Description
StructuredTitle

getDigitalSourceType()

public DigitalSourceType getDigitalSourceType()

The digital source type. Following IPTC.

optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;

Returns
Type Description
DigitalSourceType

The digitalSourceType.

getDigitalSourceTypeValue()

public int getDigitalSourceTypeValue()

The digital source type. Following IPTC.

optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for digitalSourceType.

getParserForType()

public Parser<StructuredTitle> getParserForType()
Returns
Type Description
Parser<StructuredTitle>
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. Following IPTC.

optional .google.shopping.merchant.products.v1.DigitalSourceType 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 StructuredTitle.Builder newBuilderForType()
Returns
Type Description
StructuredTitle.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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