Class DataCollectionOptions.Builder (0.2.0)

public static final class DataCollectionOptions.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataCollectionOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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