Class DataCollectionOptions (0.3.0)

public final class DataCollectionOptions extends GeneratedMessageV3 implements DataCollectionOptionsOrBuilder

Data collection options for diagnostics.

Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptions

Static Fields

DIAGNOSTICS_EVENTS_ENABLED_FIELD_NUMBER

public static final int DIAGNOSTICS_EVENTS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_MONITORING_ENABLED_FIELD_NUMBER

public static final int HEALTH_MONITORING_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

INCIDENT_LOGS_ENABLED_FIELD_NUMBER

public static final int INCIDENT_LOGS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataCollectionOptions getDefaultInstance()
Returns
Type Description
DataCollectionOptions

getDescriptor()

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

newBuilder()

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

newBuilder(DataCollectionOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DataCollectionOptions getDefaultInstanceForType()
Returns
Type Description
DataCollectionOptions

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.

getParserForType()

public Parser<DataCollectionOptions> getParserForType()
Returns
Type Description
Parser<DataCollectionOptions>
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 DataCollectionOptions.Builder newBuilderForType()
Returns
Type Description
DataCollectionOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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