Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,24 @@ public interface GcsOptions extends ApplicationNameOptions, GcpOptions, Pipeline

void setGcsUtil(GcsUtil value);

class GcsReadOptionsFactory implements DefaultValueFactory<GoogleCloudStorageReadOptions> {
@Override
public GoogleCloudStorageReadOptions create(PipelineOptions options) {
return GoogleCloudStorageReadOptions.DEFAULT;
}
}

/** @deprecated This option will be removed in a future release. */
@JsonIgnore
@Description(
"The GoogleCloudStorageReadOptions instance that should be used to read from Google Cloud Storage.")
@Default.InstanceFactory(GcsUtil.GcsReadOptionsFactory.class)
@Default.InstanceFactory(GcsReadOptionsFactory.class)
@Hidden
@Deprecated
GoogleCloudStorageReadOptions getGoogleCloudStorageReadOptions();

/** @deprecated This option will be removed in a future release. */
@Deprecated
void setGoogleCloudStorageReadOptions(GoogleCloudStorageReadOptions value);

/**
Expand Down
Loading
Loading