Interface Server.ServerRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Server.ServerRequest, Server.ServerRequest.Builder
    Enclosing class:
    Server

    public static interface Server.ServerRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getMetadataCount

        int getMetadataCount()
        map<string, string> metadata = 1;
      • containsMetadata

        boolean containsMetadata​(String key)
        map<string, string> metadata = 1;
      • getMetadataMap

        Map<String,​String> getMetadataMap()
        map<string, string> metadata = 1;
      • getMetadataOrDefault

        String getMetadataOrDefault​(String key,
                                    String defaultValue)
        map<string, string> metadata = 1;
      • getMetadataOrThrow

        String getMetadataOrThrow​(String key)
        map<string, string> metadata = 1;
      • getSql

        String getSql()
        string sql = 2;
        Returns:
        The sql.
      • getSqlBytes

        com.google.protobuf.ByteString getSqlBytes()
        string sql = 2;
        Returns:
        The bytes for sql.
      • getSegmentsList

        List<String> getSegmentsList()
        repeated string segments = 3;
        Returns:
        A list containing the segments.
      • getSegmentsCount

        int getSegmentsCount()
        repeated string segments = 3;
        Returns:
        The count of segments.
      • getSegments

        String getSegments​(int index)
        repeated string segments = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The segments at the given index.
      • getSegmentsBytes

        com.google.protobuf.ByteString getSegmentsBytes​(int index)
        repeated string segments = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the segments at the given index.
      • getPayload

        com.google.protobuf.ByteString getPayload()
        bytes payload = 4;
        Returns:
        The payload.