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.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValidateEventThreatDetectionCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
build()
public ValidateEventThreatDetectionCustomModuleRequest build()
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest |
buildPartial()
public ValidateEventThreatDetectionCustomModuleRequest buildPartial()
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest |
clear()
public ValidateEventThreatDetectionCustomModuleRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ValidateEventThreatDetectionCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ValidateEventThreatDetectionCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
This builder for chaining. |
clone()
public ValidateEventThreatDetectionCustomModuleRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
getDefaultInstanceForType()
public ValidateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ValidateEventThreatDetectionCustomModuleRequest other)
public ValidateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(ValidateEventThreatDetectionCustomModuleRequest other)
Parameter | |
---|---|
Name | Description |
other |
ValidateEventThreatDetectionCustomModuleRequest |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValidateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ValidateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValidateEventThreatDetectionCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ValidateEventThreatDetectionCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
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 | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The rawText to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for rawText to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
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 | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ValidateEventThreatDetectionCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ValidateEventThreatDetectionCustomModuleRequest.Builder |