Class UpdateEventThreatDetectionCustomModuleRequest.Builder (2.66.0)

public static final class UpdateEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<UpdateEventThreatDetectionCustomModuleRequest.Builder> implements UpdateEventThreatDetectionCustomModuleRequestOrBuilder

Request to update an Event Threat Detection custom module.

Protobuf type google.cloud.securitycenter.v1.UpdateEventThreatDetectionCustomModuleRequest

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateEventThreatDetectionCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public UpdateEventThreatDetectionCustomModuleRequest build()

buildPartial()

public UpdateEventThreatDetectionCustomModuleRequest buildPartial()

clear()

public UpdateEventThreatDetectionCustomModuleRequest.Builder clear()
Overrides

clearEventThreatDetectionCustomModule()

public UpdateEventThreatDetectionCustomModuleRequest.Builder clearEventThreatDetectionCustomModule()

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

clearField(Descriptors.FieldDescriptor field)

public UpdateEventThreatDetectionCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEventThreatDetectionCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearUpdateMask()

public UpdateEventThreatDetectionCustomModuleRequest.Builder clearUpdateMask()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

clone()

public UpdateEventThreatDetectionCustomModuleRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public UpdateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventThreatDetectionCustomModule()

public EventThreatDetectionCustomModule getEventThreatDetectionCustomModule()

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule

The eventThreatDetectionCustomModule.

getEventThreatDetectionCustomModuleBuilder()

public EventThreatDetectionCustomModule.Builder getEventThreatDetectionCustomModuleBuilder()

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule.Builder

getEventThreatDetectionCustomModuleOrBuilder()

public EventThreatDetectionCustomModuleOrBuilder getEventThreatDetectionCustomModuleOrBuilder()

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasEventThreatDetectionCustomModule()

public boolean hasEventThreatDetectionCustomModule()

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventThreatDetectionCustomModule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventThreatDetectionCustomModule

mergeFrom(UpdateEventThreatDetectionCustomModuleRequest other)

public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(UpdateEventThreatDetectionCustomModuleRequest other)
Parameter
Name Description
other UpdateEventThreatDetectionCustomModuleRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEventThreatDetectionCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

mergeUpdateMask(FieldMask value)

public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

public UpdateEventThreatDetectionCustomModuleRequest.Builder setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventThreatDetectionCustomModule

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)

public UpdateEventThreatDetectionCustomModuleRequest.Builder setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)

Required. The module being updated.

.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EventThreatDetectionCustomModule.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateEventThreatDetectionCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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

public UpdateEventThreatDetectionCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEventThreatDetectionCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setUpdateMask(FieldMask value)

public UpdateEventThreatDetectionCustomModuleRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEventThreatDetectionCustomModuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated. If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder