Class LoggingOptions.Builder (3.6.4)

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
TypeDescription
LoggingOptions
Overrides
com.google.cloud.ServiceOptions.Builder.build()

setAutoPopulateMetadata(boolean autoPopulateMetadataOnWrite)

public LoggingOptions.Builder setAutoPopulateMetadata(boolean autoPopulateMetadataOnWrite)
Parameter
NameDescription
autoPopulateMetadataOnWriteboolean
Returns
TypeDescription
LoggingOptions.Builder

setTransportOptions(TransportOptions transportOptions)

public LoggingOptions.Builder setTransportOptions(TransportOptions transportOptions)
Parameter
NameDescription
transportOptionscom.google.cloud.TransportOptions
Returns
TypeDescription
LoggingOptions.Builder
Overrides
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)