Class PythonSettings.ExperimentalFeatures.Builder

  • All Implemented Interfaces:
    PythonSettings.ExperimentalFeaturesOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    PythonSettings.ExperimentalFeatures

    public static final class PythonSettings.ExperimentalFeatures.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PythonSettings.ExperimentalFeatures.Builder>
    implements PythonSettings.ExperimentalFeaturesOrBuilder
     Experimental features to be included during client library generation.
     These fields will be deprecated once the feature graduates and is enabled
     by default.
     
    Protobuf type google.api.PythonSettings.ExperimentalFeatures
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Overrides:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PythonSettings.ExperimentalFeatures.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.GeneratedMessage.Builder<PythonSettings.ExperimentalFeatures.Builder>
      • getDefaultInstanceForType

        public PythonSettings.ExperimentalFeatures getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

        public PythonSettings.ExperimentalFeatures 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.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,​PythonSettings.ExperimentalFeatures.Builder>
      • mergeFrom

        public PythonSettings.ExperimentalFeatures.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<PythonSettings.ExperimentalFeatures.Builder>
        Throws:
        java.io.IOException
      • getRestAsyncIoEnabled

        public boolean getRestAsyncIoEnabled()
         Enables generation of asynchronous REST clients if `rest` transport is
         enabled. By default, asynchronous REST clients will not be generated.
         This feature will be enabled by default 1 month after launching the
         feature in preview packages.
         
        bool rest_async_io_enabled = 1;
        Specified by:
        getRestAsyncIoEnabled in interface PythonSettings.ExperimentalFeaturesOrBuilder
        Returns:
        The restAsyncIoEnabled.
      • setRestAsyncIoEnabled

        public PythonSettings.ExperimentalFeatures.Builder setRestAsyncIoEnabled​(boolean value)
         Enables generation of asynchronous REST clients if `rest` transport is
         enabled. By default, asynchronous REST clients will not be generated.
         This feature will be enabled by default 1 month after launching the
         feature in preview packages.
         
        bool rest_async_io_enabled = 1;
        Parameters:
        value - The restAsyncIoEnabled to set.
        Returns:
        This builder for chaining.
      • clearRestAsyncIoEnabled

        public PythonSettings.ExperimentalFeatures.Builder clearRestAsyncIoEnabled()
         Enables generation of asynchronous REST clients if `rest` transport is
         enabled. By default, asynchronous REST clients will not be generated.
         This feature will be enabled by default 1 month after launching the
         feature in preview packages.
         
        bool rest_async_io_enabled = 1;
        Returns:
        This builder for chaining.