Skip to content

Commit

Permalink
chore: generate libraries at Sat Oct 19 02:23:09 UTC 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot committed Oct 19, 2024
1 parent c2be079 commit 55a621a
Show file tree
Hide file tree
Showing 45 changed files with 321 additions and 25,057 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
package com.google.storage.v2;

import static com.google.storage.v2.StorageClient.ListBucketsPagedResponse;
import static com.google.storage.v2.StorageClient.ListHmacKeysPagedResponse;
import static com.google.storage.v2.StorageClient.ListNotificationConfigsPagedResponse;
import static com.google.storage.v2.StorageClient.ListObjectsPagedResponse;

import com.google.api.core.ApiFunction;
Expand Down Expand Up @@ -214,114 +212,6 @@ public UnaryCallSettings<RewriteObjectRequest, RewriteResponse> rewriteObjectSet
return ((StorageStubSettings) getStubSettings()).queryWriteStatusSettings();
}

/**
* Returns the object with the settings used for calls to getServiceAccount.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<GetServiceAccountRequest, ServiceAccount> getServiceAccountSettings() {
return ((StorageStubSettings) getStubSettings()).getServiceAccountSettings();
}

/**
* Returns the object with the settings used for calls to createHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<CreateHmacKeyRequest, CreateHmacKeyResponse> createHmacKeySettings() {
return ((StorageStubSettings) getStubSettings()).createHmacKeySettings();
}

/**
* Returns the object with the settings used for calls to deleteHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<DeleteHmacKeyRequest, Empty> deleteHmacKeySettings() {
return ((StorageStubSettings) getStubSettings()).deleteHmacKeySettings();
}

/**
* Returns the object with the settings used for calls to getHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<GetHmacKeyRequest, HmacKeyMetadata> getHmacKeySettings() {
return ((StorageStubSettings) getStubSettings()).getHmacKeySettings();
}

/**
* Returns the object with the settings used for calls to listHmacKeys.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public PagedCallSettings<ListHmacKeysRequest, ListHmacKeysResponse, ListHmacKeysPagedResponse>
listHmacKeysSettings() {
return ((StorageStubSettings) getStubSettings()).listHmacKeysSettings();
}

/**
* Returns the object with the settings used for calls to updateHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<UpdateHmacKeyRequest, HmacKeyMetadata> updateHmacKeySettings() {
return ((StorageStubSettings) getStubSettings()).updateHmacKeySettings();
}

/**
* Returns the object with the settings used for calls to deleteNotificationConfig.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<DeleteNotificationConfigRequest, Empty>
deleteNotificationConfigSettings() {
return ((StorageStubSettings) getStubSettings()).deleteNotificationConfigSettings();
}

/**
* Returns the object with the settings used for calls to getNotificationConfig.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<GetNotificationConfigRequest, NotificationConfig>
getNotificationConfigSettings() {
return ((StorageStubSettings) getStubSettings()).getNotificationConfigSettings();
}

/**
* Returns the object with the settings used for calls to createNotificationConfig.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings<CreateNotificationConfigRequest, NotificationConfig>
createNotificationConfigSettings() {
return ((StorageStubSettings) getStubSettings()).createNotificationConfigSettings();
}

/**
* Returns the object with the settings used for calls to listNotificationConfigs.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public PagedCallSettings<
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
ListNotificationConfigsPagedResponse>
listNotificationConfigsSettings() {
return ((StorageStubSettings) getStubSettings()).listNotificationConfigsSettings();
}

public static final StorageSettings create(StorageStubSettings stub) throws IOException {
return new StorageSettings.Builder(stub.toBuilder()).build();
}
Expand Down Expand Up @@ -540,118 +430,6 @@ public UnaryCallSettings.Builder<UpdateObjectRequest, Object> updateObjectSettin
return getStubSettingsBuilder().queryWriteStatusSettings();
}

/**
* Returns the builder for the settings used for calls to getServiceAccount.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<GetServiceAccountRequest, ServiceAccount>
getServiceAccountSettings() {
return getStubSettingsBuilder().getServiceAccountSettings();
}

/**
* Returns the builder for the settings used for calls to createHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<CreateHmacKeyRequest, CreateHmacKeyResponse>
createHmacKeySettings() {
return getStubSettingsBuilder().createHmacKeySettings();
}

/**
* Returns the builder for the settings used for calls to deleteHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<DeleteHmacKeyRequest, Empty> deleteHmacKeySettings() {
return getStubSettingsBuilder().deleteHmacKeySettings();
}

/**
* Returns the builder for the settings used for calls to getHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<GetHmacKeyRequest, HmacKeyMetadata> getHmacKeySettings() {
return getStubSettingsBuilder().getHmacKeySettings();
}

/**
* Returns the builder for the settings used for calls to listHmacKeys.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public PagedCallSettings.Builder<
ListHmacKeysRequest, ListHmacKeysResponse, ListHmacKeysPagedResponse>
listHmacKeysSettings() {
return getStubSettingsBuilder().listHmacKeysSettings();
}

/**
* Returns the builder for the settings used for calls to updateHmacKey.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<UpdateHmacKeyRequest, HmacKeyMetadata>
updateHmacKeySettings() {
return getStubSettingsBuilder().updateHmacKeySettings();
}

/**
* Returns the builder for the settings used for calls to deleteNotificationConfig.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<DeleteNotificationConfigRequest, Empty>
deleteNotificationConfigSettings() {
return getStubSettingsBuilder().deleteNotificationConfigSettings();
}

/**
* Returns the builder for the settings used for calls to getNotificationConfig.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<GetNotificationConfigRequest, NotificationConfig>
getNotificationConfigSettings() {
return getStubSettingsBuilder().getNotificationConfigSettings();
}

/**
* Returns the builder for the settings used for calls to createNotificationConfig.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public UnaryCallSettings.Builder<CreateNotificationConfigRequest, NotificationConfig>
createNotificationConfigSettings() {
return getStubSettingsBuilder().createNotificationConfigSettings();
}

/**
* Returns the builder for the settings used for calls to listNotificationConfigs.
*
* @deprecated This method is deprecated and will be removed in the next major version update.
*/
@Deprecated
public PagedCallSettings.Builder<
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
ListNotificationConfigsPagedResponse>
listNotificationConfigsSettings() {
return getStubSettingsBuilder().listNotificationConfigsSettings();
}

@Override
public StorageSettings build() throws IOException {
return new StorageSettings(this);
Expand Down
Loading

0 comments on commit 55a621a

Please sign in to comment.