Interface AirflowMetadataRetentionPolicyConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AirflowMetadataRetentionPolicyConfig, AirflowMetadataRetentionPolicyConfig.Builder

@Generated public interface AirflowMetadataRetentionPolicyConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Optional.
    Optional.
    int
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRetentionModeValue

      int getRetentionModeValue()
       Optional. Retention can be either enabled or disabled.
       
      .google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig.RetentionMode retention_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for retentionMode.
    • getRetentionMode

       Optional. Retention can be either enabled or disabled.
       
      .google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig.RetentionMode retention_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The retentionMode.
    • getRetentionDays

      int getRetentionDays()
       Optional. How many days data should be retained for.
       
      int32 retention_days = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The retentionDays.