Class ValidateEventThreatDetectionCustomModuleRequest.Builder (0.7.0)

public static final class ValidateEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<ValidateEventThreatDetectionCustomModuleRequest.Builder> implements ValidateEventThreatDetectionCustomModuleRequestOrBuilder

Request to validate an Event Threat Detection custom module.

Protobuf type google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ValidateEventThreatDetectionCustomModuleRequest.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateEventThreatDetectionCustomModuleRequest build()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest

buildPartial()

public ValidateEventThreatDetectionCustomModuleRequest buildPartial()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ValidateEventThreatDetectionCustomModuleRequest.Builder clearParent()

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

  • "organizations/{organization}/locations/{location}".

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

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clearRawText()

public ValidateEventThreatDetectionCustomModuleRequest.Builder clearRawText()

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clearType()

public ValidateEventThreatDetectionCustomModuleRequest.Builder clearType()

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

  • "organizations/{organization}/locations/{location}".

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

  • "organizations/{organization}/locations/{location}".

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

Returns
TypeDescription
ByteString

The bytes for parent.

getRawText()

public String getRawText()

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The rawText.

getRawTextBytes()

public ByteString getRawTextBytes()

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for rawText.

getType()

public String getType()

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidateEventThreatDetectionCustomModuleRequest other)

public ValidateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(ValidateEventThreatDetectionCustomModuleRequest other)
Parameter
NameDescription
otherValidateEventThreatDetectionCustomModuleRequest
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ValidateEventThreatDetectionCustomModuleRequest.Builder setParent(String value)

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

  • "organizations/{organization}/locations/{location}".

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ValidateEventThreatDetectionCustomModuleRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the parent to validate the Custom Module under.

Its format is:

  • "organizations/{organization}/locations/{location}".

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setRawText(String value)

public ValidateEventThreatDetectionCustomModuleRequest.Builder setRawText(String value)

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The rawText to set.

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setRawTextBytes(ByteString value)

public ValidateEventThreatDetectionCustomModuleRequest.Builder setRawTextBytes(ByteString value)

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for rawText to set.

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

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

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

setType(String value)

public ValidateEventThreatDetectionCustomModuleRequest.Builder setType(String value)

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public ValidateEventThreatDetectionCustomModuleRequest.Builder setTypeBytes(ByteString value)

Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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