Class DataRetentionConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig
All Implemented Interfaces:
DataRetentionConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataRetentionConfig extends com.google.protobuf.GeneratedMessage implements DataRetentionConfigOrBuilder
 The configuration setting for Airflow database data retention mechanism.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig
See Also:
  • Field Details

    • AIRFLOW_DATABASE_RETENTION_DAYS_FIELD_NUMBER

      public static final int AIRFLOW_DATABASE_RETENTION_DAYS_FIELD_NUMBER
      See Also:
    • TASK_LOGS_RETENTION_CONFIG_FIELD_NUMBER

      public static final int TASK_LOGS_RETENTION_CONFIG_FIELD_NUMBER
      See Also:
    • AIRFLOW_METADATA_RETENTION_CONFIG_FIELD_NUMBER

      public static final int AIRFLOW_METADATA_RETENTION_CONFIG_FIELD_NUMBER
      See Also:
  • 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
    • getAirflowDatabaseRetentionDays

      @Deprecated public int getAirflowDatabaseRetentionDays()
      Deprecated.
      google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated. See google/cloud/orchestration/airflow/service/v1beta1/environments.proto;l=1905
       Optional. The number of days describing for how long to store event-based
       records in airflow database. If the retention mechanism is enabled this
       value must be a positive integer otherwise, value should be set to 0.
       
      int32 airflow_database_retention_days = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAirflowDatabaseRetentionDays in interface DataRetentionConfigOrBuilder
      Returns:
      The airflowDatabaseRetentionDays.
    • hasTaskLogsRetentionConfig

      public boolean hasTaskLogsRetentionConfig()
       Optional. The configuration settings for task logs retention
       
      .google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTaskLogsRetentionConfig in interface DataRetentionConfigOrBuilder
      Returns:
      Whether the taskLogsRetentionConfig field is set.
    • getTaskLogsRetentionConfig

      public TaskLogsRetentionConfig getTaskLogsRetentionConfig()
       Optional. The configuration settings for task logs retention
       
      .google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTaskLogsRetentionConfig in interface DataRetentionConfigOrBuilder
      Returns:
      The taskLogsRetentionConfig.
    • getTaskLogsRetentionConfigOrBuilder

      public TaskLogsRetentionConfigOrBuilder getTaskLogsRetentionConfigOrBuilder()
       Optional. The configuration settings for task logs retention
       
      .google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTaskLogsRetentionConfigOrBuilder in interface DataRetentionConfigOrBuilder
    • hasAirflowMetadataRetentionConfig

      public boolean hasAirflowMetadataRetentionConfig()
       Optional. The retention policy for airflow metadata database.
       
      .google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAirflowMetadataRetentionConfig in interface DataRetentionConfigOrBuilder
      Returns:
      Whether the airflowMetadataRetentionConfig field is set.
    • getAirflowMetadataRetentionConfig

      public AirflowMetadataRetentionPolicyConfig getAirflowMetadataRetentionConfig()
       Optional. The retention policy for airflow metadata database.
       
      .google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAirflowMetadataRetentionConfig in interface DataRetentionConfigOrBuilder
      Returns:
      The airflowMetadataRetentionConfig.
    • getAirflowMetadataRetentionConfigOrBuilder

      public AirflowMetadataRetentionPolicyConfigOrBuilder getAirflowMetadataRetentionConfigOrBuilder()
       Optional. The retention policy for airflow metadata database.
       
      .google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAirflowMetadataRetentionConfigOrBuilder in interface DataRetentionConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataRetentionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataRetentionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataRetentionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataRetentionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataRetentionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataRetentionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataRetentionConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataRetentionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataRetentionConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataRetentionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataRetentionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataRetentionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataRetentionConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataRetentionConfig.Builder newBuilder()
    • newBuilder

      public static DataRetentionConfig.Builder newBuilder(DataRetentionConfig prototype)
    • toBuilder

      public DataRetentionConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataRetentionConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataRetentionConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataRetentionConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataRetentionConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataRetentionConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder