public static class StorageStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<StorageStubSettings,StorageStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(StorageStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
StorageStubSettings.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.
|
StorageStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CancelResumableWriteRequest,CancelResumableWriteResponse> |
cancelResumableWriteSettings()
Returns the builder for the settings used for calls to cancelResumableWrite.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ComposeObjectRequest,Object> |
composeObjectSettings()
Returns the builder for the settings used for calls to composeObject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBucketRequest,Bucket> |
createBucketSettings()
Returns the builder for the settings used for calls to createBucket.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateHmacKeyRequest,CreateHmacKeyResponse> |
createHmacKeySettings()
Returns the builder for the settings used for calls to createHmacKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig> |
createNotificationConfigSettings()
Returns the builder for the settings used for calls to createNotificationConfig.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBucketRequest,com.google.protobuf.Empty> |
deleteBucketSettings()
Returns the builder for the settings used for calls to deleteBucket.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteHmacKeyRequest,com.google.protobuf.Empty> |
deleteHmacKeySettings()
Returns the builder for the settings used for calls to deleteHmacKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty> |
deleteNotificationConfigSettings()
Returns the builder for the settings used for calls to deleteNotificationConfig.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteObjectRequest,com.google.protobuf.Empty> |
deleteObjectSettings()
Returns the builder for the settings used for calls to deleteObject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBucketRequest,Bucket> |
getBucketSettings()
Returns the builder for the settings used for calls to getBucket.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetHmacKeyRequest,HmacKeyMetadata> |
getHmacKeySettings()
Returns the builder for the settings used for calls to getHmacKey.
|
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<GetNotificationConfigRequest,NotificationConfig> |
getNotificationConfigSettings()
Returns the builder for the settings used for calls to getNotificationConfig.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetObjectRequest,Object> |
getObjectSettings()
Returns the builder for the settings used for calls to getObject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> |
getServiceAccountSettings()
Returns the builder for the settings used for calls to getServiceAccount.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,StorageClient.ListBucketsPagedResponse> |
listBucketsSettings()
Returns the builder for the settings used for calls to listBuckets.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListHmacKeysRequest,ListHmacKeysResponse,StorageClient.ListHmacKeysPagedResponse> |
listHmacKeysSettings()
Returns the builder for the settings used for calls to listHmacKeys.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,StorageClient.ListNotificationConfigsPagedResponse> |
listNotificationConfigsSettings()
Returns the builder for the settings used for calls to listNotificationConfigs.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListObjectsRequest,ListObjectsResponse,StorageClient.ListObjectsPagedResponse> |
listObjectsSettings()
Returns the builder for the settings used for calls to listObjects.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<LockBucketRetentionPolicyRequest,Bucket> |
lockBucketRetentionPolicySettings()
Returns the builder for the settings used for calls to lockBucketRetentionPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> |
queryWriteStatusSettings()
Returns the builder for the settings used for calls to queryWriteStatus.
|
com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadObjectRequest,ReadObjectResponse> |
readObjectSettings()
Returns the builder for the settings used for calls to readObject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RewriteObjectRequest,RewriteResponse> |
rewriteObjectSettings()
Returns the builder for the settings used for calls to rewriteObject.
|
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<StartResumableWriteRequest,StartResumableWriteResponse> |
startResumableWriteSettings()
Returns the builder for the settings used for calls to startResumableWrite.
|
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<UpdateBucketRequest,Bucket> |
updateBucketSettings()
Returns the builder for the settings used for calls to updateBucket.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateHmacKeyRequest,HmacKeyMetadata> |
updateHmacKeySettings()
Returns the builder for the settings used for calls to updateHmacKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateObjectRequest,Object> |
updateObjectSettings()
Returns the builder for the settings used for calls to updateObject.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<WriteObjectRequest,WriteObjectResponse> |
writeObjectSettings()
Returns the builder for the settings used for calls to writeObject.
|
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
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(StorageStubSettings settings)
public StorageStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBucketRequest,com.google.protobuf.Empty> deleteBucketSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBucketRequest,Bucket> getBucketSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBucketRequest,Bucket> createBucketSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,StorageClient.ListBucketsPagedResponse> listBucketsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LockBucketRetentionPolicyRequest,Bucket> lockBucketRetentionPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBucketRequest,Bucket> updateBucketSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,StorageClient.ListNotificationConfigsPagedResponse> listNotificationConfigsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ComposeObjectRequest,Object> composeObjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteObjectRequest,com.google.protobuf.Empty> deleteObjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CancelResumableWriteRequest,CancelResumableWriteResponse> cancelResumableWriteSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetObjectRequest,Object> getObjectSettings()
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadObjectRequest,ReadObjectResponse> readObjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateObjectRequest,Object> updateObjectSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<WriteObjectRequest,WriteObjectResponse> writeObjectSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListObjectsRequest,ListObjectsResponse,StorageClient.ListObjectsPagedResponse> listObjectsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RewriteObjectRequest,RewriteResponse> rewriteObjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartResumableWriteRequest,StartResumableWriteResponse> startResumableWriteSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateHmacKeyRequest,CreateHmacKeyResponse> createHmacKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteHmacKeyRequest,com.google.protobuf.Empty> deleteHmacKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetHmacKeyRequest,HmacKeyMetadata> getHmacKeySettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListHmacKeysRequest,ListHmacKeysResponse,StorageClient.ListHmacKeysPagedResponse> listHmacKeysSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateHmacKeyRequest,HmacKeyMetadata> updateHmacKeySettings()
public StorageStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<StorageStubSettings,StorageStubSettings.Builder>
IOException
Copyright © 2023 Google LLC. All rights reserved.