Class FrameworkAudit (0.7.0)

public final class FrameworkAudit extends GeneratedMessageV3 implements FrameworkAuditOrBuilder

A framework audit.

Protobuf type google.cloud.cloudsecuritycompliance.v1.FrameworkAudit

Static Fields

CLOUD_CONTROL_AUDIT_DETAILS_FIELD_NUMBER

public static final int CLOUD_CONTROL_AUDIT_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CLOUD_CONTROL_GROUP_AUDIT_DETAILS_FIELD_NUMBER

public static final int CLOUD_CONTROL_GROUP_AUDIT_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

COMPLIANCE_FRAMEWORK_FIELD_NUMBER

public static final int COMPLIANCE_FRAMEWORK_FIELD_NUMBER
Field Value
Type Description
int

COMPLIANCE_STATE_FIELD_NUMBER

public static final int COMPLIANCE_STATE_FIELD_NUMBER
Field Value
Type Description
int

FINISH_TIME_FIELD_NUMBER

public static final int FINISH_TIME_FIELD_NUMBER
Field Value
Type Description
int

FRAMEWORK_AUDIT_DESTINATION_FIELD_NUMBER

public static final int FRAMEWORK_AUDIT_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

FRAMEWORK_AUDIT_ID_FIELD_NUMBER

public static final int FRAMEWORK_AUDIT_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Type Description
int

REPORT_SUMMARY_FIELD_NUMBER

public static final int REPORT_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FrameworkAudit getDefaultInstance()
Returns
Type Description
FrameworkAudit

getDescriptor()

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

newBuilder()

public static FrameworkAudit.Builder newBuilder()
Returns
Type Description
FrameworkAudit.Builder

newBuilder(FrameworkAudit prototype)

public static FrameworkAudit.Builder newBuilder(FrameworkAudit prototype)
Parameter
Name Description
prototype FrameworkAudit
Returns
Type Description
FrameworkAudit.Builder

parseDelimitedFrom(InputStream input)

public static FrameworkAudit parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FrameworkAudit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FrameworkAudit parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FrameworkAudit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FrameworkAudit parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FrameworkAudit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FrameworkAudit parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FrameworkAudit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FrameworkAudit parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FrameworkAudit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FrameworkAudit parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FrameworkAudit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FrameworkAudit
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FrameworkAudit> parser()
Returns
Type Description
Parser<FrameworkAudit>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudControlAuditDetails(int index)

public CloudControlAuditDetails getCloudControlAuditDetails(int index)

Optional. The details for the cloud controls within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetails cloud_control_audit_details = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlAuditDetails

getCloudControlAuditDetailsCount()

public int getCloudControlAuditDetailsCount()

Optional. The details for the cloud controls within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetails cloud_control_audit_details = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCloudControlAuditDetailsList()

public List<CloudControlAuditDetails> getCloudControlAuditDetailsList()

Optional. The details for the cloud controls within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetails cloud_control_audit_details = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CloudControlAuditDetails>

getCloudControlAuditDetailsOrBuilder(int index)

public CloudControlAuditDetailsOrBuilder getCloudControlAuditDetailsOrBuilder(int index)

Optional. The details for the cloud controls within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetails cloud_control_audit_details = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlAuditDetailsOrBuilder

getCloudControlAuditDetailsOrBuilderList()

public List<? extends CloudControlAuditDetailsOrBuilder> getCloudControlAuditDetailsOrBuilderList()

Optional. The details for the cloud controls within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetails cloud_control_audit_details = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlAuditDetailsOrBuilder>

getCloudControlGroupAuditDetails(int index)

public CloudControlGroupAuditDetails getCloudControlGroupAuditDetails(int index)

Optional. The details for the cloud control groups within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetails cloud_control_group_audit_details = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlGroupAuditDetails

getCloudControlGroupAuditDetailsCount()

public int getCloudControlGroupAuditDetailsCount()

Optional. The details for the cloud control groups within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetails cloud_control_group_audit_details = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCloudControlGroupAuditDetailsList()

public List<CloudControlGroupAuditDetails> getCloudControlGroupAuditDetailsList()

Optional. The details for the cloud control groups within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetails cloud_control_group_audit_details = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CloudControlGroupAuditDetails>

getCloudControlGroupAuditDetailsOrBuilder(int index)

public CloudControlGroupAuditDetailsOrBuilder getCloudControlGroupAuditDetailsOrBuilder(int index)

Optional. The details for the cloud control groups within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetails cloud_control_group_audit_details = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlGroupAuditDetailsOrBuilder

getCloudControlGroupAuditDetailsOrBuilderList()

public List<? extends CloudControlGroupAuditDetailsOrBuilder> getCloudControlGroupAuditDetailsOrBuilderList()

Optional. The details for the cloud control groups within this audit.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetails cloud_control_group_audit_details = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlGroupAuditDetailsOrBuilder>

getComplianceFramework()

public String getComplianceFramework()

Output only. The compliance framework used for the audit.

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

Returns
Type Description
String

The complianceFramework.

getComplianceFrameworkBytes()

public ByteString getComplianceFrameworkBytes()

Output only. The compliance framework used for the audit.

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

Returns
Type Description
ByteString

The bytes for complianceFramework.

getComplianceState()

public ComplianceState getComplianceState()

Output only. The overall compliance state of the audit.

.google.cloud.cloudsecuritycompliance.v1.ComplianceState compliance_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComplianceState

The complianceState.

getComplianceStateValue()

public int getComplianceStateValue()

Output only. The overall compliance state of the audit.

.google.cloud.cloudsecuritycompliance.v1.ComplianceState compliance_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for complianceState.

getDefaultInstanceForType()

public FrameworkAudit getDefaultInstanceForType()
Returns
Type Description
FrameworkAudit

getFinishTime()

public Timestamp getFinishTime()

Output only. The time that the audit finished.

.google.protobuf.Timestamp finish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The finishTime.

getFinishTimeOrBuilder()

public TimestampOrBuilder getFinishTimeOrBuilder()

Output only. The time that the audit finished.

.google.protobuf.Timestamp finish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getFrameworkAuditDestination()

public FrameworkAuditDestination getFrameworkAuditDestination()

Required. The destination for the audit reports.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAuditDestination framework_audit_destination = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAuditDestination

The frameworkAuditDestination.

getFrameworkAuditDestinationOrBuilder()

public FrameworkAuditDestinationOrBuilder getFrameworkAuditDestinationOrBuilder()

Required. The destination for the audit reports.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAuditDestination framework_audit_destination = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAuditDestinationOrBuilder

getFrameworkAuditId()

public String getFrameworkAuditId()

Output only. The ID of the framework audit.

string framework_audit_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The frameworkAuditId.

getFrameworkAuditIdBytes()

public ByteString getFrameworkAuditIdBytes()

Output only. The ID of the framework audit.

string framework_audit_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for frameworkAuditId.

getName()

public String getName()

Output only. Identifier. The name of the framework audit.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The name of the framework audit.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getOperationId()

public String getOperationId()

Output only. The ID of the long-running operation.

string operation_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Output only. The ID of the long-running operation.

string operation_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operationId.

getParserForType()

public Parser<FrameworkAudit> getParserForType()
Returns
Type Description
Parser<FrameworkAudit>
Overrides

getReportSummary()

public ReportSummary getReportSummary()

Output only. The summary of the report.

.google.cloud.cloudsecuritycompliance.v1.ReportSummary report_summary = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummary

The reportSummary.

getReportSummaryOrBuilder()

public ReportSummaryOrBuilder getReportSummaryOrBuilder()

Output only. The summary of the report.

.google.cloud.cloudsecuritycompliance.v1.ReportSummary report_summary = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportSummaryOrBuilder

getScope()

public String getScope()

Output only. The scope of the audit.

string scope = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Output only. The scope of the audit.

string scope = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for scope.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. The time that the audit started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time that the audit started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public FrameworkAudit.State getState()

Output only. The framework audit state of the audit.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FrameworkAudit.State

The state.

getStateValue()

public int getStateValue()

Output only. The framework audit state of the audit.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasFinishTime()

public boolean hasFinishTime()

Output only. The time that the audit finished.

.google.protobuf.Timestamp finish_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the finishTime field is set.

hasFrameworkAuditDestination()

public boolean hasFrameworkAuditDestination()

Required. The destination for the audit reports.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAuditDestination framework_audit_destination = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the frameworkAuditDestination field is set.

hasReportSummary()

public boolean hasReportSummary()

Output only. The summary of the report.

.google.cloud.cloudsecuritycompliance.v1.ReportSummary report_summary = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the reportSummary field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time that the audit started.

.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FrameworkAudit.Builder newBuilderForType()
Returns
Type Description
FrameworkAudit.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FrameworkAudit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FrameworkAudit.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FrameworkAudit.Builder toBuilder()
Returns
Type Description
FrameworkAudit.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException