public static final class DataCollectionOptionsCommon.Builder extends GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder> implements DataCollectionOptionsCommonOrBuilderData collection options for diagnostics. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DataCollectionOptions
Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptionsCommon
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataCollectionOptionsCommon.BuilderImplements
DataCollectionOptionsCommonOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public DataCollectionOptionsCommon getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataCollectionOptionsCommon |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataCollectionOptionsCommon.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataCollectionOptionsCommon.Builder |
|
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 |
booleanThe 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 |
booleanThe 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 |
booleanThe isIncidentLogsEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
DataCollectionOptionsCommon.Builder |
This builder for chaining. |