Interface InstanceOSPoliciesComplianceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InstanceOSPoliciesCompliance, InstanceOSPoliciesCompliance.Builder

@Generated @Deprecated public interface InstanceOSPoliciesComplianceOrBuilder extends com.google.protobuf.MessageOrBuilder
Deprecated.
  • Method Details

    • getName

      String getName()
      Deprecated.
       Output only. The `InstanceOSPoliciesCompliance` API resource name.
      
       Format:
       `projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      Deprecated.
       Output only. The `InstanceOSPoliciesCompliance` API resource name.
      
       Format:
       `projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • getInstance

      String getInstance()
      Deprecated.
       Output only. The Compute Engine VM instance name.
       
      string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The instance.
    • getInstanceBytes

      com.google.protobuf.ByteString getInstanceBytes()
      Deprecated.
       Output only. The Compute Engine VM instance name.
       
      string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for instance.
    • getStateValue

      int getStateValue()
      Deprecated.
       Output only. Compliance state of the VM.
       
      .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Deprecated.
       Output only. Compliance state of the VM.
       
      .google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getDetailedState

      String getDetailedState()
      Deprecated.
       Output only. Detailed compliance state of the VM.
       This field is populated only when compliance state is `UNKNOWN`.
      
       It may contain one of the following values:
      
       * `no-compliance-data`: Compliance data is not available for this VM.
       * `no-agent-detected`: OS Config agent is not detected for this VM.
       * `config-not-supported-by-agent`: The version of the OS Config agent
       running on this VM does not support configuration management.
       * `inactive`: VM is not running.
       * `internal-service-errors`: There were internal service errors encountered
       while enforcing compliance.
       * `agent-errors`: OS config agent encountered errors while enforcing
       compliance.
       
      string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The detailedState.
    • getDetailedStateBytes

      com.google.protobuf.ByteString getDetailedStateBytes()
      Deprecated.
       Output only. Detailed compliance state of the VM.
       This field is populated only when compliance state is `UNKNOWN`.
      
       It may contain one of the following values:
      
       * `no-compliance-data`: Compliance data is not available for this VM.
       * `no-agent-detected`: OS Config agent is not detected for this VM.
       * `config-not-supported-by-agent`: The version of the OS Config agent
       running on this VM does not support configuration management.
       * `inactive`: VM is not running.
       * `internal-service-errors`: There were internal service errors encountered
       while enforcing compliance.
       * `agent-errors`: OS config agent encountered errors while enforcing
       compliance.
       
      string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for detailedState.
    • getDetailedStateReason

      String getDetailedStateReason()
      Deprecated.
       Output only. The reason for the `detailed_state` of the VM (if any).
       
      string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The detailedStateReason.
    • getDetailedStateReasonBytes

      com.google.protobuf.ByteString getDetailedStateReasonBytes()
      Deprecated.
       Output only. The reason for the `detailed_state` of the VM (if any).
       
      string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for detailedStateReason.
    • getOsPolicyCompliancesList

      Deprecated.
       Output only. Compliance data for each `OSPolicy` that is applied to the VM.
       
      repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOsPolicyCompliances

      InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index)
      Deprecated.
       Output only. Compliance data for each `OSPolicy` that is applied to the VM.
       
      repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOsPolicyCompliancesCount

      int getOsPolicyCompliancesCount()
      Deprecated.
       Output only. Compliance data for each `OSPolicy` that is applied to the VM.
       
      repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOsPolicyCompliancesOrBuilderList

      List<? extends InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
      Deprecated.
       Output only. Compliance data for each `OSPolicy` that is applied to the VM.
       
      repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOsPolicyCompliancesOrBuilder

      InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
      Deprecated.
       Output only. Compliance data for each `OSPolicy` that is applied to the VM.
       
      repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasLastComplianceCheckTime

      boolean hasLastComplianceCheckTime()
      Deprecated.
       Output only. Timestamp of the last compliance check for the VM.
       
      .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the lastComplianceCheckTime field is set.
    • getLastComplianceCheckTime

      com.google.protobuf.Timestamp getLastComplianceCheckTime()
      Deprecated.
       Output only. Timestamp of the last compliance check for the VM.
       
      .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lastComplianceCheckTime.
    • getLastComplianceCheckTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastComplianceCheckTimeOrBuilder()
      Deprecated.
       Output only. Timestamp of the last compliance check for the VM.
       
      .google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLastComplianceRunId

      String getLastComplianceRunId()
      Deprecated.
       Output only. Unique identifier for the last compliance run.
       This id will be logged by the OS config agent during a compliance run and
       can be used for debugging and tracing purpose.
       
      string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lastComplianceRunId.
    • getLastComplianceRunIdBytes

      com.google.protobuf.ByteString getLastComplianceRunIdBytes()
      Deprecated.
       Output only. Unique identifier for the last compliance run.
       This id will be logged by the OS config agent during a compliance run and
       can be used for debugging and tracing purpose.
       
      string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for lastComplianceRunId.