- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder extends GeneratedMessageV3.Builder<OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder> implements OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder
Compliance data for an OS policy resource.
Protobuf type
google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConfigSteps(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep> values)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addAllConfigSteps(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep> values)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep> |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
addConfigSteps(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addConfigSteps(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
addConfigSteps(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addConfigSteps(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
addConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
addConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
addConfigStepsBuilder()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder()
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder |
addConfigStepsBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder addConfigStepsBuilder(int index)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
build()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance build()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance |
buildPartial()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance buildPartial()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance |
clear()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clear()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
clearComplianceState()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearComplianceState()
The compliance state of the resource.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
clearComplianceStateReason()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearComplianceStateReason()
A reason for the resource to be in the given compliance state.
This field is always populated when compliance_state
is UNKNOWN
.
The following values are supported when compliance_state == UNKNOWN
execution-errors
: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined.execution-skipped-by-agent
: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy.os-policy-execution-attempt-failed
: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
string compliance_state_reason = 4;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
clearConfigSteps()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearConfigSteps()
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
clearExecResourceOutput()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearExecResourceOutput()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
clearOsPolicyResourceId()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearOsPolicyResourceId()
The ID of the OS policy resource.
string os_policy_resource_id = 1;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
clearOutput()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clearOutput()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
clone()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder clone()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
getComplianceState()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState getComplianceState()
The compliance state of the resource.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState |
The complianceState. |
getComplianceStateReason()
public String getComplianceStateReason()
A reason for the resource to be in the given compliance state.
This field is always populated when compliance_state
is UNKNOWN
.
The following values are supported when compliance_state == UNKNOWN
execution-errors
: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined.execution-skipped-by-agent
: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy.os-policy-execution-attempt-failed
: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
string compliance_state_reason = 4;
Returns | |
---|---|
Type | Description |
String |
The complianceStateReason. |
getComplianceStateReasonBytes()
public ByteString getComplianceStateReasonBytes()
A reason for the resource to be in the given compliance state.
This field is always populated when compliance_state
is UNKNOWN
.
The following values are supported when compliance_state == UNKNOWN
execution-errors
: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined.execution-skipped-by-agent
: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy.os-policy-execution-attempt-failed
: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
string compliance_state_reason = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for complianceStateReason. |
getComplianceStateValue()
public int getComplianceStateValue()
The compliance state of the resource.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for complianceState. |
getConfigSteps(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep getConfigSteps(int index)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep |
getConfigStepsBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder getConfigStepsBuilder(int index)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder |
getConfigStepsBuilderList()
public List<OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder> getConfigStepsBuilderList()
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getConfigStepsCount()
public int getConfigStepsCount()
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Returns | |
---|---|
Type | Description |
int |
getConfigStepsList()
public List<OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep> getConfigStepsList()
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Returns | |
---|---|
Type | Description |
List<OSPolicyResourceConfigStep> |
getConfigStepsOrBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder getConfigStepsOrBuilder(int index)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder |
getConfigStepsOrBuilderList()
public List<? extends OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> getConfigStepsOrBuilderList()
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStepOrBuilder> |
getDefaultInstanceForType()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExecResourceOutput()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput |
The execResourceOutput. |
getExecResourceOutputBuilder()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder |
getExecResourceOutputOrBuilder()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutputOrBuilder |
getOsPolicyResourceId()
public String getOsPolicyResourceId()
The ID of the OS policy resource.
string os_policy_resource_id = 1;
Returns | |
---|---|
Type | Description |
String |
The osPolicyResourceId. |
getOsPolicyResourceIdBytes()
public ByteString getOsPolicyResourceIdBytes()
The ID of the OS policy resource.
string os_policy_resource_id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for osPolicyResourceId. |
getOutputCase()
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OutputCase getOutputCase()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OutputCase |
hasExecResourceOutput()
public boolean hasExecResourceOutput()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the execResourceOutput field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeExecResourceOutput(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder mergeExecResourceOutput(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value)
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
mergeFrom(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder mergeFrom(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance other)
Parameter | |
---|---|
Name | Description |
other |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
removeConfigSteps(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder removeConfigSteps(int index)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setComplianceState(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setComplianceState(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState value)
The compliance state of the resource.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState The complianceState to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
setComplianceStateReason(String value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setComplianceStateReason(String value)
A reason for the resource to be in the given compliance state.
This field is always populated when compliance_state
is UNKNOWN
.
The following values are supported when compliance_state == UNKNOWN
execution-errors
: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined.execution-skipped-by-agent
: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy.os-policy-execution-attempt-failed
: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
string compliance_state_reason = 4;
Parameter | |
---|---|
Name | Description |
value |
String The complianceStateReason to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
setComplianceStateReasonBytes(ByteString value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setComplianceStateReasonBytes(ByteString value)
A reason for the resource to be in the given compliance state.
This field is always populated when compliance_state
is UNKNOWN
.
The following values are supported when compliance_state == UNKNOWN
execution-errors
: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined.execution-skipped-by-agent
: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy.os-policy-execution-attempt-failed
: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
string compliance_state_reason = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for complianceStateReason to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
setComplianceStateValue(int value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setComplianceStateValue(int value)
The compliance state of the resource.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for complianceState to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
setConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep value)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setConfigSteps(int index, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder builderForValue)
Ordered list of configuration completed by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setExecResourceOutput(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setExecResourceOutput(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput value)
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Parameter | |
---|---|
Name | Description |
value |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setExecResourceOutput(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setExecResourceOutput(OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue)
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setOsPolicyResourceId(String value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setOsPolicyResourceId(String value)
The ID of the OS policy resource.
string os_policy_resource_id = 1;
Parameter | |
---|---|
Name | Description |
value |
String The osPolicyResourceId to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
setOsPolicyResourceIdBytes(ByteString value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setOsPolicyResourceIdBytes(ByteString value)
The ID of the OS policy resource.
string os_policy_resource_id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for osPolicyResourceId to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder |