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 Summary

      Modifier and Type Method Description
      boolean containsMetadata​(String key)
      map<string, string> metadata = 1;
      Map<String,​String> getMetadata()
      Deprecated.
      int getMetadataCount()
      map<string, string> metadata = 1;
      Map<String,​String> getMetadataMap()
      map<string, string> metadata = 1;
      String getMetadataOrDefault​(String key, String defaultValue)
      map<string, string> metadata = 1;
      String getMetadataOrThrow​(String key)
      map<string, string> metadata = 1;
      com.google.protobuf.ByteString getPayload()
      bytes payload = 4;
      String getSegments​(int index)
      repeated string segments = 3;
      com.google.protobuf.ByteString getSegmentsBytes​(int index)
      repeated string segments = 3;
      int getSegmentsCount()
      repeated string segments = 3;
      List<String> getSegmentsList()
      repeated string segments = 3;
      String getSql()
      string sql = 2;
      com.google.protobuf.ByteString getSqlBytes()
      string sql = 2;
      • 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

      • 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.