Class DataCollectionOptionsCommon (0.29.0)

public final class DataCollectionOptionsCommon extends GeneratedMessageV3 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 Fields

IS_DIAGNOSTICS_EVENTS_ENABLED_FIELD_NUMBER

public static final int IS_DIAGNOSTICS_EVENTS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

IS_HEALTH_MONITORING_ENABLED_FIELD_NUMBER

public static final int IS_HEALTH_MONITORING_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

IS_INCIDENT_LOGS_ENABLED_FIELD_NUMBER

public static final int IS_INCIDENT_LOGS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataCollectionOptionsCommon getDefaultInstance()
Returns
Type Description
DataCollectionOptionsCommon

getDescriptor()

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

newBuilder()

public static DataCollectionOptionsCommon.Builder newBuilder()
Returns
Type Description
DataCollectionOptionsCommon.Builder

newBuilder(DataCollectionOptionsCommon prototype)

public static DataCollectionOptionsCommon.Builder newBuilder(DataCollectionOptionsCommon prototype)
Parameter
Name Description
prototype DataCollectionOptionsCommon
Returns
Type Description
DataCollectionOptionsCommon.Builder

parseDelimitedFrom(InputStream input)

public static DataCollectionOptionsCommon parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataCollectionOptionsCommon parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataCollectionOptionsCommon parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataCollectionOptionsCommon parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataCollectionOptionsCommon parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataCollectionOptionsCommon parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataCollectionOptionsCommon parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataCollectionOptionsCommon parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataCollectionOptionsCommon parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataCollectionOptionsCommon parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataCollectionOptionsCommon parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataCollectionOptionsCommon parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataCollectionOptionsCommon
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataCollectionOptionsCommon> parser()
Returns
Type Description
Parser<DataCollectionOptionsCommon>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataCollectionOptionsCommon getDefaultInstanceForType()
Returns
Type Description
DataCollectionOptionsCommon

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.

getParserForType()

public Parser<DataCollectionOptionsCommon> getParserForType()
Returns
Type Description
Parser<DataCollectionOptionsCommon>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataCollectionOptionsCommon.Builder newBuilderForType()
Returns
Type Description
DataCollectionOptionsCommon.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataCollectionOptionsCommon.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataCollectionOptionsCommon.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataCollectionOptionsCommon.Builder toBuilder()
Returns
Type Description
DataCollectionOptionsCommon.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException