Class CreateEventThreatDetectionCustomModuleRequest.Builder (0.13.0)

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

Message for creating a EventThreatDetectionCustomModule

Protobuf type google.cloud.securitycentermanagement.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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. 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()

public CreateEventThreatDetectionCustomModuleRequest.Builder clearValidateOnly()

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

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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EventThreatDetectionCustomModuleOrBuilder

getParent()

public String getParent()

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

public ByteString getParentBytes()

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

public boolean getValidateOnly()

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

public boolean hasEventThreatDetectionCustomModule()

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

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

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

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

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

public CreateEventThreatDetectionCustomModuleRequest.Builder setParentBytes(ByteString value)

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)

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

setValidateOnly(boolean value)

public CreateEventThreatDetectionCustomModuleRequest.Builder setValidateOnly(boolean value)

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.