Package com.google.cloud.pubsub.v1.stub
Class SchemaServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SchemaServiceStubSettings,SchemaServiceStubSettings.Builder>
com.google.cloud.pubsub.v1.stub.SchemaServiceStubSettings.Builder
- Enclosing class:
- SchemaServiceStubSettings
public static class SchemaServiceStubSettings.Builder
extends com.google.api.gax.rpc.StubSettings.Builder<SchemaServiceStubSettings,SchemaServiceStubSettings.Builder>
Builder for SchemaServiceStubSettings.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder()
protected
Builder
(com.google.api.gax.rpc.ClientContext clientContext) protected
Builder
(SchemaServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods
(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.build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitSchemaRequest,
Schema> Returns the builder for the settings used for calls to commitSchema.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSchemaRequest,
Schema> Returns the builder for the settings used for calls to createSchema.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSchemaRevisionRequest,
Schema> Returns the builder for the settings used for calls to deleteSchemaRevision.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSchemaRequest,
com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSchema.Returns the endpoint set by the user or the the service's default endpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,
com.google.iam.v1.Policy> Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSchemaRequest,
Schema> Returns the builder for the settings used for calls to getSchema.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchemaRevisionsRequest,
ListSchemaRevisionsResponse, SchemaServiceClient.ListSchemaRevisionsPagedResponse> Returns the builder for the settings used for calls to listSchemaRevisions.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchemasRequest,
ListSchemasResponse, SchemaServiceClient.ListSchemasPagedResponse> Returns the builder for the settings used for calls to listSchemas.com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackSchemaRequest,
Schema> Returns the builder for the settings used for calls to rollbackSchema.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,
com.google.iam.v1.Policy> Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,
com.google.iam.v1.TestIamPermissionsResponse> Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,
?>> com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateMessageRequest,
ValidateMessageResponse> Returns the builder for the settings used for calls to validateMessage.com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateSchemaRequest,
ValidateSchemaResponse> Returns the builder for the settings used for calls to validateSchema.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, 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, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public SchemaServiceStubSettings.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() -
createSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSchemaRequest,Schema> createSchemaSettings()Returns the builder for the settings used for calls to createSchema. -
getSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSchemaRequest,Schema> getSchemaSettings()Returns the builder for the settings used for calls to getSchema. -
listSchemasSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchemasRequest,ListSchemasResponse, listSchemasSettings()SchemaServiceClient.ListSchemasPagedResponse> Returns the builder for the settings used for calls to listSchemas. -
listSchemaRevisionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchemaRevisionsRequest,ListSchemaRevisionsResponse, listSchemaRevisionsSettings()SchemaServiceClient.ListSchemaRevisionsPagedResponse> Returns the builder for the settings used for calls to listSchemaRevisions. -
commitSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitSchemaRequest,Schema> commitSchemaSettings()Returns the builder for the settings used for calls to commitSchema. -
rollbackSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackSchemaRequest,Schema> rollbackSchemaSettings()Returns the builder for the settings used for calls to rollbackSchema. -
deleteSchemaRevisionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSchemaRevisionRequest,Schema> deleteSchemaRevisionSettings()Returns the builder for the settings used for calls to deleteSchemaRevision. -
deleteSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSchemaRequest,com.google.protobuf.Empty> deleteSchemaSettings()Returns the builder for the settings used for calls to deleteSchema. -
validateSchemaSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaSettings()Returns the builder for the settings used for calls to validateSchema. -
validateMessageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateMessageRequest,ValidateMessageResponse> validateMessageSettings()Returns the builder for the settings used for calls to validateMessage. -
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
getEndpoint
Returns the endpoint set by the user or the the service's default endpoint.- Overrides:
getEndpoint
in classcom.google.api.gax.rpc.StubSettings.Builder<SchemaServiceStubSettings,
SchemaServiceStubSettings.Builder>
-
build
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<SchemaServiceStubSettings,
SchemaServiceStubSettings.Builder> - Throws:
IOException
-