Interface MessageItemOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MessageItem, MessageItem.Builder

@Generated public interface MessageItemOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The message content.
    com.google.protobuf.ByteString
    The message content.
    Type of message.
    int
    Type of message.

    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

    • getMessageTypeValue

      int getMessageTypeValue()
       Type of message.
       
      .google.cloud.modelarmor.v1beta.MessageItem.MessageType message_type = 1;
      Returns:
      The enum numeric value on the wire for messageType.
    • getMessageType

      MessageItem.MessageType getMessageType()
       Type of message.
       
      .google.cloud.modelarmor.v1beta.MessageItem.MessageType message_type = 1;
      Returns:
      The messageType.
    • getMessage

      String getMessage()
       The message content.
       
      string message = 2;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       The message content.
       
      string message = 2;
      Returns:
      The bytes for message.