public static final class LoggingConfig.Builder extends GeneratedMessageV3.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder
Defines logging behavior for conversation lifecycle events.
Protobuf type google.cloud.dialogflow.v2beta1.LoggingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LoggingConfig build()
Returns
buildPartial()
public LoggingConfig buildPartial()
Returns
clear()
public LoggingConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LoggingConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LoggingConfig other)
public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter
Returns
public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LoggingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides