Class DataCollectionOptionsCommon.Builder (0.29.0)

public static final class DataCollectionOptionsCommon.Builder extends GeneratedMessageV3.Builder<DataCollectionOptionsCommon.Builder> implements DataCollectionOptionsCommonOrBuilder

Data collection options for diagnostics. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DataCollectionOptions

Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptionsCommon

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataCollectionOptionsCommon.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

build()

public DataCollectionOptionsCommon build()
Returns
Type Description
DataCollectionOptionsCommon

buildPartial()

public DataCollectionOptionsCommon buildPartial()
Returns
Type Description
DataCollectionOptionsCommon

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DataCollectionOptionsCommon.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

clearIsDiagnosticsEventsEnabled()

public DataCollectionOptionsCommon.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
DataCollectionOptionsCommon.Builder

This builder for chaining.

clearIsHealthMonitoringEnabled()

public DataCollectionOptionsCommon.Builder clearIsHealthMonitoringEnabled()

Optional. Indicates whether to enable health monitoring.

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

Returns
Type Description
DataCollectionOptionsCommon.Builder

This builder for chaining.

clearIsIncidentLogsEnabled()

public DataCollectionOptionsCommon.Builder clearIsIncidentLogsEnabled()

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

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

Returns
Type Description
DataCollectionOptionsCommon.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataCollectionOptionsCommon.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

clone()

public DataCollectionOptionsCommon.Builder clone()
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

getDefaultInstanceForType()

public DataCollectionOptionsCommon getDefaultInstanceForType()
Returns
Type Description
DataCollectionOptionsCommon

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.

getIsHealthMonitoringEnabled()

public boolean getIsHealthMonitoringEnabled()

Optional. Indicates whether to enable health monitoring.

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

Returns
Type Description
boolean

The isHealthMonitoringEnabled.

getIsIncidentLogsEnabled()

public boolean getIsIncidentLogsEnabled()

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

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

Returns
Type Description
boolean

The isIncidentLogsEnabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataCollectionOptionsCommon other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataCollectionOptionsCommon.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataCollectionOptionsCommon.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

setIsDiagnosticsEventsEnabled(boolean value)

public DataCollectionOptionsCommon.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
DataCollectionOptionsCommon.Builder

This builder for chaining.

setIsHealthMonitoringEnabled(boolean value)

public DataCollectionOptionsCommon.Builder setIsHealthMonitoringEnabled(boolean value)

Optional. Indicates whether to enable health monitoring.

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

Parameter
Name Description
value boolean

The isHealthMonitoringEnabled to set.

Returns
Type Description
DataCollectionOptionsCommon.Builder

This builder for chaining.

setIsIncidentLogsEnabled(boolean value)

public DataCollectionOptionsCommon.Builder setIsIncidentLogsEnabled(boolean value)

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

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

Parameter
Name Description
value boolean

The isIncidentLogsEnabled to set.

Returns
Type Description
DataCollectionOptionsCommon.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataCollectionOptionsCommon.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataCollectionOptionsCommon.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides