Interface Repository.VulnerabilityScanningConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Repository.VulnerabilityScanningConfig, Repository.VulnerabilityScanningConfig.Builder
Enclosing class:
Repository

public static interface Repository.VulnerabilityScanningConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEnablementConfigValue

      int getEnablementConfigValue()
       Optional. Config for whether this repository has vulnerability scanning
       disabled.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementConfig enablement_config = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for enablementConfig.
    • getEnablementConfig

       Optional. Config for whether this repository has vulnerability scanning
       disabled.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementConfig enablement_config = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enablementConfig.
    • hasLastEnableTime

      boolean hasLastEnableTime()
       Output only. The last time this repository config was enabled.
       
      .google.protobuf.Timestamp last_enable_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the lastEnableTime field is set.
    • getLastEnableTime

      com.google.protobuf.Timestamp getLastEnableTime()
       Output only. The last time this repository config was enabled.
       
      .google.protobuf.Timestamp last_enable_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lastEnableTime.
    • getLastEnableTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastEnableTimeOrBuilder()
       Output only. The last time this repository config was enabled.
       
      .google.protobuf.Timestamp last_enable_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEnablementStateValue

      int getEnablementStateValue()
       Output only. State of feature enablement, combining repository enablement
       config and API enablement state.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for enablementState.
    • getEnablementState

       Output only. State of feature enablement, combining repository enablement
       config and API enablement state.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enablementState.
    • getEnablementStateReason

      String getEnablementStateReason()
       Output only. Reason for the repository state.
       
      string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enablementStateReason.
    • getEnablementStateReasonBytes

      com.google.protobuf.ByteString getEnablementStateReasonBytes()
       Output only. Reason for the repository state.
       
      string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for enablementStateReason.