public static final class UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessage.Builder<UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilderRequest message for SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule.
Protobuf type
google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSecurityHealthAnalyticsCustomModuleRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateSecurityHealthAnalyticsCustomModuleRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest |
|
buildPartial()
public UpdateSecurityHealthAnalyticsCustomModuleRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest |
|
clear()
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
clearSecurityHealthAnalyticsCustomModule()
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearSecurityHealthAnalyticsCustomModule()Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
clearUpdateMask()
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearUpdateMask()Required. The fields to update. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
clearValidateOnly()
public UpdateSecurityHealthAnalyticsCustomModuleRequest.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 |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpdateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSecurityHealthAnalyticsCustomModule()
public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsCustomModule |
The securityHealthAnalyticsCustomModule. |
getSecurityHealthAnalyticsCustomModuleBuilder()
public SecurityHealthAnalyticsCustomModule.Builder getSecurityHealthAnalyticsCustomModuleBuilder()Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsCustomModule.Builder |
|
getSecurityHealthAnalyticsCustomModuleOrBuilder()
public SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModuleOrBuilder()Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsCustomModuleOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. The fields to update. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible 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. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible 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. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible 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. |
hasSecurityHealthAnalyticsCustomModule()
public boolean hasSecurityHealthAnalyticsCustomModule()Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the securityHealthAnalyticsCustomModule field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Required. The fields to update. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible 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 |
|
mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateSecurityHealthAnalyticsCustomModuleRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SecurityHealthAnalyticsCustomModule |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUpdateMask(FieldMask value)Required. The fields to update. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SecurityHealthAnalyticsCustomModule |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)Required. The resource being updated.
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SecurityHealthAnalyticsCustomModule.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUpdateMask(FieldMask value)Required. The fields to update. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. The fields to update. The following values are valid:
custom_configenablement_stateIf you omit this field or set it to the wildcard value
*, then all eligible fields are updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
setValidateOnly(boolean value)
public UpdateSecurityHealthAnalyticsCustomModuleRequest.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 |
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |