Class AdvancedSettings.LoggingSettings.Builder (0.64.0)

public static final class AdvancedSettings.LoggingSettings.Builder extends GeneratedMessageV3.Builder<AdvancedSettings.LoggingSettings.Builder> implements AdvancedSettings.LoggingSettingsOrBuilder

Define behaviors on logging.

Protobuf type google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdvancedSettings.LoggingSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

build()

public AdvancedSettings.LoggingSettings build()
Returns
Type Description
AdvancedSettings.LoggingSettings

buildPartial()

public AdvancedSettings.LoggingSettings buildPartial()
Returns
Type Description
AdvancedSettings.LoggingSettings

clear()

public AdvancedSettings.LoggingSettings.Builder clear()
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

clearEnableConsentBasedRedaction()

public AdvancedSettings.LoggingSettings.Builder clearEnableConsentBasedRedaction()

Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.

bool enable_consent_based_redaction = 4;

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

clearEnableInteractionLogging()

public AdvancedSettings.LoggingSettings.Builder clearEnableInteractionLogging()

Enables DF Interaction logging.

bool enable_interaction_logging = 3;

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

clearEnableStackdriverLogging()

public AdvancedSettings.LoggingSettings.Builder clearEnableStackdriverLogging()

Enables StackDriver logging.

bool enable_stackdriver_logging = 2;

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AdvancedSettings.LoggingSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AdvancedSettings.LoggingSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

clone()

public AdvancedSettings.LoggingSettings.Builder clone()
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

getDefaultInstanceForType()

public AdvancedSettings.LoggingSettings getDefaultInstanceForType()
Returns
Type Description
AdvancedSettings.LoggingSettings

getDescriptorForType()

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

getEnableConsentBasedRedaction()

public boolean getEnableConsentBasedRedaction()

Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.

bool enable_consent_based_redaction = 4;

Returns
Type Description
boolean

The enableConsentBasedRedaction.

getEnableInteractionLogging()

public boolean getEnableInteractionLogging()

Enables DF Interaction logging.

bool enable_interaction_logging = 3;

Returns
Type Description
boolean

The enableInteractionLogging.

getEnableStackdriverLogging()

public boolean getEnableStackdriverLogging()

Enables StackDriver logging.

bool enable_stackdriver_logging = 2;

Returns
Type Description
boolean

The enableStackdriverLogging.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdvancedSettings.LoggingSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdvancedSettings.LoggingSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

setEnableConsentBasedRedaction(boolean value)

public AdvancedSettings.LoggingSettings.Builder setEnableConsentBasedRedaction(boolean value)

Enables consent-based end-user input redaction, if true, a pre-defined session parameter $session.params.conversation-redaction will be used to determine if the utterance should be redacted.

bool enable_consent_based_redaction = 4;

Parameter
Name Description
value boolean

The enableConsentBasedRedaction to set.

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

setEnableInteractionLogging(boolean value)

public AdvancedSettings.LoggingSettings.Builder setEnableInteractionLogging(boolean value)

Enables DF Interaction logging.

bool enable_interaction_logging = 3;

Parameter
Name Description
value boolean

The enableInteractionLogging to set.

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

setEnableStackdriverLogging(boolean value)

public AdvancedSettings.LoggingSettings.Builder setEnableStackdriverLogging(boolean value)

Enables StackDriver logging.

bool enable_stackdriver_logging = 2;

Parameter
Name Description
value boolean

The enableStackdriverLogging to set.

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdvancedSettings.LoggingSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AdvancedSettings.LoggingSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AdvancedSettings.LoggingSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdvancedSettings.LoggingSettings.Builder
Overrides