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

    Modifier and Type
    Method
    Description
    The text content of the message body.
    The text content of the message body.
    boolean
    The text content of the message body.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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;