Class GenerateAuditScopeReportRequest.Builder (0.3.0)

public static final class GenerateAuditScopeReportRequest.Builder extends GeneratedMessage.Builder<GenerateAuditScopeReportRequest.Builder> implements GenerateAuditScopeReportRequestOrBuilder

Message for requesting audit scope report.

Protobuf type google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest

Static 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
Overrides

clearComplianceFramework()

public GenerateAuditScopeReportRequest.Builder clearComplianceFramework()

Required. Compliance framework against which the Scope Report must be generated.

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

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

clearComplianceStandard()

public GenerateAuditScopeReportRequest.Builder clearComplianceStandard()

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

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

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

clearReportFormat()

public GenerateAuditScopeReportRequest.Builder clearReportFormat()

Required. The format in which the Scope report bytes should be returned.

.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. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

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

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

getComplianceFramework()

public String getComplianceFramework()

Required. Compliance framework against which the Scope Report must be generated.

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

Returns
Type Description
String

The complianceFramework.

getComplianceFrameworkBytes()

public ByteString getComplianceFrameworkBytes()

Required. Compliance framework against which the Scope Report must be generated.

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

Returns
Type Description
ByteString

The bytes for complianceFramework.

getComplianceStandard()

public String getComplianceStandard()

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

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

Returns
Type Description
String

The complianceStandard.

getComplianceStandardBytes()

public ByteString getComplianceStandardBytes()

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

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

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
Overrides

getReportFormat()

public GenerateAuditScopeReportRequest.AuditScopeReportFormat getReportFormat()

Required. The format in which the Scope report bytes should be returned.

.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. The format in which the Scope report bytes should be returned.

.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. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

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

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

string scope = 2 [(.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(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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setComplianceFramework(String value)

public GenerateAuditScopeReportRequest.Builder setComplianceFramework(String value)

Required. Compliance framework against which the Scope Report must be generated.

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

Parameter
Name Description
value String

The complianceFramework to set.

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

setComplianceFrameworkBytes(ByteString value)

public GenerateAuditScopeReportRequest.Builder setComplianceFrameworkBytes(ByteString value)

Required. Compliance framework against which the Scope Report must be generated.

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

Parameter
Name Description
value ByteString

The bytes for complianceFramework to set.

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

setComplianceStandard(String value)

public GenerateAuditScopeReportRequest.Builder setComplianceStandard(String value)

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

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

Parameter
Name Description
value String

The complianceStandard to set.

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

setComplianceStandardBytes(ByteString value)

public GenerateAuditScopeReportRequest.Builder setComplianceStandardBytes(ByteString value)

Required. Compliance Standard against which the Scope Report must be generated. Eg: FEDRAMP_MODERATE

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

Parameter
Name Description
value ByteString

The 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. The format in which the Scope report bytes should be returned.

.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GenerateAuditScopeReportRequest.AuditScopeReportFormat

The reportFormat to set.

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

setReportFormatValue(int value)

public GenerateAuditScopeReportRequest.Builder setReportFormatValue(int value)

Required. The format in which the Scope report bytes should be returned.

.google.cloud.auditmanager.v1.GenerateAuditScopeReportRequest.AuditScopeReportFormat report_format = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The 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. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

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

Parameter
Name Description
value String

The scope to set.

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public GenerateAuditScopeReportRequest.Builder setScopeBytes(ByteString value)

Required. Scope for which the AuditScopeReport is required. Must be of format resource_type/resource_identifier Eg: projects/{project}/locations/{location}, folders/{folder}/locations/{location}

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

Parameter
Name Description
value ByteString

The bytes for scope to set.

Returns
Type Description
GenerateAuditScopeReportRequest.Builder

This builder for chaining.