public static final class GenerateAuditScopeReportRequest.Builder extends GeneratedMessage.Builder<GenerateAuditScopeReportRequest.Builder> implements GenerateAuditScopeReportRequestOrBuilderRequest message for GenerateAuditScopeReport.
Protobuf type google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateAuditScopeReportRequest.BuilderImplements
GenerateAuditScopeReportRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GenerateAuditScopeReportRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest |
|
buildPartial()
public GenerateAuditScopeReportRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest |
|
clear()
public GenerateAuditScopeReportRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
|
clearComplianceFramework()
public GenerateAuditScopeReportRequest.Builder clearComplianceFramework() Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
clearComplianceStandard() (deprecated)
public GenerateAuditScopeReportRequest.Builder clearComplianceStandard()Deprecated. google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=420
Optional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against.
Use the compliance_framework field instead.
string compliance_standard = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
clearReportFormat()
public GenerateAuditScopeReportRequest.Builder clearReportFormat()Required. Format for the audit scope report.
.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
clearScope()
public GenerateAuditScopeReportRequest.Builder clearScope()Required. Project or folder that the audit scope report is generated for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}organizations/{organization}/locations/{location}
string scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public GenerateAuditScopeReportRequest.Builder clearValidateOnly() Optional. If true, only validates the request and does not generate the
audit scope report. This executes standard request validation (such as
schema, framework existence, scope, and IAM checks) and skips the apply
phase.
Use this field for the following purposes:
- Infrastructure as Code (IaC): Allow tools like Terraform to run
dry-run mutations (e.g.,
terraform plan) without creating real resources or incurring costs. - User Interface Validation: Enable real-time form and permission validation in custom UIs before submitting requests.
- CI/CD & Automation: Test your scripts, permissions, and parameters safely without consuming resource quotas.
bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
getComplianceFramework()
public String getComplianceFramework() Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The complianceFramework. |
getComplianceFrameworkBytes()
public ByteString getComplianceFrameworkBytes() Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for complianceFramework. |
getComplianceStandard() (deprecated)
public String getComplianceStandard()Deprecated. google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=420
Optional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against.
Use the compliance_framework field instead.
string compliance_standard = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The complianceStandard. |
getComplianceStandardBytes() (deprecated)
public ByteString getComplianceStandardBytes()Deprecated. google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=420
Optional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against.
Use the compliance_framework field instead.
string compliance_standard = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for complianceStandard. |
getDefaultInstanceForType()
public GenerateAuditScopeReportRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReportFormat()
public GenerateAuditScopeReportRequest.AuditScopeReportFormat getReportFormat()Required. Format for the audit scope report.
.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.AuditScopeReportFormat |
The reportFormat. |
getReportFormatValue()
public int getReportFormatValue()Required. Format for the audit scope report.
.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reportFormat. |
getScope()
public String getScope()Required. Project or folder that the audit scope report is generated for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}organizations/{organization}/locations/{location}
string scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The scope. |
getScopeBytes()
public ByteString getScopeBytes()Required. Project or folder that the audit scope report is generated for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}organizations/{organization}/locations/{location}
string scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scope. |
getValidateOnly()
public boolean getValidateOnly() Optional. If true, only validates the request and does not generate the
audit scope report. This executes standard request validation (such as
schema, framework existence, scope, and IAM checks) and skips the apply
phase.
Use this field for the following purposes:
- Infrastructure as Code (IaC): Allow tools like Terraform to run
dry-run mutations (e.g.,
terraform plan) without creating real resources or incurring costs. - User Interface Validation: Enable real-time form and permission validation in custom UIs before submitting requests.
- CI/CD & Automation: Test your scripts, permissions, and parameters safely without consuming resource quotas.
bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateAuditScopeReportRequest other)
public GenerateAuditScopeReportRequest.Builder mergeFrom(GenerateAuditScopeReportRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateAuditScopeReportRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateAuditScopeReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateAuditScopeReportRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
|
setComplianceFramework(String value)
public GenerateAuditScopeReportRequest.Builder setComplianceFramework(String value) Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe complianceFramework to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setComplianceFrameworkBytes(ByteString value)
public GenerateAuditScopeReportRequest.Builder setComplianceFrameworkBytes(ByteString value) Required. Framework (set of controls) that the audit scope report is
generated against. For example, NIST_800_53.
string compliance_framework = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for complianceFramework to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setComplianceStandard(String value) (deprecated)
public GenerateAuditScopeReportRequest.Builder setComplianceStandard(String value)Deprecated. google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=420
Optional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against.
Use the compliance_framework field instead.
string compliance_standard = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe complianceStandard to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setComplianceStandardBytes(ByteString value) (deprecated)
public GenerateAuditScopeReportRequest.Builder setComplianceStandardBytes(ByteString value)Deprecated. google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.compliance_standard is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=420
Optional. Deprecated. The standard (industry or regulatory requirements) that the audit scope report is run against.
Use the compliance_framework field instead.
string compliance_standard = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for complianceStandard to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setReportFormat(GenerateAuditScopeReportRequest.AuditScopeReportFormat value)
public GenerateAuditScopeReportRequest.Builder setReportFormat(GenerateAuditScopeReportRequest.AuditScopeReportFormat value)Required. Format for the audit scope report.
.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GenerateAuditScopeReportRequest.AuditScopeReportFormatThe reportFormat to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setReportFormatValue(int value)
public GenerateAuditScopeReportRequest.Builder setReportFormatValue(int value)Required. Format for the audit scope report.
.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for reportFormat to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setScope(String value)
public GenerateAuditScopeReportRequest.Builder setScope(String value)Required. Project or folder that the audit scope report is generated for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}organizations/{organization}/locations/{location}
string scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public GenerateAuditScopeReportRequest.Builder setScopeBytes(ByteString value)Required. Project or folder that the audit scope report is generated for, in one of the following formats:
projects/{project}/locations/{location}folders/{folder}/locations/{location}organizations/{organization}/locations/{location}
string scope = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scope to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public GenerateAuditScopeReportRequest.Builder setValidateOnly(boolean value) Optional. If true, only validates the request and does not generate the
audit scope report. This executes standard request validation (such as
schema, framework existence, scope, and IAM checks) and skips the apply
phase.
Use this field for the following purposes:
- Infrastructure as Code (IaC): Allow tools like Terraform to run
dry-run mutations (e.g.,
terraform plan) without creating real resources or incurring costs. - User Interface Validation: Enable real-time form and permission validation in custom UIs before submitting requests.
- CI/CD & Automation: Test your scripts, permissions, and parameters safely without consuming resource quotas.
bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateAuditScopeReportRequest.Builder |
This builder for chaining. |