Class StorageGrpc (2.6.1)

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).

Inheritance

java.lang.Object > StorageGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

getComposeObjectMethod()

public static MethodDescriptor<ComposeObjectRequest,Object> getComposeObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ComposeObjectRequest,Object>

getCreateBucketMethod()

public static MethodDescriptor<CreateBucketRequest,Bucket> getCreateBucketMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateBucketRequest,Bucket>

getCreateHmacKeyMethod()

public static MethodDescriptor<CreateHmacKeyRequest,CreateHmacKeyResponse> getCreateHmacKeyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateHmacKeyRequest,CreateHmacKeyResponse>

getCreateNotificationMethod()

public static MethodDescriptor<CreateNotificationRequest,Notification> getCreateNotificationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateNotificationRequest,Notification>

getDeleteBucketMethod()

public static MethodDescriptor<DeleteBucketRequest,Empty> getDeleteBucketMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteBucketRequest,Empty>

getDeleteHmacKeyMethod()

public static MethodDescriptor<DeleteHmacKeyRequest,Empty> getDeleteHmacKeyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteHmacKeyRequest,Empty>

getDeleteNotificationMethod()

public static MethodDescriptor<DeleteNotificationRequest,Empty> getDeleteNotificationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteNotificationRequest,Empty>

getDeleteObjectMethod()

public static MethodDescriptor<DeleteObjectRequest,Empty> getDeleteObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteObjectRequest,Empty>

getGetBucketMethod()

public static MethodDescriptor<GetBucketRequest,Bucket> getGetBucketMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetBucketRequest,Bucket>

getGetHmacKeyMethod()

public static MethodDescriptor<GetHmacKeyRequest,HmacKeyMetadata> getGetHmacKeyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetHmacKeyRequest,HmacKeyMetadata>

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
Type Description
io.grpc.MethodDescriptor<GetNotificationRequest,Notification>

getGetObjectMethod()

public static MethodDescriptor<GetObjectRequest,Object> getGetObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetObjectRequest,Object>

getGetServiceAccountMethod()

public static MethodDescriptor<GetServiceAccountRequest,ServiceAccount> getGetServiceAccountMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetServiceAccountRequest,ServiceAccount>

getListBucketsMethod()

public static MethodDescriptor<ListBucketsRequest,ListBucketsResponse> getListBucketsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListBucketsRequest,ListBucketsResponse>

getListHmacKeysMethod()

public static MethodDescriptor<ListHmacKeysRequest,ListHmacKeysResponse> getListHmacKeysMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListHmacKeysRequest,ListHmacKeysResponse>

getListNotificationsMethod()

public static MethodDescriptor<ListNotificationsRequest,ListNotificationsResponse> getListNotificationsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListNotificationsRequest,ListNotificationsResponse>

getListObjectsMethod()

public static MethodDescriptor<ListObjectsRequest,ListObjectsResponse> getListObjectsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListObjectsRequest,ListObjectsResponse>

getLockBucketRetentionPolicyMethod()

public static MethodDescriptor<LockBucketRetentionPolicyRequest,Bucket> getLockBucketRetentionPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<LockBucketRetentionPolicyRequest,Bucket>

getQueryWriteStatusMethod()

public static MethodDescriptor<QueryWriteStatusRequest,QueryWriteStatusResponse> getQueryWriteStatusMethod()
Returns
Type Description
io.grpc.MethodDescriptor<QueryWriteStatusRequest,QueryWriteStatusResponse>

getReadObjectMethod()

public static MethodDescriptor<ReadObjectRequest,ReadObjectResponse> getReadObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReadObjectRequest,ReadObjectResponse>

getRewriteObjectMethod()

public static MethodDescriptor<RewriteObjectRequest,RewriteResponse> getRewriteObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RewriteObjectRequest,RewriteResponse>

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
Type Description
io.grpc.MethodDescriptor<StartResumableWriteRequest,StartResumableWriteResponse>

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
Type Description
io.grpc.MethodDescriptor<UpdateBucketRequest,Bucket>

getUpdateHmacKeyMethod()

public static MethodDescriptor<UpdateHmacKeyRequest,HmacKeyMetadata> getUpdateHmacKeyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateHmacKeyRequest,HmacKeyMetadata>

getUpdateObjectMethod()

public static MethodDescriptor<UpdateObjectRequest,Object> getUpdateObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateObjectRequest,Object>

getWriteObjectMethod()

public static MethodDescriptor<WriteObjectRequest,WriteObjectResponse> getWriteObjectMethod()
Returns
Type Description
io.grpc.MethodDescriptor<WriteObjectRequest,WriteObjectResponse>

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
Type Description
StorageGrpc.StorageBlockingStub

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
Type Description
StorageGrpc.StorageFutureStub

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
Type Description
StorageGrpc.StorageStub