Class YouTubeVideoUploadServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<YouTubeVideoUploadServiceStubSettings,YouTubeVideoUploadServiceStubSettings.Builder>
com.google.ads.googleads.v23.services.stub.YouTubeVideoUploadServiceStubSettings.Builder
- Enclosing class:
- YouTubeVideoUploadServiceStubSettings
public static class YouTubeVideoUploadServiceStubSettings.Builder
extends com.google.api.gax.rpc.StubSettings.Builder<YouTubeVideoUploadServiceStubSettings,YouTubeVideoUploadServiceStubSettings.Builder>
Builder for YouTubeVideoUploadServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(YouTubeVideoUploadServiceStubSettings settings) protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) -
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<CreateYouTubeVideoUploadRequest,CreateYouTubeVideoUploadResponse> Returns the builder for the settings used for calls to createYouTubeVideoUpload.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveYouTubeVideoUploadRequest,RemoveYouTubeVideoUploadResponse> Returns the builder for the settings used for calls to removeYouTubeVideoUpload.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateYouTubeVideoUploadRequest,UpdateYouTubeVideoUploadResponse> Returns the builder for the settings used for calls to updateYouTubeVideoUpload.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, 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 YouTubeVideoUploadServiceStubSettings.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() -
createYouTubeVideoUploadSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateYouTubeVideoUploadRequest,CreateYouTubeVideoUploadResponse> createYouTubeVideoUploadSettings()Returns the builder for the settings used for calls to createYouTubeVideoUpload. -
updateYouTubeVideoUploadSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateYouTubeVideoUploadRequest,UpdateYouTubeVideoUploadResponse> updateYouTubeVideoUploadSettings()Returns the builder for the settings used for calls to updateYouTubeVideoUpload. -
removeYouTubeVideoUploadSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveYouTubeVideoUploadRequest,RemoveYouTubeVideoUploadResponse> removeYouTubeVideoUploadSettings()Returns the builder for the settings used for calls to removeYouTubeVideoUpload. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<YouTubeVideoUploadServiceStubSettings,YouTubeVideoUploadServiceStubSettings.Builder> - Throws:
IOException
-