Class DataCollectionOptionsCommon.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder>
com.google.cloud.oracledatabase.v1.DataCollectionOptionsCommon.Builder
All Implemented Interfaces:
DataCollectionOptionsCommonOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataCollectionOptionsCommon

public static final class DataCollectionOptionsCommon.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder> 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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder>
    • getDefaultInstanceForType

      public DataCollectionOptionsCommon getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataCollectionOptionsCommon buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataCollectionOptionsCommon.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataCollectionOptionsCommon.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptionsCommon.Builder>
    • mergeFrom

      public DataCollectionOptionsCommon.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataCollectionOptionsCommon.Builder>
      Throws:
      IOException
    • getIsDiagnosticsEventsEnabled

      public boolean getIsDiagnosticsEventsEnabled()
       Optional. Indicates whether to enable data collection for diagnostics.
       
      bool is_diagnostics_events_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsDiagnosticsEventsEnabled in interface DataCollectionOptionsCommonOrBuilder
      Returns:
      The isDiagnosticsEventsEnabled.
    • setIsDiagnosticsEventsEnabled

      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];
      Parameters:
      value - The isDiagnosticsEventsEnabled to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • getIsHealthMonitoringEnabled

      public boolean getIsHealthMonitoringEnabled()
       Optional. Indicates whether to enable health monitoring.
       
      bool is_health_monitoring_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsHealthMonitoringEnabled in interface DataCollectionOptionsCommonOrBuilder
      Returns:
      The isHealthMonitoringEnabled.
    • setIsHealthMonitoringEnabled

      public DataCollectionOptionsCommon.Builder setIsHealthMonitoringEnabled(boolean value)
       Optional. Indicates whether to enable health monitoring.
       
      bool is_health_monitoring_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isHealthMonitoringEnabled to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getIsIncidentLogsEnabled in interface DataCollectionOptionsCommonOrBuilder
      Returns:
      The isIncidentLogsEnabled.
    • setIsIncidentLogsEnabled

      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];
      Parameters:
      value - The isIncidentLogsEnabled to set.
      Returns:
      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:
      This builder for chaining.