Interface Message.BodyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Message.Body
,Message.Body.Builder
- Enclosing class:
- Message
public static interface Message.BodyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Text
getText()
The text content of the message body.TextOrBuilder
getTextOrBuilder()
The text content of the message body.boolean
hasText()
The text content of the message body.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
The text content of the message body.
.google.cloud.advisorynotifications.v1.Text text = 1;
- Returns:
- Whether the text field is set.
-
getText
Text getText()
The text content of the message body.
.google.cloud.advisorynotifications.v1.Text text = 1;
- Returns:
- The text.
-
getTextOrBuilder
TextOrBuilder getTextOrBuilder()
The text content of the message body.
.google.cloud.advisorynotifications.v1.Text text = 1;
-
-