Class GenerateFrameworkAuditScopeReportRequest.Builder (0.10.0)

public static final class GenerateFrameworkAuditScopeReportRequest.Builder extends GeneratedMessage.Builder<GenerateFrameworkAuditScopeReportRequest.Builder> implements GenerateFrameworkAuditScopeReportRequestOrBuilder

The request message for [GenerateFrameworkAuditScopeReport][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GenerateFrameworkAuditScopeReportRequest build()
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest

buildPartial()

public GenerateFrameworkAuditScopeReportRequest buildPartial()
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest

clear()

public GenerateFrameworkAuditScopeReportRequest.Builder clear()
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

clearComplianceFramework()

public GenerateFrameworkAuditScopeReportRequest.Builder clearComplianceFramework()

Required. The compliance framework that the scope report is generated for.

string compliance_framework = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

clearReportFormat()

public GenerateFrameworkAuditScopeReportRequest.Builder clearReportFormat()

Required. The format that the scope report bytes is returned in.

.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.Format report_format = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

clearScope()

public GenerateFrameworkAuditScopeReportRequest.Builder clearScope()

Required. The organization, folder or project for the audit report.

Supported formats are the following:

  • projects/{project_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

string scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

getComplianceFramework()

public String getComplianceFramework()

Required. The compliance framework that the scope report is generated for.

string compliance_framework = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The complianceFramework.

getComplianceFrameworkBytes()

public ByteString getComplianceFrameworkBytes()

Required. The compliance framework that the scope report is generated for.

string compliance_framework = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for complianceFramework.

getDefaultInstanceForType()

public GenerateFrameworkAuditScopeReportRequest getDefaultInstanceForType()
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReportFormat()

public GenerateFrameworkAuditScopeReportRequest.Format getReportFormat()

Required. The format that the scope report bytes is returned in.

.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.Format report_format = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Format

The reportFormat.

getReportFormatValue()

public int getReportFormatValue()

Required. The format that the scope report bytes is returned in.

.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.Format report_format = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for reportFormat.

getScope()

public String getScope()

Required. The organization, folder or project for the audit report.

Supported formats are the following:

  • projects/{project_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

string scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Required. The organization, folder or project for the audit report.

Supported formats are the following:

  • projects/{project_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

string scope = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for scope.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateFrameworkAuditScopeReportRequest other)

public GenerateFrameworkAuditScopeReportRequest.Builder mergeFrom(GenerateFrameworkAuditScopeReportRequest other)
Parameter
Name Description
other GenerateFrameworkAuditScopeReportRequest
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateFrameworkAuditScopeReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateFrameworkAuditScopeReportRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

setComplianceFramework(String value)

public GenerateFrameworkAuditScopeReportRequest.Builder setComplianceFramework(String value)

Required. The compliance framework that the scope report is generated for.

string compliance_framework = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The complianceFramework to set.

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

setComplianceFrameworkBytes(ByteString value)

public GenerateFrameworkAuditScopeReportRequest.Builder setComplianceFrameworkBytes(ByteString value)

Required. The compliance framework that the scope report is generated for.

string compliance_framework = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for complianceFramework to set.

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

setReportFormat(GenerateFrameworkAuditScopeReportRequest.Format value)

public GenerateFrameworkAuditScopeReportRequest.Builder setReportFormat(GenerateFrameworkAuditScopeReportRequest.Format value)

Required. The format that the scope report bytes is returned in.

.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.Format report_format = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GenerateFrameworkAuditScopeReportRequest.Format

The reportFormat to set.

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

setReportFormatValue(int value)

public GenerateFrameworkAuditScopeReportRequest.Builder setReportFormatValue(int value)

Required. The format that the scope report bytes is returned in.

.google.cloud.cloudsecuritycompliance.v1.GenerateFrameworkAuditScopeReportRequest.Format report_format = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for reportFormat to set.

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

setScope(String value)

public GenerateFrameworkAuditScopeReportRequest.Builder setScope(String value)

Required. The organization, folder or project for the audit report.

Supported formats are the following:

  • projects/{project_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

string scope = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The scope to set.

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public GenerateFrameworkAuditScopeReportRequest.Builder setScopeBytes(ByteString value)

Required. The organization, folder or project for the audit report.

Supported formats are the following:

  • projects/{project_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

string scope = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for scope to set.

Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder

This builder for chaining.