Class CreateEventThreatDetectionCustomModuleRequest.Builder (2.60.0)

public static final class CreateEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<CreateEventThreatDetectionCustomModuleRequest.Builder> implements CreateEventThreatDetectionCustomModuleRequestOrBuilder

Request to create an Event Threat Detection custom module.

Protobuf type google.cloud.securitycenter.v1.CreateEventThreatDetectionCustomModuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEventThreatDetectionCustomModuleRequest build()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest

buildPartial()

public CreateEventThreatDetectionCustomModuleRequest buildPartial()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest

clear()

public CreateEventThreatDetectionCustomModuleRequest.Builder clear()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearEventThreatDetectionCustomModule()

public CreateEventThreatDetectionCustomModuleRequest.Builder clearEventThreatDetectionCustomModule()

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateEventThreatDetectionCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateEventThreatDetectionCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearParent()

public CreateEventThreatDetectionCustomModuleRequest.Builder clearParent()

Required. The new custom module's parent.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clone()

public CreateEventThreatDetectionCustomModuleRequest.Builder clone()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest

getDescriptorForType()

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

getEventThreatDetectionCustomModule()

public EventThreatDetectionCustomModule getEventThreatDetectionCustomModule()

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Returns
Type Description
EventThreatDetectionCustomModule

The eventThreatDetectionCustomModule.

getEventThreatDetectionCustomModuleBuilder()

public EventThreatDetectionCustomModule.Builder getEventThreatDetectionCustomModuleBuilder()

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Returns
Type Description
EventThreatDetectionCustomModule.Builder

getEventThreatDetectionCustomModuleOrBuilder()

public EventThreatDetectionCustomModuleOrBuilder getEventThreatDetectionCustomModuleOrBuilder()

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Returns
Type Description
EventThreatDetectionCustomModuleOrBuilder

getParent()

public String getParent()

Required. The new custom module's parent.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The new custom module's parent.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasEventThreatDetectionCustomModule()

public boolean hasEventThreatDetectionCustomModule()

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Returns
Type Description
boolean

Whether the eventThreatDetectionCustomModule 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 CreateEventThreatDetectionCustomModuleRequest.Builder mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Parameter
Name Description
value EventThreatDetectionCustomModule
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CreateEventThreatDetectionCustomModuleRequest other)

public CreateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(CreateEventThreatDetectionCustomModuleRequest other)
Parameter
Name Description
other CreateEventThreatDetectionCustomModuleRequest
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateEventThreatDetectionCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

public CreateEventThreatDetectionCustomModuleRequest.Builder setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Parameter
Name Description
value EventThreatDetectionCustomModule
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)

public CreateEventThreatDetectionCustomModuleRequest.Builder setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)

Required. The module to create. The event_threat_detection_custom_module.name will be ignored and server generated.

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

Parameter
Name Description
builderForValue EventThreatDetectionCustomModule.Builder
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEventThreatDetectionCustomModuleRequest.Builder setParent(String value)

Required. The new custom module's parent.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEventThreatDetectionCustomModuleRequest.Builder setParentBytes(ByteString value)

Required. The new custom module's parent.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateEventThreatDetectionCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides