Class DocumentSchemaServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<DocumentSchemaServiceStubSettings,DocumentSchemaServiceStubSettings.Builder>
-
- com.google.cloud.contentwarehouse.v1.stub.DocumentSchemaServiceStubSettings.Builder
-
- Enclosing class:
- DocumentSchemaServiceStubSettings
public static class DocumentSchemaServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DocumentSchemaServiceStubSettings,DocumentSchemaServiceStubSettings.Builder>
Builder for DocumentSchemaServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DocumentSchemaServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSchemaServiceStubSettings.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.DocumentSchemaServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DocumentSchemaServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public DocumentSchemaServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 DocumentSchemaServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DocumentSchemaServiceStubSettings,DocumentSchemaServiceStubSettings.Builder>
- Throws:
IOException
-
-