Class NotebookServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public NotebookServiceStubSettings.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()
      • getInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,​Instance> getInstanceSettings()
        Returns the builder for the settings used for calls to getInstance.
      • createInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,​com.google.longrunning.Operation> createInstanceSettings()
        Returns the builder for the settings used for calls to createInstance.
      • createInstanceOperationSettings

        @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<CreateInstanceRequest,​Instance,​OperationMetadata> createInstanceOperationSettings()
        Returns the builder for the settings used for calls to createInstance.
      • registerInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RegisterInstanceRequest,​com.google.longrunning.Operation> registerInstanceSettings()
        Returns the builder for the settings used for calls to registerInstance.
      • registerInstanceOperationSettings

        @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<RegisterInstanceRequest,​Instance,​OperationMetadata> registerInstanceOperationSettings()
        Returns the builder for the settings used for calls to registerInstance.
      • setInstanceAcceleratorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceAcceleratorRequest,​com.google.longrunning.Operation> setInstanceAcceleratorSettings()
        Returns the builder for the settings used for calls to setInstanceAccelerator.
      • setInstanceAcceleratorOperationSettings

        @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<SetInstanceAcceleratorRequest,​Instance,​OperationMetadata> setInstanceAcceleratorOperationSettings()
        Returns the builder for the settings used for calls to setInstanceAccelerator.
      • setInstanceMachineTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceMachineTypeRequest,​com.google.longrunning.Operation> setInstanceMachineTypeSettings()
        Returns the builder for the settings used for calls to setInstanceMachineType.
      • setInstanceMachineTypeOperationSettings

        @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<SetInstanceMachineTypeRequest,​Instance,​OperationMetadata> setInstanceMachineTypeOperationSettings()
        Returns the builder for the settings used for calls to setInstanceMachineType.
      • setInstanceLabelsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetInstanceLabelsRequest,​com.google.longrunning.Operation> setInstanceLabelsSettings()
        Returns the builder for the settings used for calls to setInstanceLabels.
      • setInstanceLabelsOperationSettings

        @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<SetInstanceLabelsRequest,​Instance,​OperationMetadata> setInstanceLabelsOperationSettings()
        Returns the builder for the settings used for calls to setInstanceLabels.
      • deleteInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,​com.google.longrunning.Operation> deleteInstanceSettings()
        Returns the builder for the settings used for calls to deleteInstance.
      • deleteInstanceOperationSettings

        @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<DeleteInstanceRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteInstanceOperationSettings()
        Returns the builder for the settings used for calls to deleteInstance.
      • startInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartInstanceRequest,​com.google.longrunning.Operation> startInstanceSettings()
        Returns the builder for the settings used for calls to startInstance.
      • startInstanceOperationSettings

        @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<StartInstanceRequest,​Instance,​OperationMetadata> startInstanceOperationSettings()
        Returns the builder for the settings used for calls to startInstance.
      • stopInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopInstanceRequest,​com.google.longrunning.Operation> stopInstanceSettings()
        Returns the builder for the settings used for calls to stopInstance.
      • stopInstanceOperationSettings

        @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<StopInstanceRequest,​Instance,​OperationMetadata> stopInstanceOperationSettings()
        Returns the builder for the settings used for calls to stopInstance.
      • resetInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResetInstanceRequest,​com.google.longrunning.Operation> resetInstanceSettings()
        Returns the builder for the settings used for calls to resetInstance.
      • resetInstanceOperationSettings

        @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<ResetInstanceRequest,​Instance,​OperationMetadata> resetInstanceOperationSettings()
        Returns the builder for the settings used for calls to resetInstance.
      • reportInstanceInfoSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportInstanceInfoRequest,​com.google.longrunning.Operation> reportInstanceInfoSettings()
        Returns the builder for the settings used for calls to reportInstanceInfo.
      • reportInstanceInfoOperationSettings

        @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<ReportInstanceInfoRequest,​Instance,​OperationMetadata> reportInstanceInfoOperationSettings()
        Returns the builder for the settings used for calls to reportInstanceInfo.
      • isInstanceUpgradeableSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<IsInstanceUpgradeableRequest,​IsInstanceUpgradeableResponse> isInstanceUpgradeableSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to isInstanceUpgradeable.
      • upgradeInstanceSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceRequest,​com.google.longrunning.Operation> upgradeInstanceSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to upgradeInstance.
      • upgradeInstanceOperationSettings

        @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<UpgradeInstanceRequest,​Instance,​OperationMetadata> upgradeInstanceOperationSettings()
        Returns the builder for the settings used for calls to upgradeInstance.
      • upgradeInstanceInternalSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpgradeInstanceInternalRequest,​com.google.longrunning.Operation> upgradeInstanceInternalSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to upgradeInstanceInternal.
      • upgradeInstanceInternalOperationSettings

        @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<UpgradeInstanceInternalRequest,​Instance,​OperationMetadata> upgradeInstanceInternalOperationSettings()
        Returns the builder for the settings used for calls to upgradeInstanceInternal.
      • getEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,​Environment> getEnvironmentSettings()
        Returns the builder for the settings used for calls to getEnvironment.
      • createEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,​com.google.longrunning.Operation> createEnvironmentSettings()
        Returns the builder for the settings used for calls to createEnvironment.
      • createEnvironmentOperationSettings

        @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<CreateEnvironmentRequest,​Environment,​OperationMetadata> createEnvironmentOperationSettings()
        Returns the builder for the settings used for calls to createEnvironment.
      • deleteEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,​com.google.longrunning.Operation> deleteEnvironmentSettings()
        Returns the builder for the settings used for calls to deleteEnvironment.
      • deleteEnvironmentOperationSettings

        @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<DeleteEnvironmentRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteEnvironmentOperationSettings()
        Returns the builder for the settings used for calls to deleteEnvironment.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​NotebookServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.
      • setIamPolicySettings

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

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

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the builder for the settings used for calls to testIamPermissions.