Interface ClientMessageOrBuilder

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

    public interface ClientMessageOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCall()
      If applicable, the call associated with this message This should be used when the client is streaming multiple messages handled by the same call.
      int getId()
      Optional client-side message identifier, returned in reply messages.
      com.google.protobuf.Any getOptions()
      Options specific to the type
      com.google.protobuf.AnyOrBuilder getOptionsOrBuilder()
      Options specific to the type
      String getType()
      Message type.
      com.google.protobuf.ByteString getTypeBytes()
      Message type.
      boolean hasOptions()
      Options specific to the type
      • 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 Detail

      • getType

        String getType()
         Message type. Typically the name of a topic to subscribe to, or a built-in like "cancel".
         
        string type = 1;
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Message type. Typically the name of a topic to subscribe to, or a built-in like "cancel".
         
        string type = 1;
      • hasOptions

        boolean hasOptions()
         Options specific to the type
         
        .google.protobuf.Any options = 2;
      • getOptions

        com.google.protobuf.Any getOptions()
         Options specific to the type
         
        .google.protobuf.Any options = 2;
      • getOptionsOrBuilder

        com.google.protobuf.AnyOrBuilder getOptionsOrBuilder()
         Options specific to the type
         
        .google.protobuf.Any options = 2;
      • getId

        int getId()
         Optional client-side message identifier, returned in reply messages.
         
        int32 id = 3;
      • getCall

        int getCall()
         If applicable, the call associated with this message
         This should be used when the client is streaming multiple messages
         handled by the same call.
         
        int32 call = 4;