Package com.google.storage.v2
Class StorageGrpc
java.lang.Object
com.google.storage.v2.StorageGrpc
@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).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface## 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 final classA stub to allow clients to do synchronous rpc calls to service Storage.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Storage.static classBase class for the server implementation of the service Storage.static final classA stub to allow clients to do asynchronous rpc calls to service Storage. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(StorageGrpc.AsyncService service) static io.grpc.MethodDescriptor<BidiWriteObjectRequest,BidiWriteObjectResponse> static io.grpc.MethodDescriptor<CancelResumableWriteRequest,CancelResumableWriteResponse> static io.grpc.MethodDescriptor<ComposeObjectRequest,Object> static io.grpc.MethodDescriptor<CreateBucketRequest,Bucket> static io.grpc.MethodDescriptor<CreateHmacKeyRequest,CreateHmacKeyResponse> static io.grpc.MethodDescriptor<CreateNotificationConfigRequest,NotificationConfig> static io.grpc.MethodDescriptor<DeleteBucketRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteHmacKeyRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteNotificationConfigRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteObjectRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetBucketRequest,Bucket> static io.grpc.MethodDescriptor<GetHmacKeyRequest,HmacKeyMetadata> static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> static io.grpc.MethodDescriptor<GetNotificationConfigRequest,NotificationConfig> static io.grpc.MethodDescriptor<GetObjectRequest,Object> static io.grpc.MethodDescriptor<GetServiceAccountRequest,ServiceAccount> static io.grpc.MethodDescriptor<ListBucketsRequest,ListBucketsResponse> static io.grpc.MethodDescriptor<ListHmacKeysRequest,ListHmacKeysResponse> static io.grpc.MethodDescriptor<ListNotificationConfigsRequest,ListNotificationConfigsResponse> static io.grpc.MethodDescriptor<ListObjectsRequest,ListObjectsResponse> static io.grpc.MethodDescriptor<LockBucketRetentionPolicyRequest,Bucket> static io.grpc.MethodDescriptor<QueryWriteStatusRequest,QueryWriteStatusResponse> static io.grpc.MethodDescriptor<ReadObjectRequest,ReadObjectResponse> static io.grpc.MethodDescriptor<RestoreObjectRequest,Object> static io.grpc.MethodDescriptor<RewriteObjectRequest,RewriteResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> static io.grpc.MethodDescriptor<StartResumableWriteRequest,StartResumableWriteResponse> static io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> static io.grpc.MethodDescriptor<UpdateBucketRequest,Bucket> static io.grpc.MethodDescriptor<UpdateHmacKeyRequest,HmacKeyMetadata> static io.grpc.MethodDescriptor<UpdateObjectRequest,Object> static io.grpc.MethodDescriptor<WriteObjectRequest,WriteObjectResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic StorageGrpc.StorageStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getDeleteBucketMethod
public static io.grpc.MethodDescriptor<DeleteBucketRequest,com.google.protobuf.Empty> getDeleteBucketMethod() -
getGetBucketMethod
-
getCreateBucketMethod
-
getListBucketsMethod
public static io.grpc.MethodDescriptor<ListBucketsRequest,ListBucketsResponse> getListBucketsMethod() -
getLockBucketRetentionPolicyMethod
public static io.grpc.MethodDescriptor<LockBucketRetentionPolicyRequest,Bucket> getLockBucketRetentionPolicyMethod() -
getGetIamPolicyMethod
public static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getGetIamPolicyMethod() -
getSetIamPolicyMethod
public static io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> getSetIamPolicyMethod() -
getTestIamPermissionsMethod
public static io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod() -
getUpdateBucketMethod
-
getDeleteNotificationConfigMethod
public static io.grpc.MethodDescriptor<DeleteNotificationConfigRequest,com.google.protobuf.Empty> getDeleteNotificationConfigMethod() -
getGetNotificationConfigMethod
public static io.grpc.MethodDescriptor<GetNotificationConfigRequest,NotificationConfig> getGetNotificationConfigMethod() -
getCreateNotificationConfigMethod
public static io.grpc.MethodDescriptor<CreateNotificationConfigRequest,NotificationConfig> getCreateNotificationConfigMethod() -
getListNotificationConfigsMethod
public static io.grpc.MethodDescriptor<ListNotificationConfigsRequest,ListNotificationConfigsResponse> getListNotificationConfigsMethod() -
getComposeObjectMethod
-
getDeleteObjectMethod
public static io.grpc.MethodDescriptor<DeleteObjectRequest,com.google.protobuf.Empty> getDeleteObjectMethod() -
getRestoreObjectMethod
-
getCancelResumableWriteMethod
public static io.grpc.MethodDescriptor<CancelResumableWriteRequest,CancelResumableWriteResponse> getCancelResumableWriteMethod() -
getGetObjectMethod
-
getReadObjectMethod
-
getUpdateObjectMethod
-
getWriteObjectMethod
public static io.grpc.MethodDescriptor<WriteObjectRequest,WriteObjectResponse> getWriteObjectMethod() -
getBidiWriteObjectMethod
public static io.grpc.MethodDescriptor<BidiWriteObjectRequest,BidiWriteObjectResponse> getBidiWriteObjectMethod() -
getListObjectsMethod
public static io.grpc.MethodDescriptor<ListObjectsRequest,ListObjectsResponse> getListObjectsMethod() -
getRewriteObjectMethod
public static io.grpc.MethodDescriptor<RewriteObjectRequest,RewriteResponse> getRewriteObjectMethod() -
getStartResumableWriteMethod
public static io.grpc.MethodDescriptor<StartResumableWriteRequest,StartResumableWriteResponse> getStartResumableWriteMethod() -
getQueryWriteStatusMethod
public static io.grpc.MethodDescriptor<QueryWriteStatusRequest,QueryWriteStatusResponse> getQueryWriteStatusMethod() -
getGetServiceAccountMethod
public static io.grpc.MethodDescriptor<GetServiceAccountRequest,ServiceAccount> getGetServiceAccountMethod() -
getCreateHmacKeyMethod
public static io.grpc.MethodDescriptor<CreateHmacKeyRequest,CreateHmacKeyResponse> getCreateHmacKeyMethod() -
getDeleteHmacKeyMethod
public static io.grpc.MethodDescriptor<DeleteHmacKeyRequest,com.google.protobuf.Empty> getDeleteHmacKeyMethod() -
getGetHmacKeyMethod
-
getListHmacKeysMethod
public static io.grpc.MethodDescriptor<ListHmacKeysRequest,ListHmacKeysResponse> getListHmacKeysMethod() -
getUpdateHmacKeyMethod
public static io.grpc.MethodDescriptor<UpdateHmacKeyRequest,HmacKeyMetadata> getUpdateHmacKeyMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-