Class CreateEventThreatDetectionCustomModuleRequest.Builder (0.1.0)

publicstaticfinalclass CreateEventThreatDetectionCustomModuleRequest.BuilderextendsGeneratedMessageV3.Builder<CreateEventThreatDetectionCustomModuleRequest.Builder>implementsCreateEventThreatDetectionCustomModuleRequestOrBuilder

Message for creating a EventThreatDetectionCustomModule

Protobuf type google.cloud.securitycentermanagement.v1.CreateEventThreatDetectionCustomModuleRequest

Inherited Members

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateEventThreatDetectionCustomModuleRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

build()

publicCreateEventThreatDetectionCustomModuleRequestbuild()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest

buildPartial()

publicCreateEventThreatDetectionCustomModuleRequestbuildPartial()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest

clear()

publicCreateEventThreatDetectionCustomModuleRequest.Builderclear()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearEventThreatDetectionCustomModule()

publicCreateEventThreatDetectionCustomModuleRequest.BuilderclearEventThreatDetectionCustomModule()

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

clearField(Descriptors.FieldDescriptor field)

publicCreateEventThreatDetectionCustomModuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateEventThreatDetectionCustomModuleRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

clearParent()

publicCreateEventThreatDetectionCustomModuleRequest.BuilderclearParent()

Required. Name of parent for the module. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clearValidateOnly()

publicCreateEventThreatDetectionCustomModuleRequest.BuilderclearValidateOnly()

Optional. When set to true, only validations (including IAM checks) will done for the request (no module will be created). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually create the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred during creation of the module.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clone()

publicCreateEventThreatDetectionCustomModuleRequest.Builderclone()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

publicCreateEventThreatDetectionCustomModuleRequestgetDefaultInstanceForType()
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventThreatDetectionCustomModule()

publicEventThreatDetectionCustomModulegetEventThreatDetectionCustomModule()

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule

The eventThreatDetectionCustomModule.

getEventThreatDetectionCustomModuleBuilder()

publicEventThreatDetectionCustomModule.BuildergetEventThreatDetectionCustomModuleBuilder()

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModule.Builder

getEventThreatDetectionCustomModuleOrBuilder()

publicEventThreatDetectionCustomModuleOrBuildergetEventThreatDetectionCustomModuleOrBuilder()

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModuleOrBuilder

getParent()

publicStringgetParent()

Required. Name of parent for the module. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. Name of parent for the module. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

publicbooleangetValidateOnly()

Optional. When set to true, only validations (including IAM checks) will done for the request (no module will be created). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually create the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred during creation of the module.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasEventThreatDetectionCustomModule()

publicbooleanhasEventThreatDetectionCustomModule()

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the eventThreatDetectionCustomModule field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

publicCreateEventThreatDetectionCustomModuleRequest.BuildermergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModulevalue)

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventThreatDetectionCustomModule
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CreateEventThreatDetectionCustomModuleRequest other)

publicCreateEventThreatDetectionCustomModuleRequest.BuildermergeFrom(CreateEventThreatDetectionCustomModuleRequestother)
Parameter
Name Description
other CreateEventThreatDetectionCustomModuleRequest
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateEventThreatDetectionCustomModuleRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicCreateEventThreatDetectionCustomModuleRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateEventThreatDetectionCustomModuleRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetEventThreatDetectionCustomModule(EventThreatDetectionCustomModulevalue)

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EventThreatDetectionCustomModule
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.BuilderbuilderForValue)

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

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setParent(String value)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetParent(Stringvalue)

Required. Name of parent for the module. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetParentBytes(ByteStringvalue)

Required. Name of parent for the module. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateEventThreatDetectionCustomModuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder
Overrides

setValidateOnly(boolean value)

publicCreateEventThreatDetectionCustomModuleRequest.BuildersetValidateOnly(booleanvalue)

Optional. When set to true, only validations (including IAM checks) will done for the request (no module will be created). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually create the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred during creation of the module.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.