Class ScheduleServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ScheduleServiceStubSettings,ScheduleServiceStubSettings.Builder>
-
- com.google.cloud.aiplatform.v1.stub.ScheduleServiceStubSettings.Builder
-
- Enclosing class:
- ScheduleServiceStubSettings
public static class ScheduleServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ScheduleServiceStubSettings,ScheduleServiceStubSettings.Builder>
Builder for ScheduleServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ScheduleServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleServiceStubSettings.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.ScheduleServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateScheduleRequest,Schedule>
createScheduleSettings()
Returns the builder for the settings used for calls to createSchedule.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteScheduleRequest,com.google.protobuf.Empty,DeleteOperationMetadata>
deleteScheduleOperationSettings()
Returns the builder for the settings used for calls to deleteSchedule.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteScheduleRequest,com.google.longrunning.Operation>
deleteScheduleSettings()
Returns the builder for the settings used for calls to deleteSchedule.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.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetScheduleRequest,Schedule>
getScheduleSettings()
Returns the builder for the settings used for calls to getSchedule.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ScheduleServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchedulesRequest,ListSchedulesResponse,ScheduleServiceClient.ListSchedulesPagedResponse>
listSchedulesSettings()
Returns the builder for the settings used for calls to listSchedules.com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseScheduleRequest,com.google.protobuf.Empty>
pauseScheduleSettings()
Returns the builder for the settings used for calls to pauseSchedule.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeScheduleRequest,com.google.protobuf.Empty>
resumeScheduleSettings()
Returns the builder for the settings used for calls to resumeSchedule.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.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateScheduleRequest,Schedule>
updateScheduleSettings()
Returns the builder for the settings used for calls to updateSchedule.-
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(ScheduleServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ScheduleServiceStubSettings.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()
-
createScheduleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateScheduleRequest,Schedule> createScheduleSettings()
Returns the builder for the settings used for calls to createSchedule.
-
deleteScheduleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteScheduleRequest,com.google.longrunning.Operation> deleteScheduleSettings()
Returns the builder for the settings used for calls to deleteSchedule.
-
deleteScheduleOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteScheduleRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteScheduleOperationSettings()
Returns the builder for the settings used for calls to deleteSchedule.
-
getScheduleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetScheduleRequest,Schedule> getScheduleSettings()
Returns the builder for the settings used for calls to getSchedule.
-
listSchedulesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSchedulesRequest,ListSchedulesResponse,ScheduleServiceClient.ListSchedulesPagedResponse> listSchedulesSettings()
Returns the builder for the settings used for calls to listSchedules.
-
pauseScheduleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseScheduleRequest,com.google.protobuf.Empty> pauseScheduleSettings()
Returns the builder for the settings used for calls to pauseSchedule.
-
resumeScheduleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeScheduleRequest,com.google.protobuf.Empty> resumeScheduleSettings()
Returns the builder for the settings used for calls to resumeSchedule.
-
updateScheduleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateScheduleRequest,Schedule> updateScheduleSettings()
Returns the builder for the settings used for calls to updateSchedule.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ScheduleServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
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.
-
build
public ScheduleServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ScheduleServiceStubSettings,ScheduleServiceStubSettings.Builder>
- Throws:
IOException
-
-