Interface Repository.VulnerabilityScanningConfigOrBuilder (1.52.0)

public static interface Repository.VulnerabilityScanningConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnablementConfig()

public abstract Repository.VulnerabilityScanningConfig.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
Type Description
Repository.VulnerabilityScanningConfig.EnablementConfig

The enablementConfig.

getEnablementConfigValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for enablementConfig.

getEnablementState()

public abstract Repository.VulnerabilityScanningConfig.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
Type Description
Repository.VulnerabilityScanningConfig.EnablementState

The enablementState.

getEnablementStateReason()

public abstract String getEnablementStateReason()

Output only. Reason for the repository state.

string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The enablementStateReason.

getEnablementStateReasonBytes()

public abstract ByteString getEnablementStateReasonBytes()

Output only. Reason for the repository state.

string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for enablementStateReason.

getEnablementStateValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for enablementState.

getLastEnableTime()

public abstract 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
Type Description
Timestamp

The lastEnableTime.

getLastEnableTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

hasLastEnableTime()

public abstract 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
Type Description
boolean

Whether the lastEnableTime field is set.