Class UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder (2.66.0)

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

Request message for updating Security Health Analytics custom modules.

Protobuf type google.cloud.securitycenter.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder
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()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public UpdateSecurityHealthAnalyticsCustomModuleRequest build()

buildPartial()

public UpdateSecurityHealthAnalyticsCustomModuleRequest buildPartial()

clear()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearSecurityHealthAnalyticsCustomModule()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearSecurityHealthAnalyticsCustomModule()

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

clearUpdateMask()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clearUpdateMask()

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 = 2;

clone()

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public UpdateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSecurityHealthAnalyticsCustomModule()

public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsCustomModule

The securityHealthAnalyticsCustomModule.

getSecurityHealthAnalyticsCustomModuleBuilder()

public SecurityHealthAnalyticsCustomModule.Builder getSecurityHealthAnalyticsCustomModuleBuilder()

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

getSecurityHealthAnalyticsCustomModuleOrBuilder()

public SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModuleOrBuilder()

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

getUpdateMask()

public FieldMask getUpdateMask()

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 = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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 = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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 = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSecurityHealthAnalyticsCustomModule()

public boolean hasSecurityHealthAnalyticsCustomModule()

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityHealthAnalyticsCustomModule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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 = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(UpdateSecurityHealthAnalyticsCustomModuleRequest other)
Parameter
Name Description
other UpdateSecurityHealthAnalyticsCustomModuleRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityHealthAnalyticsCustomModule

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

mergeUpdateMask(FieldMask value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUpdateMask(FieldMask value)

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 = 2;

Parameter
Name Description
value FieldMask

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityHealthAnalyticsCustomModule

setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

Required. The SecurityHealthAnalytics custom module to update.

.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SecurityHealthAnalyticsCustomModule.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setUpdateMask(FieldMask value)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUpdateMask(FieldMask value)

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 = 2;

Parameter
Name Description
value FieldMask

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSecurityHealthAnalyticsCustomModuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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 = 2;

Parameter
Name Description
builderForValue Builder