Class SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder (0.26.0)

public static final class SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements SimulateSecurityHealthAnalyticsCustomModuleRequestOrBuilder

Request message for SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule. The maximum size of the request is 4 MiB.

Protobuf type google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SimulateSecurityHealthAnalyticsCustomModuleRequest.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 SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public SimulateSecurityHealthAnalyticsCustomModuleRequest build()

buildPartial()

public SimulateSecurityHealthAnalyticsCustomModuleRequest buildPartial()

clear()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Overrides

clearCustomConfig()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearCustomConfig()

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearParent()

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

clearResource()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearResource()

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

clone()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Overrides

getCustomConfig()

public CustomConfig getCustomConfig()

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConfig

The customConfig.

getCustomConfigBuilder()

public CustomConfig.Builder getCustomConfigBuilder()

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConfig.Builder

getCustomConfigOrBuilder()

public CustomConfigOrBuilder getCustomConfigOrBuilder()

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConfigOrBuilder

getDefaultInstanceForType()

public SimulateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()

getDescriptorForType()

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

getParent()

public String getParent()

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getResource()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource getResource()

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

getResourceBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder getResourceBuilder()

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

getResourceOrBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder getResourceOrBuilder()

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

hasCustomConfig()

public boolean hasCustomConfig()

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customConfig field is set.

hasResource()

public boolean hasResource()

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomConfig(CustomConfig value)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeCustomConfig(CustomConfig value)

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomConfig

mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomConfig(CustomConfig value)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setCustomConfig(CustomConfig value)

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomConfig

setCustomConfig(CustomConfig.Builder builderForValue)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setCustomConfig(CustomConfig.Builder builderForValue)

Required. The custom configuration that you need to test.

.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CustomConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setParent(String value)

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setParentBytes(ByteString value)

Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder

This builder for chaining.

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

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

setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder builderForValue)

public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder builderForValue)

Required. Resource data to simulate custom module against.

.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];

setUnknownFields(UnknownFieldSet unknownFields)

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