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 protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(DocumentSchemaServiceSettings settings)protectedBuilder(DocumentSchemaServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSchemaServiceSettings.BuilderapplyToAllUnaryMethods(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.DocumentSchemaServiceSettingsbuild()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.BuildergetStubSettingsBuilder()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:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<DocumentSchemaServiceSettings,DocumentSchemaServiceSettings.Builder>- Throws:
IOException
-
-