Class Messages.ResponseParameters.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.ResponseParameters.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.ResponseParameters.Builder>
      • getDefaultInstanceForType

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

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

        public Messages.ResponseParameters 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.ResponseParameters.Builder>
      • mergeFrom

        public Messages.ResponseParameters.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.ResponseParameters.Builder>
        Throws:
        java.io.IOException
      • setSize

        public Messages.ResponseParameters.Builder setSize​(int value)
         Desired payload sizes in responses from the server.
         
        int32 size = 1;
        Parameters:
        value - The size to set.
        Returns:
        This builder for chaining.
      • getIntervalUs

        public int getIntervalUs()
         Desired interval between consecutive responses in the response stream in
         microseconds.
         
        int32 interval_us = 2;
        Specified by:
        getIntervalUs in interface Messages.ResponseParametersOrBuilder
        Returns:
        The intervalUs.
      • setIntervalUs

        public Messages.ResponseParameters.Builder setIntervalUs​(int value)
         Desired interval between consecutive responses in the response stream in
         microseconds.
         
        int32 interval_us = 2;
        Parameters:
        value - The intervalUs to set.
        Returns:
        This builder for chaining.
      • clearIntervalUs

        public Messages.ResponseParameters.Builder clearIntervalUs()
         Desired interval between consecutive responses in the response stream in
         microseconds.
         
        int32 interval_us = 2;
        Returns:
        This builder for chaining.
      • hasCompressed

        public boolean hasCompressed()
         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 compressed = 3;
        Specified by:
        hasCompressed in interface Messages.ResponseParametersOrBuilder
        Returns:
        Whether the compressed field is set.
      • getCompressed

        public Messages.BoolValue getCompressed()
         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 compressed = 3;
        Specified by:
        getCompressed in interface Messages.ResponseParametersOrBuilder
        Returns:
        The compressed.
      • setCompressed

        public Messages.ResponseParameters.Builder setCompressed​(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 compressed = 3;
      • setCompressed

        public Messages.ResponseParameters.Builder setCompressed​(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 compressed = 3;
      • mergeCompressed

        public Messages.ResponseParameters.Builder mergeCompressed​(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 compressed = 3;
      • clearCompressed

        public Messages.ResponseParameters.Builder clearCompressed()
         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 compressed = 3;
      • getCompressedBuilder

        public Messages.BoolValue.Builder getCompressedBuilder()
         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 compressed = 3;
      • getCompressedOrBuilder

        public Messages.BoolValueOrBuilder getCompressedOrBuilder()
         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 compressed = 3;
        Specified by:
        getCompressedOrBuilder in interface Messages.ResponseParametersOrBuilder
      • mergeUnknownFields

        public final Messages.ResponseParameters.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.ResponseParameters.Builder>