Class BatchServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public BatchServiceStubSettings.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()
      • createJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,​Job> createJobSettings()
        Returns the builder for the settings used for calls to createJob.
      • getJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,​Job> getJobSettings()
        Returns the builder for the settings used for calls to getJob.
      • deleteJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,​com.google.longrunning.Operation> deleteJobSettings()
        Returns the builder for the settings used for calls to deleteJob.
      • deleteJobOperationSettings

        @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<DeleteJobRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteJobOperationSettings()
        Returns the builder for the settings used for calls to deleteJob.
      • getTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,​Task> getTaskSettings()
        Returns the builder for the settings used for calls to getTask.
      • listLocationsSettings

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