public static final class SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessage.Builder<SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements SimulateSecurityHealthAnalyticsCustomModuleRequestOrBuilderRequest message for SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule. The maximum size of the request is 4 MiB.
Protobuf type
google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SimulateSecurityHealthAnalyticsCustomModuleRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SimulateSecurityHealthAnalyticsCustomModuleRequest build()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest |
|
buildPartial()
public SimulateSecurityHealthAnalyticsCustomModuleRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest |
|
clear()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
The resource. |
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];
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest other)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SimulateSecurityHealthAnalyticsCustomModuleRequest |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder |
|