Class DeleteEventThreatDetectionCustomModuleRequest.Builder (0.2.0)

public static final class DeleteEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<DeleteEventThreatDetectionCustomModuleRequest.Builder> implements DeleteEventThreatDetectionCustomModuleRequestOrBuilder

Message for deleting a EventThreatDetectionCustomModule

Protobuf type google.cloud.securitycentermanagement.v1.DeleteEventThreatDetectionCustomModuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteEventThreatDetectionCustomModuleRequest build()
Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest

buildPartial()

public DeleteEventThreatDetectionCustomModuleRequest buildPartial()
Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteEventThreatDetectionCustomModuleRequest.Builder clearName()

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

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

Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValidateOnly()

public DeleteEventThreatDetectionCustomModuleRequest.Builder clearValidateOnly()

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

  1. A failure occurred while trying to delete the module.

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

Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DeleteEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

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

Returns
TypeDescription
ByteString

The bytes for name.

getValidateOnly()

public boolean getValidateOnly()

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

  1. A failure occurred while trying to delete the module.

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

Returns
TypeDescription
boolean

The validateOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteEventThreatDetectionCustomModuleRequest other)

public DeleteEventThreatDetectionCustomModuleRequest.Builder mergeFrom(DeleteEventThreatDetectionCustomModuleRequest other)
Parameter
NameDescription
otherDeleteEventThreatDetectionCustomModuleRequest
Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteEventThreatDetectionCustomModuleRequest.Builder setName(String value)

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteEventThreatDetectionCustomModuleRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public DeleteEventThreatDetectionCustomModuleRequest.Builder setValidateOnly(boolean value)

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

  1. A failure occurred while trying to delete the module.

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

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
DeleteEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.