public static final class CreateSecurityHealthAnalyticsCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<CreateSecurityHealthAnalyticsCustomModuleRequest.Builder> implements CreateSecurityHealthAnalyticsCustomModuleRequestOrBuilder
Request message for SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule.
Protobuf type
google.cloud.securitycentermanagement.v1.CreateSecurityHealthAnalyticsCustomModuleRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateSecurityHealthAnalyticsCustomModuleRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
build()
public CreateSecurityHealthAnalyticsCustomModuleRequest build()
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest |
buildPartial()
public CreateSecurityHealthAnalyticsCustomModuleRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest |
clear()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
clearParent()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearParent()
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
clearValidateOnly()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clearValidateOnly()
Optional. When set to true
, the request will be validated (including IAM
checks), but no module will be created. An OK
response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error occurred during creation of the module
Defaults to
false
.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |
clone()
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
getDefaultInstanceForType()
public CreateSecurityHealthAnalyticsCustomModuleRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
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 organization, folder, or project of the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
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];
Returns | |
---|---|
Type | Description |
SecurityHealthAnalyticsCustomModule |
The securityHealthAnalyticsCustomModule. |
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];
Returns | |
---|---|
Type | Description |
SecurityHealthAnalyticsCustomModule.Builder |
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];
Returns | |
---|---|
Type | Description |
SecurityHealthAnalyticsCustomModuleOrBuilder |
getValidateOnly()
public boolean getValidateOnly()
Optional. When set to true
, the request will be validated (including IAM
checks), but no module will be created. An OK
response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CreateSecurityHealthAnalyticsCustomModuleRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateSecurityHealthAnalyticsCustomModuleRequest |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
SecurityHealthAnalyticsCustomModule |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateSecurityHealthAnalyticsCustomModuleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
setParent(String value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setParent(String value)
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
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. |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setParentBytes(ByteString value)
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
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. |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
SecurityHealthAnalyticsCustomModule |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
SecurityHealthAnalyticsCustomModule.Builder |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
setValidateOnly(boolean value)
public CreateSecurityHealthAnalyticsCustomModuleRequest.Builder setValidateOnly(boolean value)
Optional. When set to true
, the request will be validated (including IAM
checks), but no module will be created. An OK
response indicates that the
request is valid, while an error response indicates that the request is
invalid.
If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
- The state of your cloud resources changed; for example, you lost a required IAM permission
An error 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. |
Returns | |
---|---|
Type | Description |
CreateSecurityHealthAnalyticsCustomModuleRequest.Builder |
This builder for chaining. |