Class LoggingOptions.Builder (3.10.7)

public static class LoggingOptions.Builder extends ServiceOptions.Builder<Logging,LoggingOptions,LoggingOptions.Builder>

Inheritance

java.lang.Object > com.google.cloud.ServiceOptions.Builder > LoggingOptions.Builder

Methods

build()

public LoggingOptions build()
Returns
Type Description
LoggingOptions
Overrides
com.google.cloud.ServiceOptions.Builder.build()

setAutoPopulateMetadata(boolean autoPopulateMetadataOnWrite)

public LoggingOptions.Builder setAutoPopulateMetadata(boolean autoPopulateMetadataOnWrite)
Parameter
Name Description
autoPopulateMetadataOnWrite boolean
Returns
Type Description
LoggingOptions.Builder

setTransportOptions(TransportOptions transportOptions)

public LoggingOptions.Builder setTransportOptions(TransportOptions transportOptions)
Parameter
Name Description
transportOptions com.google.cloud.TransportOptions
Returns
Type Description
LoggingOptions.Builder
Overrides
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)