@Generated(value="by gRPC proto compiler", comments="Source: google/storage/v2/storage.proto") public final class StorageGrpc extends Object
## API Overview and Naming Syntax The Cloud Storage gRPC API allows applications to read and write data through the abstractions of buckets and objects. For a description of these abstractions please see https://cloud.google.com/storage/docs. Resources are named as follows: - Projects are referred to as they are defined by the Resource Manager API, using strings like `projects/123456` or `projects/my-string-id`. - Buckets are named using string names of the form: `projects/{project}/buckets/{bucket}` For globally unique buckets, `_` may be substituted for the project. - Objects are uniquely identified by their name along with the name of the bucket they belong to, as separate strings in this API. For example: ReadObjectRequest { bucket: 'projects/_/buckets/my-bucket' object: 'my-object' } Note that object names can contain `/` characters, which are treated as any other character (no special directory semantics).
Modifier and Type | Class and Description |
---|---|
static interface |
StorageGrpc.AsyncService
## API Overview and Naming Syntax
The Cloud Storage gRPC API allows applications to read and write data through
the abstractions of buckets and objects.
|
static class |
StorageGrpc.StorageBlockingStub
A stub to allow clients to do synchronous rpc calls to service Storage.
|
static class |
StorageGrpc.StorageFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service Storage.
|
static class |
StorageGrpc.StorageImplBase
Base class for the server implementation of the service Storage.
|
static class |
StorageGrpc.StorageStub
A stub to allow clients to do asynchronous rpc calls to service Storage.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
public static final String SERVICE_NAME
public static MethodDescriptor<DeleteBucketRequest,com.google.protobuf.Empty> getDeleteBucketMethod()
public static MethodDescriptor<GetBucketRequest,Bucket> getGetBucketMethod()
public static MethodDescriptor<CreateBucketRequest,Bucket> getCreateBucketMethod()
public static MethodDescriptor<ListBucketsRequest,ListBucketsResponse> getListBucketsMethod()
public static MethodDescriptor<LockBucketRetentionPolicyRequest,Bucket> getLockBucketRetentionPolicyMethod()
public static MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getGetIamPolicyMethod()
public static MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> getSetIamPolicyMethod()
public static MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod()
public static MethodDescriptor<UpdateBucketRequest,Bucket> getUpdateBucketMethod()
public static MethodDescriptor<DeleteNotificationConfigRequest,com.google.protobuf.Empty> getDeleteNotificationConfigMethod()
public static MethodDescriptor<GetNotificationConfigRequest,NotificationConfig> getGetNotificationConfigMethod()
public static MethodDescriptor<CreateNotificationConfigRequest,NotificationConfig> getCreateNotificationConfigMethod()
public static MethodDescriptor<ListNotificationConfigsRequest,ListNotificationConfigsResponse> getListNotificationConfigsMethod()
public static MethodDescriptor<ComposeObjectRequest,Object> getComposeObjectMethod()
public static MethodDescriptor<DeleteObjectRequest,com.google.protobuf.Empty> getDeleteObjectMethod()
public static MethodDescriptor<CancelResumableWriteRequest,CancelResumableWriteResponse> getCancelResumableWriteMethod()
public static MethodDescriptor<GetObjectRequest,Object> getGetObjectMethod()
public static MethodDescriptor<ReadObjectRequest,ReadObjectResponse> getReadObjectMethod()
public static MethodDescriptor<UpdateObjectRequest,Object> getUpdateObjectMethod()
public static MethodDescriptor<WriteObjectRequest,WriteObjectResponse> getWriteObjectMethod()
public static MethodDescriptor<ListObjectsRequest,ListObjectsResponse> getListObjectsMethod()
public static MethodDescriptor<RewriteObjectRequest,RewriteResponse> getRewriteObjectMethod()
public static MethodDescriptor<StartResumableWriteRequest,StartResumableWriteResponse> getStartResumableWriteMethod()
public static MethodDescriptor<QueryWriteStatusRequest,QueryWriteStatusResponse> getQueryWriteStatusMethod()
public static MethodDescriptor<GetServiceAccountRequest,ServiceAccount> getGetServiceAccountMethod()
public static MethodDescriptor<CreateHmacKeyRequest,CreateHmacKeyResponse> getCreateHmacKeyMethod()
public static MethodDescriptor<DeleteHmacKeyRequest,com.google.protobuf.Empty> getDeleteHmacKeyMethod()
public static MethodDescriptor<GetHmacKeyRequest,HmacKeyMetadata> getGetHmacKeyMethod()
public static MethodDescriptor<ListHmacKeysRequest,ListHmacKeysResponse> getListHmacKeysMethod()
public static MethodDescriptor<UpdateHmacKeyRequest,HmacKeyMetadata> getUpdateHmacKeyMethod()
public static StorageGrpc.StorageStub newStub(Channel channel)
public static StorageGrpc.StorageBlockingStub newBlockingStub(Channel channel)
public static StorageGrpc.StorageFutureStub newFutureStub(Channel channel)
public static final ServerServiceDefinition bindService(StorageGrpc.AsyncService service)
public static ServiceDescriptor getServiceDescriptor()
Copyright © 2023 Google LLC. All rights reserved.