Class ReservationsStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public ReservationsStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>,​Void> settingsUpdater)
        Applies the given settings updater function to all of the unary API methods in this service.

        Note: This method does not support applying settings to streaming methods.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • deleteSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteReservationRequest,​Operation> deleteSettings()
        Returns the builder for the settings used for calls to delete.
      • deleteOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteReservationRequest,​Operation,​Operation> deleteOperationSettings()
        Returns the builder for the settings used for calls to delete.
      • getSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReservationRequest,​Reservation> getSettings()
        Returns the builder for the settings used for calls to get.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyReservationRequest,​Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • insertSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertReservationRequest,​Operation> insertSettings()
        Returns the builder for the settings used for calls to insert.
      • insertOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertReservationRequest,​Operation,​Operation> insertOperationSettings()
        Returns the builder for the settings used for calls to insert.
      • resizeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeReservationRequest,​Operation> resizeSettings()
        Returns the builder for the settings used for calls to resize.
      • resizeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<ResizeReservationRequest,​Operation,​Operation> resizeOperationSettings()
        Returns the builder for the settings used for calls to resize.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyReservationRequest,​Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • updateSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateReservationRequest,​Operation> updateSettings()
        Returns the builder for the settings used for calls to update.
      • updateOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateReservationRequest,​Operation,​Operation> updateOperationSettings()
        Returns the builder for the settings used for calls to update.