- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class Repository.VulnerabilityScanningConfig.Builder extends GeneratedMessageV3.Builder<Repository.VulnerabilityScanningConfig.Builder> implements Repository.VulnerabilityScanningConfigOrBuilder
Config on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.
Protobuf type
google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Repository.VulnerabilityScanningConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Repository.VulnerabilityScanningConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
build()
public Repository.VulnerabilityScanningConfig build()
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig |
buildPartial()
public Repository.VulnerabilityScanningConfig buildPartial()
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig |
clear()
public Repository.VulnerabilityScanningConfig.Builder clear()
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
clearEnablementConfig()
public Repository.VulnerabilityScanningConfig.Builder clearEnablementConfig()
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.Builder |
This builder for chaining. |
clearEnablementState()
public Repository.VulnerabilityScanningConfig.Builder clearEnablementState()
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.Builder |
This builder for chaining. |
clearEnablementStateReason()
public Repository.VulnerabilityScanningConfig.Builder clearEnablementStateReason()
Output only. Reason for the repository state.
string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Repository.VulnerabilityScanningConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
clearLastEnableTime()
public Repository.VulnerabilityScanningConfig.Builder clearLastEnableTime()
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 |
Repository.VulnerabilityScanningConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Repository.VulnerabilityScanningConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
clone()
public Repository.VulnerabilityScanningConfig.Builder clone()
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
getDefaultInstanceForType()
public Repository.VulnerabilityScanningConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnablementConfig()
public 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 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 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 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 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 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 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. |
getLastEnableTimeBuilder()
public Timestamp.Builder getLastEnableTimeBuilder()
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 |
Builder |
getLastEnableTimeOrBuilder()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Repository.VulnerabilityScanningConfig other)
public Repository.VulnerabilityScanningConfig.Builder mergeFrom(Repository.VulnerabilityScanningConfig other)
Parameter | |
---|---|
Name | Description |
other |
Repository.VulnerabilityScanningConfig |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Repository.VulnerabilityScanningConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Repository.VulnerabilityScanningConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
mergeLastEnableTime(Timestamp value)
public Repository.VulnerabilityScanningConfig.Builder mergeLastEnableTime(Timestamp value)
Output only. The last time this repository config was enabled.
.google.protobuf.Timestamp last_enable_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Repository.VulnerabilityScanningConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
setEnablementConfig(Repository.VulnerabilityScanningConfig.EnablementConfig value)
public Repository.VulnerabilityScanningConfig.Builder setEnablementConfig(Repository.VulnerabilityScanningConfig.EnablementConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
Repository.VulnerabilityScanningConfig.EnablementConfig The enablementConfig to set. |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
setEnablementConfigValue(int value)
public Repository.VulnerabilityScanningConfig.Builder setEnablementConfigValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for enablementConfig to set. |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
setEnablementState(Repository.VulnerabilityScanningConfig.EnablementState value)
public Repository.VulnerabilityScanningConfig.Builder setEnablementState(Repository.VulnerabilityScanningConfig.EnablementState value)
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];
Parameter | |
---|---|
Name | Description |
value |
Repository.VulnerabilityScanningConfig.EnablementState The enablementState to set. |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
setEnablementStateReason(String value)
public Repository.VulnerabilityScanningConfig.Builder setEnablementStateReason(String value)
Output only. Reason for the repository state.
string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The enablementStateReason to set. |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
setEnablementStateReasonBytes(ByteString value)
public Repository.VulnerabilityScanningConfig.Builder setEnablementStateReasonBytes(ByteString value)
Output only. Reason for the repository state.
string enablement_state_reason = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for enablementStateReason to set. |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
setEnablementStateValue(int value)
public Repository.VulnerabilityScanningConfig.Builder setEnablementStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for enablementState to set. |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Repository.VulnerabilityScanningConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
setLastEnableTime(Timestamp value)
public Repository.VulnerabilityScanningConfig.Builder setLastEnableTime(Timestamp value)
Output only. The last time this repository config was enabled.
.google.protobuf.Timestamp last_enable_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
setLastEnableTime(Timestamp.Builder builderForValue)
public Repository.VulnerabilityScanningConfig.Builder setLastEnableTime(Timestamp.Builder builderForValue)
Output only. The last time this repository config was enabled.
.google.protobuf.Timestamp last_enable_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Repository.VulnerabilityScanningConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Repository.VulnerabilityScanningConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig.Builder |