public static final class UpdateEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessage.Builder<UpdateEventThreatDetectionCustomModuleRequest.Builder> implements UpdateEventThreatDetectionCustomModuleRequestOrBuilderMessage for updating a EventThreatDetectionCustomModule
Protobuf type
google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateEventThreatDetectionCustomModuleRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateEventThreatDetectionCustomModuleRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest |
|
buildPartial()
public UpdateEventThreatDetectionCustomModuleRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest |
|
clear()
public UpdateEventThreatDetectionCustomModuleRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
clearEventThreatDetectionCustomModule()
public UpdateEventThreatDetectionCustomModuleRequest.Builder clearEventThreatDetectionCustomModule()Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
clearUpdateMask()
public UpdateEventThreatDetectionCustomModuleRequest.Builder clearUpdateMask()Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
clearValidateOnly()
public UpdateEventThreatDetectionCustomModuleRequest.Builder clearValidateOnly() Optional. When set to true, the request will be validated (including IAM
checks), but no module will be updated. An OK response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during creation of the module
Defaults to
false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpdateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEventThreatDetectionCustomModule()
public EventThreatDetectionCustomModule getEventThreatDetectionCustomModule()Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EventThreatDetectionCustomModule |
The eventThreatDetectionCustomModule. |
getEventThreatDetectionCustomModuleBuilder()
public EventThreatDetectionCustomModule.Builder getEventThreatDetectionCustomModuleBuilder()Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EventThreatDetectionCustomModule.Builder |
|
getEventThreatDetectionCustomModuleOrBuilder()
public EventThreatDetectionCustomModuleOrBuilder getEventThreatDetectionCustomModuleOrBuilder()Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EventThreatDetectionCustomModuleOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getValidateOnly()
public boolean getValidateOnly() Optional. When set to true, the request will be validated (including IAM
checks), but no module will be updated. An OK response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during creation of the module
Defaults to
false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasEventThreatDetectionCustomModule()
public boolean hasEventThreatDetectionCustomModule()Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the eventThreatDetectionCustomModule field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)
public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EventThreatDetectionCustomModule |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
mergeFrom(UpdateEventThreatDetectionCustomModuleRequest other)
public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(UpdateEventThreatDetectionCustomModuleRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateEventThreatDetectionCustomModuleRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateEventThreatDetectionCustomModuleRequest.Builder mergeUpdateMask(FieldMask value)Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)
public UpdateEventThreatDetectionCustomModuleRequest.Builder setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule value)Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EventThreatDetectionCustomModule |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)
public UpdateEventThreatDetectionCustomModuleRequest.Builder setEventThreatDetectionCustomModule(EventThreatDetectionCustomModule.Builder builderForValue)Required. The module being updated.
.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule event_threat_detection_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EventThreatDetectionCustomModule.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateEventThreatDetectionCustomModuleRequest.Builder setUpdateMask(FieldMask value)Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateEventThreatDetectionCustomModuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. The fields to update. If omitted, then all fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
|
setValidateOnly(boolean value)
public UpdateEventThreatDetectionCustomModuleRequest.Builder setValidateOnly(boolean value) Optional. When set to true, the request will be validated (including IAM
checks), but no module will be updated. An OK response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to update the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during creation of the module
Defaults to
false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateEventThreatDetectionCustomModuleRequest.Builder |
This builder for chaining. |