Class EndpointServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public EndpointServiceStubSettings.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()
      • createEndpointSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEndpointRequest,​com.google.longrunning.Operation> createEndpointSettings()
        Returns the builder for the settings used for calls to createEndpoint.
      • createEndpointOperationSettings

        @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<CreateEndpointRequest,​Endpoint,​CreateEndpointOperationMetadata> createEndpointOperationSettings()
        Returns the builder for the settings used for calls to createEndpoint.
      • getEndpointSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEndpointRequest,​Endpoint> getEndpointSettings()
        Returns the builder for the settings used for calls to getEndpoint.
      • updateEndpointSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEndpointRequest,​Endpoint> updateEndpointSettings()
        Returns the builder for the settings used for calls to updateEndpoint.
      • deleteEndpointSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEndpointRequest,​com.google.longrunning.Operation> deleteEndpointSettings()
        Returns the builder for the settings used for calls to deleteEndpoint.
      • deleteEndpointOperationSettings

        @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<DeleteEndpointRequest,​com.google.protobuf.Empty,​DeleteOperationMetadata> deleteEndpointOperationSettings()
        Returns the builder for the settings used for calls to deleteEndpoint.
      • deployModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployModelRequest,​com.google.longrunning.Operation> deployModelSettings()
        Returns the builder for the settings used for calls to deployModel.
      • deployModelOperationSettings

        @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<DeployModelRequest,​DeployModelResponse,​DeployModelOperationMetadata> deployModelOperationSettings()
        Returns the builder for the settings used for calls to deployModel.
      • undeployModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployModelRequest,​com.google.longrunning.Operation> undeployModelSettings()
        Returns the builder for the settings used for calls to undeployModel.
      • undeployModelOperationSettings

        @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<UndeployModelRequest,​UndeployModelResponse,​UndeployModelOperationMetadata> undeployModelOperationSettings()
        Returns the builder for the settings used for calls to undeployModel.
      • mutateDeployedModelSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateDeployedModelRequest,​com.google.longrunning.Operation> mutateDeployedModelSettings()
        Returns the builder for the settings used for calls to mutateDeployedModel.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​EndpointServiceClient.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.