Interface TextMessageOrBuilder (0.9.0)

public interface TextMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParts(int index)

public abstract String getParts(int index)

Optional. The parts of the message.

repeated string parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The parts at the given index.

getPartsBytes(int index)

public abstract ByteString getPartsBytes(int index)

Optional. The parts of the message.

repeated string parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the parts at the given index.

getPartsCount()

public abstract int getPartsCount()

Optional. The parts of the message.

repeated string parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of parts.

getPartsList()

public abstract List<String> getPartsList()

Optional. The parts of the message.

repeated string parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the parts.

getTextType()

public abstract TextMessage.TextType getTextType()

Optional. The type of the text message.

.google.cloud.geminidataanalytics.v1beta.TextMessage.TextType text_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TextMessage.TextType

The textType.

getTextTypeValue()

public abstract int getTextTypeValue()

Optional. The type of the text message.

.google.cloud.geminidataanalytics.v1beta.TextMessage.TextType text_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for textType.