Interface PartOrBuilder (0.27.0)

public interface PartOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getData()

public abstract DataPart getData()

Structured data content payload.

.google.cloud.geminidataanalytics.v1beta.DataPart data = 3;

Returns
Type Description
DataPart

The data.

getDataOrBuilder()

public abstract DataPartOrBuilder getDataOrBuilder()

Structured data content payload.

.google.cloud.geminidataanalytics.v1beta.DataPart data = 3;

Returns
Type Description
DataPartOrBuilder

getFile()

public abstract FilePart getFile()

File content payload.

.google.cloud.geminidataanalytics.v1beta.FilePart file = 2;

Returns
Type Description
FilePart

The file.

getFileOrBuilder()

public abstract FilePartOrBuilder getFileOrBuilder()

File content payload.

.google.cloud.geminidataanalytics.v1beta.FilePart file = 2;

Returns
Type Description
FilePartOrBuilder

getMetadata()

public abstract Struct getMetadata()

Optional. Metadata associated with the part.

.google.protobuf.Struct metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The metadata.

getMetadataOrBuilder()

public abstract StructOrBuilder getMetadataOrBuilder()

Optional. Metadata associated with the part.

.google.protobuf.Struct metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getPartCase()

public abstract Part.PartCase getPartCase()
Returns
Type Description
Part.PartCase

getText()

public abstract String getText()

Plain text content.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Plain text content.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasData()

public abstract boolean hasData()

Structured data content payload.

.google.cloud.geminidataanalytics.v1beta.DataPart data = 3;

Returns
Type Description
boolean

Whether the data field is set.

hasFile()

public abstract boolean hasFile()

File content payload.

.google.cloud.geminidataanalytics.v1beta.FilePart file = 2;

Returns
Type Description
boolean

Whether the file field is set.

hasMetadata()

public abstract boolean hasMetadata()

Optional. Metadata associated with the part.

.google.protobuf.Struct metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the metadata field is set.

hasText()

public abstract boolean hasText()

Plain text content.

string text = 1;

Returns
Type Description
boolean

Whether the text field is set.