Interface OSPolicyResourceComplianceOrBuilder (2.46.0)

public interface OSPolicyResourceComplianceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigSteps(int index) (deprecated)

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
Name Description
index int
Returns
Type Description
OSPolicyResourceConfigStep

getConfigStepsCount() (deprecated)

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
Type Description
int

getConfigStepsList() (deprecated)

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
Type Description
List<OSPolicyResourceConfigStep>

getConfigStepsOrBuilder(int index) (deprecated)

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
Name Description
index int
Returns
Type Description
OSPolicyResourceConfigStepOrBuilder

getConfigStepsOrBuilderList() (deprecated)

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
Type Description
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStepOrBuilder>

getExecResourceOutput() (deprecated)

public abstract OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput()

ExecResource specific output.

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

Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput

The execResourceOutput.

getExecResourceOutputOrBuilder() (deprecated)

public abstract OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder()

ExecResource specific output.

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

Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutputOrBuilder

getOsPolicyResourceId() (deprecated)

public abstract String getOsPolicyResourceId()

The id of the OS policy resource.

string os_policy_resource_id = 1;

Returns
Type Description
String

The osPolicyResourceId.

getOsPolicyResourceIdBytes() (deprecated)

public abstract ByteString getOsPolicyResourceIdBytes()

The id of the OS policy resource.

string os_policy_resource_id = 1;

Returns
Type Description
ByteString

The bytes for osPolicyResourceId.

getOutputCase() (deprecated)

public abstract OSPolicyResourceCompliance.OutputCase getOutputCase()
Returns
Type Description
OSPolicyResourceCompliance.OutputCase

getState() (deprecated)

public abstract OSPolicyComplianceState getState()

Compliance state of the OS policy resource.

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

Returns
Type Description
OSPolicyComplianceState

The state.

getStateValue() (deprecated)

public abstract int getStateValue()

Compliance state of the OS policy resource.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

hasExecResourceOutput() (deprecated)

public abstract boolean hasExecResourceOutput()

ExecResource specific output.

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

Returns
Type Description
boolean

Whether the execResourceOutput field is set.