Class DataCollectionOptions.Builder (0.32.0)

public static final class DataCollectionOptions.Builder extends GeneratedMessage.Builder<DataCollectionOptions.Builder> implements DataCollectionOptionsOrBuilder

Data collection options for diagnostics.

Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptions

Static Methods

getDescriptor()

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

Methods

build()

public DataCollectionOptions build()
Returns
Type Description
DataCollectionOptions

buildPartial()

public DataCollectionOptions buildPartial()
Returns
Type Description
DataCollectionOptions

clear()

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

clearDiagnosticsEventsEnabled()

public DataCollectionOptions.Builder clearDiagnosticsEventsEnabled()

Optional. Indicates whether diagnostic collection is enabled for the VM cluster

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

Returns
Type Description
DataCollectionOptions.Builder

This builder for chaining.

clearHealthMonitoringEnabled()

public DataCollectionOptions.Builder clearHealthMonitoringEnabled()

Optional. Indicates whether health monitoring is enabled for the VM cluster

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

Returns
Type Description
DataCollectionOptions.Builder

This builder for chaining.

clearIncidentLogsEnabled()

public DataCollectionOptions.Builder clearIncidentLogsEnabled()

Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster

bool incident_logs_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataCollectionOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataCollectionOptions getDefaultInstanceForType()
Returns
Type Description
DataCollectionOptions

getDescriptorForType()

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

getDiagnosticsEventsEnabled()

public boolean getDiagnosticsEventsEnabled()

Optional. Indicates whether diagnostic collection is enabled for the VM cluster

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

Returns
Type Description
boolean

The diagnosticsEventsEnabled.

getHealthMonitoringEnabled()

public boolean getHealthMonitoringEnabled()

Optional. Indicates whether health monitoring is enabled for the VM cluster

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

Returns
Type Description
boolean

The healthMonitoringEnabled.

getIncidentLogsEnabled()

public boolean getIncidentLogsEnabled()

Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster

bool incident_logs_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The incidentLogsEnabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataCollectionOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDiagnosticsEventsEnabled(boolean value)

public DataCollectionOptions.Builder setDiagnosticsEventsEnabled(boolean value)

Optional. Indicates whether diagnostic collection is enabled for the VM cluster

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

Parameter
Name Description
value boolean

The diagnosticsEventsEnabled to set.

Returns
Type Description
DataCollectionOptions.Builder

This builder for chaining.

setHealthMonitoringEnabled(boolean value)

public DataCollectionOptions.Builder setHealthMonitoringEnabled(boolean value)

Optional. Indicates whether health monitoring is enabled for the VM cluster

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

Parameter
Name Description
value boolean

The healthMonitoringEnabled to set.

Returns
Type Description
DataCollectionOptions.Builder

This builder for chaining.

setIncidentLogsEnabled(boolean value)

public DataCollectionOptions.Builder setIncidentLogsEnabled(boolean value)

Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster

bool incident_logs_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The incidentLogsEnabled to set.

Returns
Type Description
DataCollectionOptions.Builder

This builder for chaining.