public static final class SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements SimulateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
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.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SimulateSecurityHealthAnalyticsCustomModuleRequest build()
buildPartial()
public SimulateSecurityHealthAnalyticsCustomModuleRequest buildPartial()
clear()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Overrides
clearCustomConfig()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearCustomConfig()
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearParent()
clearResource()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clearResource()
Required. Resource data to simulate custom module against.
.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
clone()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Overrides
getCustomConfig()
public CustomConfig getCustomConfig()
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomConfigBuilder()
public CustomConfig.Builder getCustomConfigBuilder()
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomConfigOrBuilder()
public CustomConfigOrBuilder getCustomConfigOrBuilder()
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public SimulateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getResource()
public SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource getResource()
Required. Resource data to simulate custom module against.
.google.cloud.securitycenter.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.securitycenter.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.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
hasCustomConfig()
public boolean hasCustomConfig()
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.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.securitycenter.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCustomConfig(CustomConfig value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeCustomConfig(CustomConfig value)
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest other)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest other)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
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.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomConfig(CustomConfig value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setCustomConfig(CustomConfig value)
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
setCustomConfig(CustomConfig.Builder builderForValue)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setCustomConfig(CustomConfig.Builder builderForValue)
Required. The user specified custom configuration to test.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setParent(String value)
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setParentBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)
public SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setResource(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource value)
Required. Resource data to simulate custom module against.
.google.cloud.securitycenter.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.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource resource = 3 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final SimulateSecurityHealthAnalyticsCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides