Class AdvancedSettings.LoggingSettings.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdvancedSettings.LoggingSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

build()

public AdvancedSettings.LoggingSettings build()
Returns
TypeDescription
AdvancedSettings.LoggingSettings

buildPartial()

public AdvancedSettings.LoggingSettings buildPartial()
Returns
TypeDescription
AdvancedSettings.LoggingSettings

clear()

public AdvancedSettings.LoggingSettings.Builder clear()
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

clearEnableInteractionLogging()

public AdvancedSettings.LoggingSettings.Builder clearEnableInteractionLogging()

If true, DF Interaction logging is currently enabled.

bool enable_interaction_logging = 3;

Returns
TypeDescription
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
TypeDescription
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AdvancedSettings.LoggingSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AdvancedSettings.LoggingSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

clone()

public AdvancedSettings.LoggingSettings.Builder clone()
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

getDefaultInstanceForType()

public AdvancedSettings.LoggingSettings getDefaultInstanceForType()
Returns
TypeDescription
AdvancedSettings.LoggingSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableInteractionLogging()

public boolean getEnableInteractionLogging()

If true, DF Interaction logging is currently enabled.

bool enable_interaction_logging = 3;

Returns
TypeDescription
boolean

The enableInteractionLogging.

getEnableStackdriverLogging()

public boolean getEnableStackdriverLogging()

If true, StackDriver logging is currently enabled.

bool enable_stackdriver_logging = 2;

Returns
TypeDescription
boolean

The enableStackdriverLogging.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdvancedSettings.LoggingSettings other)

public AdvancedSettings.LoggingSettings.Builder mergeFrom(AdvancedSettings.LoggingSettings other)
Parameter
NameDescription
otherAdvancedSettings.LoggingSettings
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdvancedSettings.LoggingSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AdvancedSettings.LoggingSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdvancedSettings.LoggingSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enableInteractionLogging to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableStackdriverLogging to set.

Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdvancedSettings.LoggingSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AdvancedSettings.LoggingSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AdvancedSettings.LoggingSettings.Builder
Overrides