- 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 OSPolicyResourceCompliance.Builder extends GeneratedMessageV3.Builder<OSPolicyResourceCompliance.Builder> implements OSPolicyResourceComplianceOrBuilder
Compliance data for an OS policy resource.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicyResourceCompliance.BuilderImplements
OSPolicyResourceComplianceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConfigSteps(Iterable<? extends OSPolicyResourceConfigStep> values)
public OSPolicyResourceCompliance.Builder addAllConfigSteps(Iterable<? extends OSPolicyResourceConfigStep> values)
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 |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep> |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
addConfigSteps(OSPolicyResourceConfigStep value)
public OSPolicyResourceCompliance.Builder addConfigSteps(OSPolicyResourceConfigStep value)
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 |
value | OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
addConfigSteps(OSPolicyResourceConfigStep.Builder builderForValue)
public OSPolicyResourceCompliance.Builder addConfigSteps(OSPolicyResourceConfigStep.Builder builderForValue)
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 |
builderForValue | OSPolicyResourceConfigStep.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
addConfigSteps(int index, OSPolicyResourceConfigStep value)
public OSPolicyResourceCompliance.Builder addConfigSteps(int index, OSPolicyResourceConfigStep value)
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index | int |
value | OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
addConfigSteps(int index, OSPolicyResourceConfigStep.Builder builderForValue)
public OSPolicyResourceCompliance.Builder addConfigSteps(int index, OSPolicyResourceConfigStep.Builder builderForValue)
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OSPolicyResourceConfigStep.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
addConfigStepsBuilder()
public OSPolicyResourceConfigStep.Builder addConfigStepsBuilder()
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 |
OSPolicyResourceConfigStep.Builder |
addConfigStepsBuilder(int index)
public OSPolicyResourceConfigStep.Builder addConfigStepsBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyResourceCompliance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
build()
public OSPolicyResourceCompliance build()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance |
buildPartial()
public OSPolicyResourceCompliance buildPartial()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance |
clear()
public OSPolicyResourceCompliance.Builder clear()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
clearConfigSteps()
public OSPolicyResourceCompliance.Builder clearConfigSteps()
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 |
OSPolicyResourceCompliance.Builder |
clearExecResourceOutput()
public OSPolicyResourceCompliance.Builder clearExecResourceOutput()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyResourceCompliance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyResourceCompliance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
clearOsPolicyResourceId()
public OSPolicyResourceCompliance.Builder clearOsPolicyResourceId()
The id of the OS policy resource.
string os_policy_resource_id = 1;
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder | This builder for chaining. |
clearOutput()
public OSPolicyResourceCompliance.Builder clearOutput()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
clearState()
public OSPolicyResourceCompliance.Builder clearState()
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder | This builder for chaining. |
clone()
public OSPolicyResourceCompliance.Builder clone()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
getConfigSteps(int index)
public 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 |
getConfigStepsBuilder(int index)
public OSPolicyResourceConfigStep.Builder getConfigStepsBuilder(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.Builder |
getConfigStepsBuilderList()
public List<OSPolicyResourceConfigStep.Builder> getConfigStepsBuilderList()
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<Builder> |
getConfigStepsCount()
public 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()
public 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)
public 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()
public 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> |
getDefaultInstanceForType()
public OSPolicyResourceCompliance getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExecResourceOutput()
public OSPolicyResourceCompliance.ExecResourceOutput getExecResourceOutput()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.ExecResourceOutput | The execResourceOutput. |
getExecResourceOutputBuilder()
public OSPolicyResourceCompliance.ExecResourceOutput.Builder getExecResourceOutputBuilder()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.ExecResourceOutput.Builder |
getExecResourceOutputOrBuilder()
public OSPolicyResourceCompliance.ExecResourceOutputOrBuilder getExecResourceOutputOrBuilder()
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Returns | |
---|---|
Type | Description |
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 OSPolicyResourceCompliance.OutputCase getOutputCase()
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.OutputCase |
getState()
public OSPolicyComplianceState getState()
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;
Returns | |
---|---|
Type | Description |
OSPolicyComplianceState | The state. |
getStateValue()
public 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()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput value)
public OSPolicyResourceCompliance.Builder mergeExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput value)
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Parameter | |
---|---|
Name | Description |
value | OSPolicyResourceCompliance.ExecResourceOutput |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
mergeFrom(OSPolicyResourceCompliance other)
public OSPolicyResourceCompliance.Builder mergeFrom(OSPolicyResourceCompliance other)
Parameter | |
---|---|
Name | Description |
other | OSPolicyResourceCompliance |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyResourceCompliance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyResourceCompliance.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyResourceCompliance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
removeConfigSteps(int index)
public OSPolicyResourceCompliance.Builder removeConfigSteps(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 |
OSPolicyResourceCompliance.Builder |
setConfigSteps(int index, OSPolicyResourceConfigStep value)
public OSPolicyResourceCompliance.Builder setConfigSteps(int index, OSPolicyResourceConfigStep value)
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index | int |
value | OSPolicyResourceConfigStep |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
setConfigSteps(int index, OSPolicyResourceConfigStep.Builder builderForValue)
public OSPolicyResourceCompliance.Builder setConfigSteps(int index, OSPolicyResourceConfigStep.Builder builderForValue)
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OSPolicyResourceConfigStep.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
setExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput value)
public OSPolicyResourceCompliance.Builder setExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput value)
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Parameter | |
---|---|
Name | Description |
value | OSPolicyResourceCompliance.ExecResourceOutput |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
setExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue)
public OSPolicyResourceCompliance.Builder setExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue)
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | OSPolicyResourceCompliance.ExecResourceOutput.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyResourceCompliance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
setOsPolicyResourceId(String value)
public 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 |
OSPolicyResourceCompliance.Builder | This builder for chaining. |
setOsPolicyResourceIdBytes(ByteString value)
public 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 |
OSPolicyResourceCompliance.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyResourceCompliance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |
setState(OSPolicyComplianceState value)
public OSPolicyResourceCompliance.Builder setState(OSPolicyComplianceState value)
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;
Parameter | |
---|---|
Name | Description |
value | OSPolicyComplianceState The state to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder | This builder for chaining. |
setStateValue(int value)
public OSPolicyResourceCompliance.Builder setStateValue(int value)
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyResourceCompliance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyResourceCompliance.Builder |