public static final class DataCollectionOptions.Builder extends GeneratedMessage.Builder<DataCollectionOptions.Builder> implements DataCollectionOptionsOrBuilderData collection options for diagnostics.
Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataCollectionOptions.BuilderImplements
DataCollectionOptionsOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataCollectionOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataCollectionOptions.Builder |
|
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 |
booleanThe 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 |
booleanThe 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 |
booleanThe incidentLogsEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
DataCollectionOptions.Builder |
This builder for chaining. |