public static class DocumentSchemaServiceStubSettings.Builder extends StubSettings.Builder<DocumentSchemaServiceStubSettings,DocumentSchemaServiceStubSettings.Builder>
Builder for DocumentSchemaServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(DocumentSchemaServiceStubSettings settings)
protected Builder(DocumentSchemaServiceStubSettings settings)
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
DocumentSchemaServiceStubSettings.Builder |
build()
public DocumentSchemaServiceStubSettings build()
Type | Description |
DocumentSchemaServiceStubSettings |
Type | Description |
IOException |
createDocumentSchemaSettings()
public UnaryCallSettings.Builder<CreateDocumentSchemaRequest,DocumentSchema> createDocumentSchemaSettings()
Returns the builder for the settings used for calls to createDocumentSchema.
Type | Description |
Builder<CreateDocumentSchemaRequest,DocumentSchema> |
deleteDocumentSchemaSettings()
public UnaryCallSettings.Builder<DeleteDocumentSchemaRequest,Empty> deleteDocumentSchemaSettings()
Returns the builder for the settings used for calls to deleteDocumentSchema.
Type | Description |
Builder<DeleteDocumentSchemaRequest,Empty> |
getDocumentSchemaSettings()
public UnaryCallSettings.Builder<GetDocumentSchemaRequest,DocumentSchema> getDocumentSchemaSettings()
Returns the builder for the settings used for calls to getDocumentSchema.
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.
Type | Description |
Builder<ListDocumentSchemasRequest,ListDocumentSchemasResponse,ListDocumentSchemasPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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.
Type | Description |
Builder<UpdateDocumentSchemaRequest,DocumentSchema> |