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
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-