Interface Messages.SimpleRequestOrBuilder

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

    public static interface Messages.SimpleRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getResponseTypeValue

        int getResponseTypeValue()
         Desired payload type in the response from the server.
         If response_type is RANDOM, server randomly chooses one from other formats.
         
        .grpc.testing.PayloadType response_type = 1;
        Returns:
        The enum numeric value on the wire for responseType.
      • getResponseType

        Messages.PayloadType getResponseType()
         Desired payload type in the response from the server.
         If response_type is RANDOM, server randomly chooses one from other formats.
         
        .grpc.testing.PayloadType response_type = 1;
        Returns:
        The responseType.
      • getResponseSize

        int getResponseSize()
         Desired payload size in the response from the server.
         
        int32 response_size = 2;
        Returns:
        The responseSize.
      • hasPayload

        boolean hasPayload()
         Optional input payload sent along with the request.
         
        .grpc.testing.Payload payload = 3;
        Returns:
        Whether the payload field is set.
      • getPayload

        Messages.Payload getPayload()
         Optional input payload sent along with the request.
         
        .grpc.testing.Payload payload = 3;
        Returns:
        The payload.
      • getPayloadOrBuilder

        Messages.PayloadOrBuilder getPayloadOrBuilder()
         Optional input payload sent along with the request.
         
        .grpc.testing.Payload payload = 3;
      • getFillUsername

        boolean getFillUsername()
         Whether SimpleResponse should include username.
         
        bool fill_username = 4;
        Returns:
        The fillUsername.
      • getFillOauthScope

        boolean getFillOauthScope()
         Whether SimpleResponse should include OAuth scope.
         
        bool fill_oauth_scope = 5;
        Returns:
        The fillOauthScope.
      • hasResponseCompressed

        boolean hasResponseCompressed()
         Whether to request the server to compress the response. This field is
         "nullable" in order to interoperate seamlessly with clients not able to
         implement the full compression tests by introspecting the call to verify
         the response's compression status.
         
        .grpc.testing.BoolValue response_compressed = 6;
        Returns:
        Whether the responseCompressed field is set.
      • getResponseCompressed

        Messages.BoolValue getResponseCompressed()
         Whether to request the server to compress the response. This field is
         "nullable" in order to interoperate seamlessly with clients not able to
         implement the full compression tests by introspecting the call to verify
         the response's compression status.
         
        .grpc.testing.BoolValue response_compressed = 6;
        Returns:
        The responseCompressed.
      • getResponseCompressedOrBuilder

        Messages.BoolValueOrBuilder getResponseCompressedOrBuilder()
         Whether to request the server to compress the response. This field is
         "nullable" in order to interoperate seamlessly with clients not able to
         implement the full compression tests by introspecting the call to verify
         the response's compression status.
         
        .grpc.testing.BoolValue response_compressed = 6;
      • hasResponseStatus

        boolean hasResponseStatus()
         Whether server should return a given status
         
        .grpc.testing.EchoStatus response_status = 7;
        Returns:
        Whether the responseStatus field is set.
      • getResponseStatus

        Messages.EchoStatus getResponseStatus()
         Whether server should return a given status
         
        .grpc.testing.EchoStatus response_status = 7;
        Returns:
        The responseStatus.
      • getResponseStatusOrBuilder

        Messages.EchoStatusOrBuilder getResponseStatusOrBuilder()
         Whether server should return a given status
         
        .grpc.testing.EchoStatus response_status = 7;
      • hasExpectCompressed

        boolean hasExpectCompressed()
         Whether the server should expect this request to be compressed.
         
        .grpc.testing.BoolValue expect_compressed = 8;
        Returns:
        Whether the expectCompressed field is set.
      • getExpectCompressed

        Messages.BoolValue getExpectCompressed()
         Whether the server should expect this request to be compressed.
         
        .grpc.testing.BoolValue expect_compressed = 8;
        Returns:
        The expectCompressed.
      • getExpectCompressedOrBuilder

        Messages.BoolValueOrBuilder getExpectCompressedOrBuilder()
         Whether the server should expect this request to be compressed.
         
        .grpc.testing.BoolValue expect_compressed = 8;
      • getFillServerId

        boolean getFillServerId()
         Whether SimpleResponse should include server_id.
         
        bool fill_server_id = 9;
        Returns:
        The fillServerId.
      • getFillGrpclbRouteType

        boolean getFillGrpclbRouteType()
         Whether SimpleResponse should include grpclb_route_type.
         
        bool fill_grpclb_route_type = 10;
        Returns:
        The fillGrpclbRouteType.
      • hasOrcaPerQueryReport

        boolean hasOrcaPerQueryReport()
         If set the server should record this metrics report data for the current RPC.
         
        .grpc.testing.TestOrcaReport orca_per_query_report = 11;
        Returns:
        Whether the orcaPerQueryReport field is set.
      • getOrcaPerQueryReport

        Messages.TestOrcaReport getOrcaPerQueryReport()
         If set the server should record this metrics report data for the current RPC.
         
        .grpc.testing.TestOrcaReport orca_per_query_report = 11;
        Returns:
        The orcaPerQueryReport.
      • getOrcaPerQueryReportOrBuilder

        Messages.TestOrcaReportOrBuilder getOrcaPerQueryReportOrBuilder()
         If set the server should record this metrics report data for the current RPC.
         
        .grpc.testing.TestOrcaReport orca_per_query_report = 11;