public static class SchemaServiceStubSettings.Builder extends StubSettings.Builder<SchemaServiceStubSettings,SchemaServiceStubSettings.Builder>
Builder for SchemaServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(SchemaServiceStubSettings settings)
protected Builder(SchemaServiceStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SchemaServiceStubSettings.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.
build()
public SchemaServiceStubSettings build()
Overrides
createSchemaOperationSettings()
public OperationCallSettings.Builder<CreateSchemaRequest,Schema,CreateSchemaMetadata> createSchemaOperationSettings()
Returns the builder for the settings used for calls to createSchema.
createSchemaSettings()
public UnaryCallSettings.Builder<CreateSchemaRequest,Operation> createSchemaSettings()
Returns the builder for the settings used for calls to createSchema.
deleteSchemaOperationSettings()
public OperationCallSettings.Builder<DeleteSchemaRequest,Empty,DeleteSchemaMetadata> deleteSchemaOperationSettings()
Returns the builder for the settings used for calls to deleteSchema.
deleteSchemaSettings()
public UnaryCallSettings.Builder<DeleteSchemaRequest,Operation> deleteSchemaSettings()
Returns the builder for the settings used for calls to deleteSchema.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getSchemaSettings()
public UnaryCallSettings.Builder<GetSchemaRequest,Schema> getSchemaSettings()
Returns the builder for the settings used for calls to getSchema.
listSchemasSettings()
public PagedCallSettings.Builder<ListSchemasRequest,ListSchemasResponse,SchemaServiceClient.ListSchemasPagedResponse> listSchemasSettings()
Returns the builder for the settings used for calls to listSchemas.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateSchemaOperationSettings()
public OperationCallSettings.Builder<UpdateSchemaRequest,Schema,UpdateSchemaMetadata> updateSchemaOperationSettings()
Returns the builder for the settings used for calls to updateSchema.
updateSchemaSettings()
public UnaryCallSettings.Builder<UpdateSchemaRequest,Operation> updateSchemaSettings()
Returns the builder for the settings used for calls to updateSchema.