Class ContainerThreatDetectionSettings.Builder (0.22.0)

public static final class ContainerThreatDetectionSettings.Builder extends GeneratedMessageV3.Builder<ContainerThreatDetectionSettings.Builder> implements ContainerThreatDetectionSettingsOrBuilder

User specified settings for KTD

Protobuf type google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerThreatDetectionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

build()

public ContainerThreatDetectionSettings build()
Returns
TypeDescription
ContainerThreatDetectionSettings

buildPartial()

public ContainerThreatDetectionSettings buildPartial()
Returns
TypeDescription
ContainerThreatDetectionSettings

clear()

public ContainerThreatDetectionSettings.Builder clear()
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContainerThreatDetectionSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerThreatDetectionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

clone()

public ContainerThreatDetectionSettings.Builder clone()
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

getDefaultInstanceForType()

public ContainerThreatDetectionSettings getDefaultInstanceForType()
Returns
TypeDescription
ContainerThreatDetectionSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ContainerThreatDetectionSettings other)

public ContainerThreatDetectionSettings.Builder mergeFrom(ContainerThreatDetectionSettings other)
Parameter
NameDescription
otherContainerThreatDetectionSettings
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerThreatDetectionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ContainerThreatDetectionSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerThreatDetectionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerThreatDetectionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ContainerThreatDetectionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerThreatDetectionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerThreatDetectionSettings.Builder
Overrides