Interface ProductTextGenerationMetadataOrBuilder (0.2.0)

public interface ProductTextGenerationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetadata()

public abstract Struct getMetadata()

Metadata is a pretty loose concept. The data is modeled as a map here to indicate that there is no guaranteed structure to the output past a simple K:V association. The first use-case is to track words added/removed/changed in generations.

.google.protobuf.Struct metadata = 1;

Returns
Type Description
Struct

The metadata.

getMetadataOrBuilder()

public abstract StructOrBuilder getMetadataOrBuilder()

Metadata is a pretty loose concept. The data is modeled as a map here to indicate that there is no guaranteed structure to the output past a simple K:V association. The first use-case is to track words added/removed/changed in generations.

.google.protobuf.Struct metadata = 1;

Returns
Type Description
StructOrBuilder

hasMetadata()

public abstract boolean hasMetadata()

Metadata is a pretty loose concept. The data is modeled as a map here to indicate that there is no guaranteed structure to the output past a simple K:V association. The first use-case is to track words added/removed/changed in generations.

.google.protobuf.Struct metadata = 1;

Returns
Type Description
boolean

Whether the metadata field is set.