Class DocumentSchemaServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DocumentSchemaServiceSettings,DocumentSchemaServiceSettings.Builder>
-
- com.google.cloud.contentwarehouse.v1.DocumentSchemaServiceSettings.Builder
-
- Enclosing class:
- DocumentSchemaServiceSettings
public static class DocumentSchemaServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DocumentSchemaServiceSettings,DocumentSchemaServiceSettings.Builder>
Builder for DocumentSchemaServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DocumentSchemaServiceSettings settings)
protected
Builder(DocumentSchemaServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSchemaServiceSettings.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.DocumentSchemaServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentSchemaRequest,DocumentSchema>
createDocumentSchemaSettings()
Returns the builder for the settings used for calls to createDocumentSchema.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentSchemaRequest,com.google.protobuf.Empty>
deleteDocumentSchemaSettings()
Returns the builder for the settings used for calls to deleteDocumentSchema.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentSchemaRequest,DocumentSchema>
getDocumentSchemaSettings()
Returns the builder for the settings used for calls to getDocumentSchema.DocumentSchemaServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentSchemasRequest,ListDocumentSchemasResponse,DocumentSchemaServiceClient.ListDocumentSchemasPagedResponse>
listDocumentSchemasSettings()
Returns the builder for the settings used for calls to listDocumentSchemas.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentSchemaRequest,DocumentSchema>
updateDocumentSchemaSettings()
Returns the builder for the settings used for calls to updateDocumentSchema.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DocumentSchemaServiceSettings settings)
-
Builder
protected Builder(DocumentSchemaServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DocumentSchemaServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DocumentSchemaServiceSettings.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.
-
createDocumentSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDocumentSchemaRequest,DocumentSchema> createDocumentSchemaSettings()
Returns the builder for the settings used for calls to createDocumentSchema.
-
updateDocumentSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDocumentSchemaRequest,DocumentSchema> updateDocumentSchemaSettings()
Returns the builder for the settings used for calls to updateDocumentSchema.
-
getDocumentSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDocumentSchemaRequest,DocumentSchema> getDocumentSchemaSettings()
Returns the builder for the settings used for calls to getDocumentSchema.
-
deleteDocumentSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDocumentSchemaRequest,com.google.protobuf.Empty> deleteDocumentSchemaSettings()
Returns the builder for the settings used for calls to deleteDocumentSchema.
-
listDocumentSchemasSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDocumentSchemasRequest,ListDocumentSchemasResponse,DocumentSchemaServiceClient.ListDocumentSchemasPagedResponse> listDocumentSchemasSettings()
Returns the builder for the settings used for calls to listDocumentSchemas.
-
build
public DocumentSchemaServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DocumentSchemaServiceSettings,DocumentSchemaServiceSettings.Builder>
- Throws:
IOException
-
-