Class Messages.SimpleRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.SimpleRequest.Builder>
      • clear

        public Messages.SimpleRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.SimpleRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.SimpleRequest.Builder>
      • getDefaultInstanceForType

        public Messages.SimpleRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Messages.SimpleRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Messages.SimpleRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.SimpleRequest.Builder>
      • mergeFrom

        public Messages.SimpleRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.SimpleRequest.Builder>
        Throws:
        java.io.IOException
      • getResponseTypeValue

        public 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;
        Specified by:
        getResponseTypeValue in interface Messages.SimpleRequestOrBuilder
        Returns:
        The enum numeric value on the wire for responseType.
      • setResponseTypeValue

        public Messages.SimpleRequest.Builder setResponseTypeValue​(int value)
         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;
        Parameters:
        value - The enum numeric value on the wire for responseType to set.
        Returns:
        This builder for chaining.
      • getResponseType

        public 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;
        Specified by:
        getResponseType in interface Messages.SimpleRequestOrBuilder
        Returns:
        The responseType.
      • setResponseType

        public Messages.SimpleRequest.Builder setResponseType​(Messages.PayloadType value)
         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;
        Parameters:
        value - The responseType to set.
        Returns:
        This builder for chaining.
      • clearResponseType

        public Messages.SimpleRequest.Builder clearResponseType()
         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:
        This builder for chaining.
      • getResponseSize

        public int getResponseSize()
         Desired payload size in the response from the server.
         
        int32 response_size = 2;
        Specified by:
        getResponseSize in interface Messages.SimpleRequestOrBuilder
        Returns:
        The responseSize.
      • setResponseSize

        public Messages.SimpleRequest.Builder setResponseSize​(int value)
         Desired payload size in the response from the server.
         
        int32 response_size = 2;
        Parameters:
        value - The responseSize to set.
        Returns:
        This builder for chaining.
      • clearResponseSize

        public Messages.SimpleRequest.Builder clearResponseSize()
         Desired payload size in the response from the server.
         
        int32 response_size = 2;
        Returns:
        This builder for chaining.
      • hasPayload

        public boolean hasPayload()
         Optional input payload sent along with the request.
         
        .grpc.testing.Payload payload = 3;
        Specified by:
        hasPayload in interface Messages.SimpleRequestOrBuilder
        Returns:
        Whether the payload field is set.
      • clearPayload

        public Messages.SimpleRequest.Builder clearPayload()
         Optional input payload sent along with the request.
         
        .grpc.testing.Payload payload = 3;
      • getPayloadBuilder

        public Messages.Payload.Builder getPayloadBuilder()
         Optional input payload sent along with the request.
         
        .grpc.testing.Payload payload = 3;
      • setFillUsername

        public Messages.SimpleRequest.Builder setFillUsername​(boolean value)
         Whether SimpleResponse should include username.
         
        bool fill_username = 4;
        Parameters:
        value - The fillUsername to set.
        Returns:
        This builder for chaining.
      • clearFillUsername

        public Messages.SimpleRequest.Builder clearFillUsername()
         Whether SimpleResponse should include username.
         
        bool fill_username = 4;
        Returns:
        This builder for chaining.
      • getFillOauthScope

        public boolean getFillOauthScope()
         Whether SimpleResponse should include OAuth scope.
         
        bool fill_oauth_scope = 5;
        Specified by:
        getFillOauthScope in interface Messages.SimpleRequestOrBuilder
        Returns:
        The fillOauthScope.
      • setFillOauthScope

        public Messages.SimpleRequest.Builder setFillOauthScope​(boolean value)
         Whether SimpleResponse should include OAuth scope.
         
        bool fill_oauth_scope = 5;
        Parameters:
        value - The fillOauthScope to set.
        Returns:
        This builder for chaining.
      • clearFillOauthScope

        public Messages.SimpleRequest.Builder clearFillOauthScope()
         Whether SimpleResponse should include OAuth scope.
         
        bool fill_oauth_scope = 5;
        Returns:
        This builder for chaining.
      • hasResponseCompressed

        public 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;
        Specified by:
        hasResponseCompressed in interface Messages.SimpleRequestOrBuilder
        Returns:
        Whether the responseCompressed field is set.
      • getResponseCompressed

        public 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;
        Specified by:
        getResponseCompressed in interface Messages.SimpleRequestOrBuilder
        Returns:
        The responseCompressed.
      • setResponseCompressed

        public Messages.SimpleRequest.Builder setResponseCompressed​(Messages.BoolValue value)
         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;
      • setResponseCompressed

        public Messages.SimpleRequest.Builder setResponseCompressed​(Messages.BoolValue.Builder builderForValue)
         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;
      • mergeResponseCompressed

        public Messages.SimpleRequest.Builder mergeResponseCompressed​(Messages.BoolValue value)
         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;
      • clearResponseCompressed

        public Messages.SimpleRequest.Builder clearResponseCompressed()
         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;
      • getResponseCompressedBuilder

        public Messages.BoolValue.Builder getResponseCompressedBuilder()
         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;
      • getResponseCompressedOrBuilder

        public 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;
        Specified by:
        getResponseCompressedOrBuilder in interface Messages.SimpleRequestOrBuilder
      • hasResponseStatus

        public boolean hasResponseStatus()
         Whether server should return a given status
         
        .grpc.testing.EchoStatus response_status = 7;
        Specified by:
        hasResponseStatus in interface Messages.SimpleRequestOrBuilder
        Returns:
        Whether the responseStatus field is set.
      • clearResponseStatus

        public Messages.SimpleRequest.Builder clearResponseStatus()
         Whether server should return a given status
         
        .grpc.testing.EchoStatus response_status = 7;
      • getResponseStatusBuilder

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

        public boolean hasExpectCompressed()
         Whether the server should expect this request to be compressed.
         
        .grpc.testing.BoolValue expect_compressed = 8;
        Specified by:
        hasExpectCompressed in interface Messages.SimpleRequestOrBuilder
        Returns:
        Whether the expectCompressed field is set.
      • clearExpectCompressed

        public Messages.SimpleRequest.Builder clearExpectCompressed()
         Whether the server should expect this request to be compressed.
         
        .grpc.testing.BoolValue expect_compressed = 8;
      • getExpectCompressedBuilder

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

        public boolean getFillServerId()
         Whether SimpleResponse should include server_id.
         
        bool fill_server_id = 9;
        Specified by:
        getFillServerId in interface Messages.SimpleRequestOrBuilder
        Returns:
        The fillServerId.
      • setFillServerId

        public Messages.SimpleRequest.Builder setFillServerId​(boolean value)
         Whether SimpleResponse should include server_id.
         
        bool fill_server_id = 9;
        Parameters:
        value - The fillServerId to set.
        Returns:
        This builder for chaining.
      • clearFillServerId

        public Messages.SimpleRequest.Builder clearFillServerId()
         Whether SimpleResponse should include server_id.
         
        bool fill_server_id = 9;
        Returns:
        This builder for chaining.
      • getFillGrpclbRouteType

        public boolean getFillGrpclbRouteType()
         Whether SimpleResponse should include grpclb_route_type.
         
        bool fill_grpclb_route_type = 10;
        Specified by:
        getFillGrpclbRouteType in interface Messages.SimpleRequestOrBuilder
        Returns:
        The fillGrpclbRouteType.
      • setFillGrpclbRouteType

        public Messages.SimpleRequest.Builder setFillGrpclbRouteType​(boolean value)
         Whether SimpleResponse should include grpclb_route_type.
         
        bool fill_grpclb_route_type = 10;
        Parameters:
        value - The fillGrpclbRouteType to set.
        Returns:
        This builder for chaining.
      • clearFillGrpclbRouteType

        public Messages.SimpleRequest.Builder clearFillGrpclbRouteType()
         Whether SimpleResponse should include grpclb_route_type.
         
        bool fill_grpclb_route_type = 10;
        Returns:
        This builder for chaining.
      • hasOrcaPerQueryReport

        public boolean hasOrcaPerQueryReport()
         If set the server should record this metrics report data for the current RPC.
         
        .grpc.testing.TestOrcaReport orca_per_query_report = 11;
        Specified by:
        hasOrcaPerQueryReport in interface Messages.SimpleRequestOrBuilder
        Returns:
        Whether the orcaPerQueryReport field is set.
      • clearOrcaPerQueryReport

        public Messages.SimpleRequest.Builder clearOrcaPerQueryReport()
         If set the server should record this metrics report data for the current RPC.
         
        .grpc.testing.TestOrcaReport orca_per_query_report = 11;
      • getOrcaPerQueryReportBuilder

        public Messages.TestOrcaReport.Builder getOrcaPerQueryReportBuilder()
         If set the server should record this metrics report data for the current RPC.
         
        .grpc.testing.TestOrcaReport orca_per_query_report = 11;
      • setUnknownFields

        public final Messages.SimpleRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.SimpleRequest.Builder>
      • mergeUnknownFields

        public final Messages.SimpleRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.SimpleRequest.Builder>