public static final class ScanConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder> implements ScanConfigOrBuilder
A scan configuration specifies whether Cloud components in a project have a particular type of analysis being run. For example, it can configure whether vulnerability scanning is being done on Docker images or not.Protobuf type
google.devtools.containeranalysis.v1beta1.ScanConfig| Modifier and Type | Method and Description |
|---|---|
ScanConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ScanConfig |
build() |
ScanConfig |
buildPartial() |
ScanConfig.Builder |
clear() |
ScanConfig.Builder |
clearCreateTime()
Output only.
|
ScanConfig.Builder |
clearDescription()
Output only.
|
ScanConfig.Builder |
clearEnabled()
Whether the scan is enabled.
|
ScanConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ScanConfig.Builder |
clearName()
Output only.
|
ScanConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ScanConfig.Builder |
clearUpdateTime()
Output only.
|
ScanConfig.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
ScanConfig |
getDefaultInstanceForType() |
String |
getDescription()
Output only.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnabled()
Whether the scan is enabled.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ScanConfig.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
ScanConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ScanConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ScanConfig.Builder |
mergeFrom(ScanConfig other) |
ScanConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ScanConfig.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
ScanConfig.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ScanConfig.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
ScanConfig.Builder |
setDescription(String value)
Output only.
|
ScanConfig.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Output only.
|
ScanConfig.Builder |
setEnabled(boolean value)
Whether the scan is enabled.
|
ScanConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ScanConfig.Builder |
setName(String value)
Output only.
|
ScanConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
ScanConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ScanConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ScanConfig.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ScanConfig.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ScanConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ScanConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ScanConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScanConfig.Builder>public ScanConfig.Builder mergeFrom(ScanConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public ScanConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScanConfig.Builder>IOExceptionpublic String getName()
Output only. The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
string name = 1;getName in interface ScanConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
string name = 1;getNameBytes in interface ScanConfigOrBuilderpublic ScanConfig.Builder setName(String value)
Output only. The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
string name = 1;public ScanConfig.Builder clearName()
Output only. The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
string name = 1;public ScanConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the scan configuration in the form of `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
string name = 1;public String getDescription()
Output only. A human-readable description of what the scan configuration does.
string description = 2;getDescription in interface ScanConfigOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Output only. A human-readable description of what the scan configuration does.
string description = 2;getDescriptionBytes in interface ScanConfigOrBuilderpublic ScanConfig.Builder setDescription(String value)
Output only. A human-readable description of what the scan configuration does.
string description = 2;public ScanConfig.Builder clearDescription()
Output only. A human-readable description of what the scan configuration does.
string description = 2;public ScanConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Output only. A human-readable description of what the scan configuration does.
string description = 2;public boolean getEnabled()
Whether the scan is enabled.
bool enabled = 3;getEnabled in interface ScanConfigOrBuilderpublic ScanConfig.Builder setEnabled(boolean value)
Whether the scan is enabled.
bool enabled = 3;public ScanConfig.Builder clearEnabled()
Whether the scan is enabled.
bool enabled = 3;public boolean hasCreateTime()
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface ScanConfigOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface ScanConfigOrBuilderpublic ScanConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;public ScanConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;public ScanConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;public ScanConfig.Builder clearCreateTime()
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this scan config was created.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface ScanConfigOrBuilderpublic boolean hasUpdateTime()
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;hasUpdateTime in interface ScanConfigOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;getUpdateTime in interface ScanConfigOrBuilderpublic ScanConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;public ScanConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;public ScanConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;public ScanConfig.Builder clearUpdateTime()
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time this scan config was last updated.
.google.protobuf.Timestamp update_time = 5;getUpdateTimeOrBuilder in interface ScanConfigOrBuilderpublic final ScanConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>public final ScanConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Builder>Copyright © 2019 Google LLC. All rights reserved.