Interface OSPolicyResourceComplianceOrBuilder (2.14.0)

public interface OSPolicyResourceComplianceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigSteps(int index)

public abstract OSPolicyResourceConfigStep getConfigSteps(int index)

Ordered list of configuration steps taken by the agent for the OS policy resource.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyResourceConfigStep

getConfigStepsCount()

public abstract int getConfigStepsCount()

Ordered list of configuration steps taken by the agent for the OS policy resource.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;

Returns
TypeDescription
int

getConfigStepsList()

public abstract List<OSPolicyResourceConfigStep> getConfigStepsList()

Ordered list of configuration steps taken by the agent for the OS policy resource.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;

Returns
TypeDescription
List<OSPolicyResourceConfigStep>

getConfigStepsOrBuilder(int index)

public abstract OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder(int index)

Ordered list of configuration steps taken by the agent for the OS policy resource.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyResourceConfigStepOrBuilder

getConfigStepsOrBuilderList()

public abstract List<? extends OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList()

Ordered list of configuration steps taken by the agent for the OS policy resource.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder>

getExecResourceOutput()

public abstract OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput()

ExecResource specific output.

.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;

Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput

The execResourceOutput.

getExecResourceOutputOrBuilder()

public abstract OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder()

ExecResource specific output.

.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;

Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutputOrBuilder

getOsPolicyResourceId()

public abstract String getOsPolicyResourceId()

The id of the OS policy resource.

string os_policy_resource_id = 1;

Returns
TypeDescription
String

The osPolicyResourceId.

getOsPolicyResourceIdBytes()

public abstract ByteString getOsPolicyResourceIdBytes()

The id of the OS policy resource.

string os_policy_resource_id = 1;

Returns
TypeDescription
ByteString

The bytes for osPolicyResourceId.

getOutputCase()

public abstract OSPolicyResourceCompliance.OutputCase getOutputCase()
Returns
TypeDescription
OSPolicyResourceCompliance.OutputCase

getState()

public abstract OSPolicyComplianceState getState()

Compliance state of the OS policy resource.

.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;

Returns
TypeDescription
OSPolicyComplianceState

The state.

getStateValue()

public abstract int getStateValue()

Compliance state of the OS policy resource.

.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasExecResourceOutput()

public abstract boolean hasExecResourceOutput()

ExecResource specific output.

.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;

Returns
TypeDescription
boolean

Whether the execResourceOutput field is set.