Interface PartOrBuilder

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

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

    Modifier and Type
    Method
    Description
    .a2a.v1.DataPart data = 3;
    .a2a.v1.DataPart data = 3;
    .a2a.v1.FilePart file = 2;
    .a2a.v1.FilePart file = 2;
     
    string text = 1;
    com.google.protobuf.ByteString
    string text = 1;
    boolean
    .a2a.v1.DataPart data = 3;
    boolean
    .a2a.v1.FilePart file = 2;
    boolean
    string text = 1;

    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()
      string text = 1;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
      string text = 1;
      Returns:
      The bytes for text.
    • hasFile

      boolean hasFile()
      .a2a.v1.FilePart file = 2;
      Returns:
      Whether the file field is set.
    • getFile

      FilePart getFile()
      .a2a.v1.FilePart file = 2;
      Returns:
      The file.
    • getFileOrBuilder

      FilePartOrBuilder getFileOrBuilder()
      .a2a.v1.FilePart file = 2;
    • hasData

      boolean hasData()
      .a2a.v1.DataPart data = 3;
      Returns:
      Whether the data field is set.
    • getData

      DataPart getData()
      .a2a.v1.DataPart data = 3;
      Returns:
      The data.
    • getDataOrBuilder

      DataPartOrBuilder getDataOrBuilder()
      .a2a.v1.DataPart data = 3;
    • getPartCase

      Part.PartCase getPartCase()