Class DataCollectionOptions.Builder

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

public static final class DataCollectionOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataCollectionOptions.Builder> implements DataCollectionOptionsOrBuilder
 Data collection options for diagnostics.
 
Protobuf type google.cloud.oracledatabase.v1.DataCollectionOptions
  • 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<DataCollectionOptions.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<DataCollectionOptions.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<DataCollectionOptions.Builder>
    • getDefaultInstanceForType

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

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

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

      public DataCollectionOptions.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<DataCollectionOptions.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<DataCollectionOptions.Builder>
    • mergeFrom

      public DataCollectionOptions.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<DataCollectionOptions.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getDiagnosticsEventsEnabled in interface DataCollectionOptionsOrBuilder
      Returns:
      The diagnosticsEventsEnabled.
    • setDiagnosticsEventsEnabled

      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];
      Parameters:
      value - The diagnosticsEventsEnabled to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getHealthMonitoringEnabled in interface DataCollectionOptionsOrBuilder
      Returns:
      The healthMonitoringEnabled.
    • setHealthMonitoringEnabled

      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];
      Parameters:
      value - The healthMonitoringEnabled to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getIncidentLogsEnabled in interface DataCollectionOptionsOrBuilder
      Returns:
      The incidentLogsEnabled.
    • setIncidentLogsEnabled

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