public static final class CreateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<CreateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements CreateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
Message for creating a SecurityHealthAnalyticsCustomModule
Protobuf type
google.cloud.securitycentermanagement.v1.CreateSecurityHealthAnalyticsCustomModuleRequest
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateSecurityHealthAnalyticsCustomModuleRequest build()
buildPartial()
public CreateSecurityHealthAnalyticsCustomModuleRequest buildPartial()
clear()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearParent()
Required. Name of the parent for the module. Its format is
"organizations/{organization}/locations/{location}",
"folders/{folder}/locations/{location}",
or
"projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSecurityHealthAnalyticsCustomModule()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearSecurityHealthAnalyticsCustomModule()
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
clearValidateOnly()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearValidateOnly()
Optional. When set to true, only validations (including IAM checks) will
done for the request (no module will be created). An OK response indicates
the request is valid while an error response indicates the request is
invalid. Note that a subsequent request to actually create the module could
still fail because:
- the state could have changed (e.g. IAM permission lost) or
- A failure occurred during creation of the module.
Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
clone()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Name of the parent for the module. Its format is
"organizations/{organization}/locations/{location}",
"folders/{folder}/locations/{location}",
or
"projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Name of the parent for the module. Its format is
"organizations/{organization}/locations/{location}",
"folders/{folder}/locations/{location}",
or
"projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getSecurityHealthAnalyticsCustomModule()
public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
getSecurityHealthAnalyticsCustomModuleBuilder()
public SecurityHealthAnalyticsCustomModule.Builder getSecurityHealthAnalyticsCustomModuleBuilder()
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
getSecurityHealthAnalyticsCustomModuleOrBuilder()
public SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModuleOrBuilder()
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
Optional. When set to true, only validations (including IAM checks) will
done for the request (no module will be created). An OK response indicates
the request is valid while an error response indicates the request is
invalid. Note that a subsequent request to actually create the module could
still fail because:
- the state could have changed (e.g. IAM permission lost) or
- A failure occurred during creation of the module.
Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | The validateOnly.
|
hasSecurityHealthAnalyticsCustomModule()
public boolean hasSecurityHealthAnalyticsCustomModule()
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the securityHealthAnalyticsCustomModule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setParent(String value)
Required. Name of the parent for the module. Its format is
"organizations/{organization}/locations/{location}",
"folders/{folder}/locations/{location}",
or
"projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setParentBytes(ByteString value)
Required. Name of the parent for the module. Its format is
"organizations/{organization}/locations/{location}",
"folders/{folder}/locations/{location}",
or
"projects/{project}/locations/{location}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)
Required. The resource being created
.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValidateOnly(boolean value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setValidateOnly(boolean value)
Optional. When set to true, only validations (including IAM checks) will
done for the request (no module will be created). An OK response indicates
the request is valid while an error response indicates the request is
invalid. Note that a subsequent request to actually create the module could
still fail because:
- the state could have changed (e.g. IAM permission lost) or
- A failure occurred during creation of the module.
Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | boolean
The validateOnly to set.
|