Class DocumentSchemaServiceStubSettings.Builder (0.39.0)

public static class DocumentSchemaServiceStubSettings.Builder extends StubSettings.Builder<DocumentSchemaServiceStubSettings,DocumentSchemaServiceStubSettings.Builder>

Builder for DocumentSchemaServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DocumentSchemaServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DocumentSchemaServiceStubSettings settings)

protected Builder(DocumentSchemaServiceStubSettings settings)
Parameter
Name Description
settings DocumentSchemaServiceStubSettings

Methods

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

public DocumentSchemaServiceStubSettings.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
DocumentSchemaServiceStubSettings.Builder

build()

public DocumentSchemaServiceStubSettings build()
Returns
Type Description
DocumentSchemaServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateDocumentSchemaSettings()

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

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

Returns
Type Description
Builder<UpdateDocumentSchemaRequest,DocumentSchema>