Class DataCollectionOptionsDbSystem.Builder (0.32.0)

public static final class DataCollectionOptionsDbSystem.Builder extends GeneratedMessage.Builder<DataCollectionOptionsDbSystem.Builder> implements DataCollectionOptionsDbSystemOrBuilder

Data collection options for DbSystem.

Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem

Static Methods

getDescriptor()

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

Methods

build()

public DataCollectionOptionsDbSystem build()
Returns
Type Description
DataCollectionOptionsDbSystem

buildPartial()

public DataCollectionOptionsDbSystem buildPartial()
Returns
Type Description
DataCollectionOptionsDbSystem

clear()

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

clearIsDiagnosticsEventsEnabled()

public DataCollectionOptionsDbSystem.Builder clearIsDiagnosticsEventsEnabled()

Optional. Indicates whether to enable data collection for diagnostics.

bool is_diagnostics_events_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataCollectionOptionsDbSystem.Builder

This builder for chaining.

clearIsIncidentLogsEnabled()

public DataCollectionOptionsDbSystem.Builder clearIsIncidentLogsEnabled()

Optional. Indicates whether to enable incident logs and trace collection.

bool is_incident_logs_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataCollectionOptionsDbSystem.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataCollectionOptionsDbSystem getDefaultInstanceForType()
Returns
Type Description
DataCollectionOptionsDbSystem

getDescriptorForType()

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

getIsDiagnosticsEventsEnabled()

public boolean getIsDiagnosticsEventsEnabled()

Optional. Indicates whether to enable data collection for diagnostics.

bool is_diagnostics_events_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isDiagnosticsEventsEnabled.

getIsIncidentLogsEnabled()

public boolean getIsIncidentLogsEnabled()

Optional. Indicates whether to enable incident logs and trace collection.

bool is_incident_logs_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isIncidentLogsEnabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataCollectionOptionsDbSystem other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIsDiagnosticsEventsEnabled(boolean value)

public DataCollectionOptionsDbSystem.Builder setIsDiagnosticsEventsEnabled(boolean value)

Optional. Indicates whether to enable data collection for diagnostics.

bool is_diagnostics_events_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The isDiagnosticsEventsEnabled to set.

Returns
Type Description
DataCollectionOptionsDbSystem.Builder

This builder for chaining.

setIsIncidentLogsEnabled(boolean value)

public DataCollectionOptionsDbSystem.Builder setIsIncidentLogsEnabled(boolean value)

Optional. Indicates whether to enable incident logs and trace collection.

bool is_incident_logs_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The isIncidentLogsEnabled to set.

Returns
Type Description
DataCollectionOptionsDbSystem.Builder

This builder for chaining.