Class LoggingConfig.Builder (4.89.0)

public static final class LoggingConfig.Builder extends GeneratedMessage.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder

Defines logging behavior for conversation lifecycle events.

Protobuf type google.cloud.dialogflow.v2beta1.LoggingConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LoggingConfig build()
Returns
Type Description
LoggingConfig

buildPartial()

public LoggingConfig buildPartial()
Returns
Type Description
LoggingConfig

clear()

public LoggingConfig.Builder clear()
Returns
Type Description
LoggingConfig.Builder
Overrides

clearEnableStackdriverLogging()

public LoggingConfig.Builder clearEnableStackdriverLogging()

Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.

bool enable_stackdriver_logging = 3;

Returns
Type Description
LoggingConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
Type Description
LoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableStackdriverLogging()

public boolean getEnableStackdriverLogging()

Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.

bool enable_stackdriver_logging = 3;

Returns
Type Description
boolean

The enableStackdriverLogging.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LoggingConfig other)

public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter
Name Description
other LoggingConfig
Returns
Type Description
LoggingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoggingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LoggingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LoggingConfig.Builder
Overrides

setEnableStackdriverLogging(boolean value)

public LoggingConfig.Builder setEnableStackdriverLogging(boolean value)

Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos.

bool enable_stackdriver_logging = 3;

Parameter
Name Description
value boolean

The enableStackdriverLogging to set.

Returns
Type Description
LoggingConfig.Builder

This builder for chaining.