Class SchemaServiceSettings.Builder

java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SchemaServiceSettings,SchemaServiceSettings.Builder>
com.google.cloud.pubsub.v1.SchemaServiceSettings.Builder
Enclosing class:
SchemaServiceSettings

public static class SchemaServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SchemaServiceSettings,SchemaServiceSettings.Builder>
Builder for SchemaServiceSettings.
  • Constructor Details

  • Method Details

    • getStubSettingsBuilder

      public SchemaServiceStubSettings.Builder getStubSettingsBuilder()
    • applyToAllUnaryMethods

      public SchemaServiceSettings.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.

    • createSchemaSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSchemaRequest,Schema> createSchemaSettings()
      Returns the builder for the settings used for calls to createSchema.
    • getSchemaSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSchemaRequest,Schema> getSchemaSettings()
      Returns the builder for the settings used for calls to getSchema.
    • listSchemasSettings

      public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchemasRequest,ListSchemasResponse,SchemaServiceClient.ListSchemasPagedResponse> listSchemasSettings()
      Returns the builder for the settings used for calls to listSchemas.
    • listSchemaRevisionsSettings

      public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchemaRevisionsRequest,ListSchemaRevisionsResponse,SchemaServiceClient.ListSchemaRevisionsPagedResponse> listSchemaRevisionsSettings()
      Returns the builder for the settings used for calls to listSchemaRevisions.
    • commitSchemaSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitSchemaRequest,Schema> commitSchemaSettings()
      Returns the builder for the settings used for calls to commitSchema.
    • rollbackSchemaSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackSchemaRequest,Schema> rollbackSchemaSettings()
      Returns the builder for the settings used for calls to rollbackSchema.
    • deleteSchemaRevisionSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSchemaRevisionRequest,Schema> deleteSchemaRevisionSettings()
      Returns the builder for the settings used for calls to deleteSchemaRevision.
    • deleteSchemaSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSchemaRequest,com.google.protobuf.Empty> deleteSchemaSettings()
      Returns the builder for the settings used for calls to deleteSchema.
    • validateSchemaSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaSettings()
      Returns the builder for the settings used for calls to validateSchema.
    • validateMessageSettings

      public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateMessageRequest,ValidateMessageResponse> validateMessageSettings()
      Returns the builder for the settings used for calls to validateMessage.
    • 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.
    • build

      public SchemaServiceSettings build() throws IOException
      Specified by:
      build in class com.google.api.gax.rpc.ClientSettings.Builder<SchemaServiceSettings,SchemaServiceSettings.Builder>
      Throws:
      IOException