Class GenerateFrameworkAuditScopeReportRequest.Builder (0.7.0)

public static final class GenerateFrameworkAuditScopeReportRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateFrameworkAuditScopeReportRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public GenerateFrameworkAuditScopeReportRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateFrameworkAuditScopeReportRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateFrameworkAuditScopeReportRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateFrameworkAuditScopeReportRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateFrameworkAuditScopeReportRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateFrameworkAuditScopeReportRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateFrameworkAuditScopeReportRequest.Builder
Overrides