Class NetworksStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public NetworksStubSettings.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()
      • addPeeringSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPeeringNetworkRequest,​Operation> addPeeringSettings()
        Returns the builder for the settings used for calls to addPeering.
      • addPeeringOperationSettings

        @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<AddPeeringNetworkRequest,​Operation,​Operation> addPeeringOperationSettings()
        Returns the builder for the settings used for calls to addPeering.
      • deleteSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkRequest,​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<DeleteNetworkRequest,​Operation,​Operation> deleteOperationSettings()
        Returns the builder for the settings used for calls to delete.
      • getSettings

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

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkRequest,​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<InsertNetworkRequest,​Operation,​Operation> insertOperationSettings()
        Returns the builder for the settings used for calls to insert.
      • patchSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchNetworkRequest,​Operation> patchSettings()
        Returns the builder for the settings used for calls to patch.
      • patchOperationSettings

        @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<PatchNetworkRequest,​Operation,​Operation> patchOperationSettings()
        Returns the builder for the settings used for calls to patch.
      • removePeeringSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePeeringNetworkRequest,​Operation> removePeeringSettings()
        Returns the builder for the settings used for calls to removePeering.
      • removePeeringOperationSettings

        @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<RemovePeeringNetworkRequest,​Operation,​Operation> removePeeringOperationSettings()
        Returns the builder for the settings used for calls to removePeering.
      • switchToCustomModeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchToCustomModeNetworkRequest,​Operation> switchToCustomModeSettings()
        Returns the builder for the settings used for calls to switchToCustomMode.
      • switchToCustomModeOperationSettings

        @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<SwitchToCustomModeNetworkRequest,​Operation,​Operation> switchToCustomModeOperationSettings()
        Returns the builder for the settings used for calls to switchToCustomMode.
      • updatePeeringSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePeeringNetworkRequest,​Operation> updatePeeringSettings()
        Returns the builder for the settings used for calls to updatePeering.
      • updatePeeringOperationSettings

        @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<UpdatePeeringNetworkRequest,​Operation,​Operation> updatePeeringOperationSettings()
        Returns the builder for the settings used for calls to updatePeering.