Class DocumentSchemaServiceSettings.Builder (0.23.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
NameDescription
clientContextClientContext

Builder(DocumentSchemaServiceSettings settings)

protected Builder(DocumentSchemaServiceSettings settings)
Parameter
NameDescription
settingsDocumentSchemaServiceSettings

Builder(DocumentSchemaServiceStubSettings.Builder stubSettings)

protected Builder(DocumentSchemaServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDocumentSchemaServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DocumentSchemaServiceSettings.Builder

build()

public DocumentSchemaServiceSettings build()
Returns
TypeDescription
DocumentSchemaServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createDocumentSchemaSettings()

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

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

Returns
TypeDescription
Builder<CreateDocumentSchemaRequest,DocumentSchema>

deleteDocumentSchemaSettings()

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

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

Returns
TypeDescription
Builder<DeleteDocumentSchemaRequest,Empty>

getDocumentSchemaSettings()

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

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

Returns
TypeDescription
Builder<GetDocumentSchemaRequest,DocumentSchema>

getStubSettingsBuilder()

public DocumentSchemaServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DocumentSchemaServiceStubSettings.Builder

listDocumentSchemasSettings()

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

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

Returns
TypeDescription
Builder<ListDocumentSchemasRequest,ListDocumentSchemasResponse,ListDocumentSchemasPagedResponse>

updateDocumentSchemaSettings()

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

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

Returns
TypeDescription
Builder<UpdateDocumentSchemaRequest,DocumentSchema>