public static class GcsUtil.GcsUtilFactory extends Object implements DefaultValueFactory<GcsUtil>
DefaultValueFactory able to create a GcsUtil using
any transport flags specified on the PipelineOptions.| Constructor and Description |
|---|
GcsUtilFactory() |
| Modifier and Type | Method and Description |
|---|---|
GcsUtil |
create(PipelineOptions options)
Returns an instance of
GcsUtil based on the
PipelineOptions. |
static GcsUtil |
create(com.google.api.services.storage.Storage storageClient,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer,
ExecutorService executorService,
Integer uploadBufferSizeBytes)
Returns an instance of
GcsUtil based on the given parameters. |
public GcsUtil create(PipelineOptions options)
GcsUtil based on the
PipelineOptions.
If no instance has previously been created, one is created and the value
stored in options.
create in interface DefaultValueFactory<GcsUtil>public static GcsUtil create(com.google.api.services.storage.Storage storageClient, com.google.api.client.http.HttpRequestInitializer httpRequestInitializer, ExecutorService executorService, @Nullable Integer uploadBufferSizeBytes)
GcsUtil based on the given parameters.Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.