Class UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder (0.2.0)

public static final class UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements UpdateSecurityHealthAnalyticsCustomModuleRequestOrBuilder

Message for updating a SecurityHealthAnalyticsCustomModule

Protobuf type google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

build()

public UpdateSecurityHealthAnalyticsCustomModuleRequest build()
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest

buildPartial()

public UpdateSecurityHealthAnalyticsCustomModuleRequest buildPartial()
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest

clear()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

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
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

clearUpdateMask()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

clearValidateOnly()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearValidateOnly()

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

clone()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityHealthAnalyticsCustomModuleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the securityHealthAnalyticsCustomModule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)
Parameter
NameDescription
otherUpdateSecurityHealthAnalyticsCustomModuleRequest
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

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
NameDescription
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

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
NameDescription
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
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
NameDescription
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. The only fields that can be updated are enablement_state and custom_config. If empty or set to the wildcard value *, both enablement_state and custom_config are updated.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

setValidateOnly(boolean value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setValidateOnly(boolean value)

Optional. When set to true, only validations (including IAM checks) will done for the request (module will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the module could still fail because 1. the state could have changed (e.g. IAM permission lost) or

  1. A failure occurred while trying to update the module.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.