publicstaticfinalclass SimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderextendsGeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder>implementsSimulateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
Request message to simulate a CustomConfig against a given test resource.
Maximum size of the request is 4 MB by default.
Protobuf type
google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest
Inherited Members
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicSimulateSecurityHealthAnalyticsCustomModuleRequestbuild()
buildPartial()
publicSimulateSecurityHealthAnalyticsCustomModuleRequestbuildPartial()
clear()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.Builderclear()
Overrides
clearCustomConfig()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearCustomConfig()
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)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearParent()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearParent()
Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see Relative
Resource
Name
Example: organizations/{organization_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
clearResource()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderclearResource()
Required. Resource data to simulate custom module against.
.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
clone()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.Builderclone()
Overrides
getCustomConfig()
publicCustomConfiggetCustomConfig()
Required. The custom configuration that you need to test.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomConfigBuilder()
publicCustomConfig.BuildergetCustomConfigBuilder()
Required. The custom configuration that you need to test.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomConfigOrBuilder()
publicCustomConfigOrBuildergetCustomConfigOrBuilder()
Required. The custom configuration that you need to test.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
publicSimulateSecurityHealthAnalyticsCustomModuleRequestgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getParent()
Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see Relative
Resource
Name
Example: organizations/{organization_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see Relative
Resource
Name
Example: organizations/{organization_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getResource()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetResource()
Required. Resource data to simulate custom module against.
.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
getResourceBuilder()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildergetResourceBuilder()
Required. Resource data to simulate custom module against.
.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
getResourceOrBuilder()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuildergetResourceOrBuilder()
Required. Resource data to simulate custom module against.
.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
hasCustomConfig()
publicbooleanhasCustomConfig()
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()
publicbooleanhasResource()
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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeCustomConfig(CustomConfig value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeCustomConfig(CustomConfigvalue)
Required. The custom configuration that you need to test.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest other)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequestother)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcevalue)
Required. Resource data to simulate custom module against.
.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setCustomConfig(CustomConfig value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetCustomConfig(CustomConfigvalue)
Required. The custom configuration that you need to test.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
setCustomConfig(CustomConfig.Builder builderForValue)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetCustomConfig(CustomConfig.BuilderbuilderForValue)
Required. The custom configuration that you need to test.
.google.cloud.securitycentermanagement.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setParent(String value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetParent(Stringvalue)
Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see Relative
Resource
Name
Example: organizations/{organization_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetParentBytes(ByteStringvalue)
Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see Relative
Resource
Name
Example: organizations/{organization_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcevalue)
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)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderbuilderForValue)
Required. Resource data to simulate custom module against.
.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSimulateSecurityHealthAnalyticsCustomModuleRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides