Class AdvancedSettings.LoggingSettings.Builder (0.47.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.v3beta1.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

clearEnableInteractionLogging()

public AdvancedSettings.LoggingSettings.Builder clearEnableInteractionLogging()

If true, DF Interaction logging is currently enabled.

bool enable_interaction_logging = 3;

Returns
Type Description
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

clearEnableStackdriverLogging()

public AdvancedSettings.LoggingSettings.Builder clearEnableStackdriverLogging()

If true, StackDriver logging is currently enabled.

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

getEnableInteractionLogging()

public boolean getEnableInteractionLogging()

If true, DF Interaction logging is currently enabled.

bool enable_interaction_logging = 3;

Returns
Type Description
boolean

The enableInteractionLogging.

getEnableStackdriverLogging()

public boolean getEnableStackdriverLogging()

If true, StackDriver logging is currently enabled.

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

setEnableInteractionLogging(boolean value)

public AdvancedSettings.LoggingSettings.Builder setEnableInteractionLogging(boolean value)

If true, DF Interaction logging is currently enabled.

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)

If true, StackDriver logging is currently enabled.

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