public static class PipelineOptions.UserAgentFactory extends java.lang.Object implements DefaultValueFactory<java.lang.String>
ReleaseInfo.getName() and ReleaseInfo.getVersion(), in the format [name]/[version].| Constructor and Description |
|---|
UserAgentFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
create(PipelineOptions options)
Creates a default value for a getter marked with
Default.InstanceFactory. |
public java.lang.String create(PipelineOptions options)
DefaultValueFactoryDefault.InstanceFactory.create in interface DefaultValueFactory<java.lang.String>options - The current pipeline options.