public interface TextMessageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |