Send feedback
Class StorageGrpc (2.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.15.1 keyboard_arrow_down
public final class StorageGrpc
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).
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Static Methods
getCancelResumableWriteMethod()
public static MethodDescriptor<CancelResumableWriteRequest , CancelResumableWriteResponse > getCancelResumableWriteMethod ()
Returns
getComposeObjectMethod()
public static MethodDescriptor<ComposeObjectRequest , Object > getComposeObjectMethod ()
Returns
getCreateBucketMethod()
public static MethodDescriptor<CreateBucketRequest , Bucket > getCreateBucketMethod ()
Returns
getCreateHmacKeyMethod()
public static MethodDescriptor<CreateHmacKeyRequest , CreateHmacKeyResponse > getCreateHmacKeyMethod ()
Returns
getCreateNotificationMethod()
public static MethodDescriptor<CreateNotificationRequest , Notification > getCreateNotificationMethod ()
Returns
getDeleteBucketMethod()
public static MethodDescriptor<DeleteBucketRequest , Empty > getDeleteBucketMethod ()
Returns
getDeleteHmacKeyMethod()
public static MethodDescriptor<DeleteHmacKeyRequest , Empty > getDeleteHmacKeyMethod ()
Returns
getDeleteNotificationMethod()
public static MethodDescriptor<DeleteNotificationRequest , Empty > getDeleteNotificationMethod ()
Returns
getDeleteObjectMethod()
public static MethodDescriptor<DeleteObjectRequest , Empty > getDeleteObjectMethod ()
Returns
getGetBucketMethod()
public static MethodDescriptor<GetBucketRequest , Bucket > getGetBucketMethod ()
Returns
getGetHmacKeyMethod()
public static MethodDescriptor<GetHmacKeyRequest , HmacKeyMetadata > getGetHmacKeyMethod ()
Returns
getGetIamPolicyMethod()
public static MethodDescriptor<GetIamPolicyRequest , Policy > getGetIamPolicyMethod ()
Returns
Type
Description
io.grpc.MethodDescriptor <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getGetNotificationMethod()
public static MethodDescriptor<GetNotificationRequest , Notification > getGetNotificationMethod ()
Returns
getGetObjectMethod()
public static MethodDescriptor<GetObjectRequest , Object > getGetObjectMethod ()
Returns
getGetServiceAccountMethod()
public static MethodDescriptor<GetServiceAccountRequest , ServiceAccount > getGetServiceAccountMethod ()
Returns
getListBucketsMethod()
public static MethodDescriptor<ListBucketsRequest , ListBucketsResponse > getListBucketsMethod ()
Returns
getListHmacKeysMethod()
public static MethodDescriptor<ListHmacKeysRequest , ListHmacKeysResponse > getListHmacKeysMethod ()
Returns
getListNotificationsMethod()
public static MethodDescriptor<ListNotificationsRequest , ListNotificationsResponse > getListNotificationsMethod ()
Returns
getListObjectsMethod()
public static MethodDescriptor<ListObjectsRequest , ListObjectsResponse > getListObjectsMethod ()
Returns
getLockBucketRetentionPolicyMethod()
public static MethodDescriptor<LockBucketRetentionPolicyRequest , Bucket > getLockBucketRetentionPolicyMethod ()
Returns
getQueryWriteStatusMethod()
public static MethodDescriptor<QueryWriteStatusRequest , QueryWriteStatusResponse > getQueryWriteStatusMethod ()
Returns
getReadObjectMethod()
public static MethodDescriptor<ReadObjectRequest , ReadObjectResponse > getReadObjectMethod ()
Returns
getRewriteObjectMethod()
public static MethodDescriptor<RewriteObjectRequest , RewriteResponse > getRewriteObjectMethod ()
Returns
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor ()
Returns
Type
Description
io.grpc.ServiceDescriptor
getSetIamPolicyMethod()
public static MethodDescriptor<SetIamPolicyRequest , Policy > getSetIamPolicyMethod ()
Returns
Type
Description
io.grpc.MethodDescriptor <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
getStartResumableWriteMethod()
public static MethodDescriptor<StartResumableWriteRequest , StartResumableWriteResponse > getStartResumableWriteMethod ()
Returns
getTestIamPermissionsMethod()
public static MethodDescriptor<TestIamPermissionsRequest , TestIamPermissionsResponse > getTestIamPermissionsMethod ()
Returns
Type
Description
io.grpc.MethodDescriptor <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
getUpdateBucketMethod()
public static MethodDescriptor<UpdateBucketRequest , Bucket > getUpdateBucketMethod ()
Returns
getUpdateHmacKeyMethod()
public static MethodDescriptor<UpdateHmacKeyRequest , HmacKeyMetadata > getUpdateHmacKeyMethod ()
Returns
getUpdateObjectMethod()
public static MethodDescriptor<UpdateObjectRequest , Object > getUpdateObjectMethod ()
Returns
getWriteObjectMethod()
public static MethodDescriptor<WriteObjectRequest , WriteObjectResponse > getWriteObjectMethod ()
Returns
newBlockingStub(Channel channel)
public static StorageGrpc . StorageBlockingStub newBlockingStub ( Channel channel )
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
Returns
newFutureStub(Channel channel)
public static StorageGrpc . StorageFutureStub newFutureStub ( Channel channel )
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
Returns
newStub(Channel channel)
public static StorageGrpc . StorageStub newStub ( Channel channel )
Creates a new async stub that supports all call types for the service
Parameter
Name
Description
channel
io.grpc.Channel
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]