# Interface FindingDetailsOrBuilder (0.20.0)

0.20.0 (latest) 0.18.0 0.15.0 0.14.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface FindingDetailsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getComplianceState()

    public abstract ComplianceState getComplianceState()

Output only. The compliance state of the finding.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.ComplianceState` | The complianceState. |

### getComplianceStateValue()

    public abstract int getComplianceStateValue()

Output only. The compliance state of the finding.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for complianceState. |

### getEvidence()

    public abstract EvidenceDetails getEvidence()

Output only. The evidence details for the finding.

`
.google.cloud.cloudsecuritycompliance.v1.EvidenceDetails evidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.EvidenceDetails` | The evidence. |

### getEvidenceOrBuilder()

    public abstract EvidenceDetailsOrBuilder getEvidenceOrBuilder()

Output only. The evidence details for the finding.

`
.google.cloud.cloudsecuritycompliance.v1.EvidenceDetails evidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.EvidenceDetailsOrBuilder` |   |

### getName()

    public abstract String getName()

Output only. The name of the finding.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. The name of the finding.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getObservation()

    public abstract ObservationDetails getObservation()

Output only. The observation details for the finding.

`
.google.cloud.cloudsecuritycompliance.v1.ObservationDetails observation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.ObservationDetails` | The observation. |

### getObservationOrBuilder()

    public abstract ObservationDetailsOrBuilder getObservationOrBuilder()

Output only. The observation details for the finding.

`
.google.cloud.cloudsecuritycompliance.v1.ObservationDetails observation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.ObservationDetailsOrBuilder` |   |

### hasEvidence()

    public abstract boolean hasEvidence()

Output only. The evidence details for the finding.

`
.google.cloud.cloudsecuritycompliance.v1.EvidenceDetails evidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the evidence field is set. |

### hasObservation()

    public abstract boolean hasObservation()

Output only. The observation details for the finding.

`
.google.cloud.cloudsecuritycompliance.v1.ObservationDetails observation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the observation field is set. |