Class StorageGrpc (2.27.1-SNAPSHOT)

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
TypeDescription
String

Static Methods

bindService(StorageGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(StorageGrpc.AsyncService service)
Parameter
NameDescription
serviceStorageGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCancelResumableWriteMethod()

public static MethodDescriptor<CancelResumableWriteRequest,CancelResumableWriteResponse> getCancelResumableWriteMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CancelResumableWriteRequest,CancelResumableWriteResponse>

getComposeObjectMethod()

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

getCreateBucketMethod()

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

getCreateHmacKeyMethod()

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

getCreateNotificationConfigMethod()

public static MethodDescriptor<CreateNotificationConfigRequest,NotificationConfig> getCreateNotificationConfigMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateNotificationConfigRequest,NotificationConfig>

getDeleteBucketMethod()

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

getDeleteHmacKeyMethod()

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

getDeleteNotificationConfigMethod()

public static MethodDescriptor<DeleteNotificationConfigRequest,Empty> getDeleteNotificationConfigMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteNotificationConfigRequest,Empty>

getDeleteObjectMethod()

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

getGetBucketMethod()

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

getGetHmacKeyMethod()

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

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getGetNotificationConfigMethod()

public static MethodDescriptor<GetNotificationConfigRequest,NotificationConfig> getGetNotificationConfigMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetNotificationConfigRequest,NotificationConfig>

getGetObjectMethod()

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

getGetServiceAccountMethod()

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

getListBucketsMethod()

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

getListHmacKeysMethod()

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

getListNotificationConfigsMethod()

public static MethodDescriptor<ListNotificationConfigsRequest,ListNotificationConfigsResponse> getListNotificationConfigsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListNotificationConfigsRequest,ListNotificationConfigsResponse>

getListObjectsMethod()

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

getLockBucketRetentionPolicyMethod()

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

getQueryWriteStatusMethod()

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

getReadObjectMethod()

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

getRewriteObjectMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getStartResumableWriteMethod()

public static MethodDescriptor<StartResumableWriteRequest,StartResumableWriteResponse> getStartResumableWriteMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StartResumableWriteRequest,StartResumableWriteResponse>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateBucketMethod()

public static MethodDescriptor<UpdateBucketRequest,Bucket> getUpdateBucketMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateBucketRequest,Bucket>

getUpdateHmacKeyMethod()

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

getUpdateObjectMethod()

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

getWriteObjectMethod()

public static MethodDescriptor<WriteObjectRequest,WriteObjectResponse> getWriteObjectMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
StorageGrpc.StorageStub