public static final class CreateEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<CreateEventThreatDetectionCustomModuleRequest.Builder> implements CreateEventThreatDetectionCustomModuleRequestOrBuilder
Request to create an Event Threat Detection custom module.
Protobuf type
google.cloud.securitycenter.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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateEventThreatDetectionCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateEventThreatDetectionCustomModuleRequest build()
buildPartial()
public CreateEventThreatDetectionCustomModuleRequest buildPartial()
clear()
public CreateEventThreatDetectionCustomModuleRequest.Builder clear()
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.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateEventThreatDetectionCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEventThreatDetectionCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateEventThreatDetectionCustomModuleRequest.Builder clearParent()
Required. The new custom module's parent.
Its format is:
organizations/{organization}/eventThreatDetectionSettings
.
folders/{folder}/eventThreatDetectionSettings
.
projects/{project}/eventThreatDetectionSettings
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateEventThreatDetectionCustomModuleRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
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.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
getEventThreatDetectionCustomModuleOrBuilder()
public EventThreatDetectionCustomModuleOrBuilder getEventThreatDetectionCustomModuleOrBuilder()
Required. The module to create. The
event_threat_detection_custom_module.name will be ignored and server
generated.
.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The new custom module's parent.
Its format is:
organizations/{organization}/eventThreatDetectionSettings
.
folders/{folder}/eventThreatDetectionSettings
.
projects/{project}/eventThreatDetectionSettings
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The new custom module's parent.
Its format is:
organizations/{organization}/eventThreatDetectionSettings
.
folders/{folder}/eventThreatDetectionSettings
.
projects/{project}/eventThreatDetectionSettings
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasEventThreatDetectionCustomModule()
public boolean hasEventThreatDetectionCustomModule()
Required. The module to create. The
event_threat_detection_custom_module.name will be ignored and server
generated.
.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the eventThreatDetectionCustomModule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateEventThreatDetectionCustomModuleRequest other)
public CreateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(CreateEventThreatDetectionCustomModuleRequest other)
public CreateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEventThreatDetectionCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
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.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEventThreatDetectionCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateEventThreatDetectionCustomModuleRequest.Builder setParent(String value)
Required. The new custom module's parent.
Its format is:
organizations/{organization}/eventThreatDetectionSettings
.
folders/{folder}/eventThreatDetectionSettings
.
projects/{project}/eventThreatDetectionSettings
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateEventThreatDetectionCustomModuleRequest.Builder setParentBytes(ByteString value)
Required. The new custom module's parent.
Its format is:
organizations/{organization}/eventThreatDetectionSettings
.
folders/{folder}/eventThreatDetectionSettings
.
projects/{project}/eventThreatDetectionSettings
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateEventThreatDetectionCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEventThreatDetectionCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides