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 Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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:
- 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
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:
- 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.
-