Class DocumentSchemaServiceSettings.Builder (0.39.0)

public static class DocumentSchemaServiceSettings.Builder extends ClientSettings.Builder<DocumentSchemaServiceSettings,DocumentSchemaServiceSettings.Builder>

Builder for DocumentSchemaServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DocumentSchemaServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DocumentSchemaServiceSettings settings)

protected Builder(DocumentSchemaServiceSettings settings)
Parameter
Name Description
settings DocumentSchemaServiceSettings

Builder(DocumentSchemaServiceStubSettings.Builder stubSettings)

protected Builder(DocumentSchemaServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DocumentSchemaServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DocumentSchemaServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DocumentSchemaServiceSettings.Builder

build()

public DocumentSchemaServiceSettings build()
Returns
Type Description
DocumentSchemaServiceSettings
Overrides
Exceptions
Type Description
IOException

createDocumentSchemaSettings()

public UnaryCallSettings.Builder<CreateDocumentSchemaRequest,DocumentSchema> createDocumentSchemaSettings()

Returns the builder for the settings used for calls to createDocumentSchema.

Returns
Type Description
Builder<CreateDocumentSchemaRequest,DocumentSchema>

deleteDocumentSchemaSettings()

public UnaryCallSettings.Builder<DeleteDocumentSchemaRequest,Empty> deleteDocumentSchemaSettings()

Returns the builder for the settings used for calls to deleteDocumentSchema.

Returns
Type Description
Builder<DeleteDocumentSchemaRequest,Empty>

getDocumentSchemaSettings()

public UnaryCallSettings.Builder<GetDocumentSchemaRequest,DocumentSchema> getDocumentSchemaSettings()

Returns the builder for the settings used for calls to getDocumentSchema.

Returns
Type Description
Builder<GetDocumentSchemaRequest,DocumentSchema>

getStubSettingsBuilder()

public DocumentSchemaServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DocumentSchemaServiceStubSettings.Builder

listDocumentSchemasSettings()

public PagedCallSettings.Builder<ListDocumentSchemasRequest,ListDocumentSchemasResponse,DocumentSchemaServiceClient.ListDocumentSchemasPagedResponse> listDocumentSchemasSettings()

Returns the builder for the settings used for calls to listDocumentSchemas.

Returns
Type Description
Builder<ListDocumentSchemasRequest,ListDocumentSchemasResponse,ListDocumentSchemasPagedResponse>

updateDocumentSchemaSettings()

public UnaryCallSettings.Builder<UpdateDocumentSchemaRequest,DocumentSchema> updateDocumentSchemaSettings()

Returns the builder for the settings used for calls to updateDocumentSchema.

Returns
Type Description
Builder<UpdateDocumentSchemaRequest,DocumentSchema>