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
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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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. 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) = { ... }
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
- A failure occurred during creation of the module.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.google.api.field_behavior) = REQUIRED];
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
- 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()
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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 3 [(.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. 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.
|
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.
|
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
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
- 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.
|