File tree Expand file tree Collapse file tree
google-cloud-core/src/main/java/com/google/cloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,6 +420,10 @@ protected static String getServiceAccountProjectId() {
420420 }
421421
422422
423+ /**
424+ * Returns a Service object for the current service. For instance, when using Google Cloud
425+ * Storage, it returns a {@link com.google.cloud.storage.Storage} object.
426+ */
423427 @ SuppressWarnings ("unchecked" )
424428 public ServiceT getService () {
425429 if (service == null ) {
@@ -429,6 +433,10 @@ public ServiceT getService() {
429433 }
430434
431435
436+ /**
437+ * Returns a Service RPC object for the current service. For instance, when using Google Cloud
438+ * Storage, it returns a {@link com.google.cloud.storage.spi.StorageRpc} object.
439+ */
432440 @ SuppressWarnings ("unchecked" )
433441 public ServiceRpc getRpc () {
434442 if (rpc == null ) {
You can’t perform that action at this time.
0 commit comments