Class OSPolicyResourceCompliance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSPolicyResourceCompliance.Builder>
com.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.Builder
- All Implemented Interfaces:
OSPolicyResourceComplianceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OSPolicyResourceCompliance
public static final class OSPolicyResourceCompliance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OSPolicyResourceCompliance.Builder>
implements OSPolicyResourceComplianceOrBuilder
Compliance data for an OS policy resource.Protobuf type
google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance-
Method Summary
Modifier and TypeMethodDescriptionaddAllConfigSteps(Iterable<? extends OSPolicyResourceConfigStep> values) Ordered list of configuration steps taken by the agent for the OS policy resource.addConfigSteps(int index, OSPolicyResourceConfigStep value) Ordered list of configuration steps taken by the agent for the OS policy resource.addConfigSteps(int index, OSPolicyResourceConfigStep.Builder builderForValue) Ordered list of configuration steps taken by the agent for the OS policy resource.Ordered list of configuration steps taken by the agent for the OS policy resource.addConfigSteps(OSPolicyResourceConfigStep.Builder builderForValue) Ordered list of configuration steps taken by the agent for the OS policy resource.Ordered list of configuration steps taken by the agent for the OS policy resource.addConfigStepsBuilder(int index) Ordered list of configuration steps taken by the agent for the OS policy resource.build()clear()Ordered list of configuration steps taken by the agent for the OS policy resource.ExecResource specific output.The id of the OS policy resource.Compliance state of the OS policy resource.getConfigSteps(int index) Ordered list of configuration steps taken by the agent for the OS policy resource.getConfigStepsBuilder(int index) Ordered list of configuration steps taken by the agent for the OS policy resource.Ordered list of configuration steps taken by the agent for the OS policy resource.intOrdered list of configuration steps taken by the agent for the OS policy resource.Ordered list of configuration steps taken by the agent for the OS policy resource.getConfigStepsOrBuilder(int index) Ordered list of configuration steps taken by the agent for the OS policy resource.List<? extends OSPolicyResourceConfigStepOrBuilder>Ordered list of configuration steps taken by the agent for the OS policy resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExecResource specific output.ExecResource specific output.ExecResource specific output.The id of the OS policy resource.com.google.protobuf.ByteStringThe id of the OS policy resource.getState()Compliance state of the OS policy resource.intCompliance state of the OS policy resource.booleanExecResource specific output.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanExecResource specific output.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConfigSteps(int index) Ordered list of configuration steps taken by the agent for the OS policy resource.setConfigSteps(int index, OSPolicyResourceConfigStep value) Ordered list of configuration steps taken by the agent for the OS policy resource.setConfigSteps(int index, OSPolicyResourceConfigStep.Builder builderForValue) Ordered list of configuration steps taken by the agent for the OS policy resource.ExecResource specific output.ExecResource specific output.setOsPolicyResourceId(String value) The id of the OS policy resource.setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) The id of the OS policy resource.setState(OSPolicyComplianceState value) Compliance state of the OS policy resource.setStateValue(int value) Compliance state of the OS policy resource.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyResourceCompliance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyResourceCompliance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyResourceCompliance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyResourceCompliance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyResourceCompliance.Builder>
-
mergeFrom
public OSPolicyResourceCompliance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyResourceCompliance.Builder>- Throws:
IOException
-
getOutputCase
- Specified by:
getOutputCasein interfaceOSPolicyResourceComplianceOrBuilder
-
clearOutput
-
getOsPolicyResourceId
The id of the OS policy resource.
string os_policy_resource_id = 1;- Specified by:
getOsPolicyResourceIdin interfaceOSPolicyResourceComplianceOrBuilder- Returns:
- The osPolicyResourceId.
-
getOsPolicyResourceIdBytes
public com.google.protobuf.ByteString getOsPolicyResourceIdBytes()The id of the OS policy resource.
string os_policy_resource_id = 1;- Specified by:
getOsPolicyResourceIdBytesin interfaceOSPolicyResourceComplianceOrBuilder- Returns:
- The bytes for osPolicyResourceId.
-
setOsPolicyResourceId
The id of the OS policy resource.
string os_policy_resource_id = 1;- Parameters:
value- The osPolicyResourceId to set.- Returns:
- This builder for chaining.
-
clearOsPolicyResourceId
The id of the OS policy resource.
string os_policy_resource_id = 1;- Returns:
- This builder for chaining.
-
setOsPolicyResourceIdBytes
public OSPolicyResourceCompliance.Builder setOsPolicyResourceIdBytes(com.google.protobuf.ByteString value) The id of the OS policy resource.
string os_policy_resource_id = 1;- Parameters:
value- The bytes for osPolicyResourceId to set.- Returns:
- This builder for chaining.
-
getConfigStepsList
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;- Specified by:
getConfigStepsListin interfaceOSPolicyResourceComplianceOrBuilder
-
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;- Specified by:
getConfigStepsCountin interfaceOSPolicyResourceComplianceOrBuilder
-
getConfigSteps
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;- Specified by:
getConfigStepsin interfaceOSPolicyResourceComplianceOrBuilder
-
setConfigSteps
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; -
setConfigSteps
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; -
addConfigSteps
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
addConfigSteps
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; -
addConfigSteps
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; -
addConfigSteps
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; -
addAllConfigSteps
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; -
clearConfigSteps
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
removeConfigSteps
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
getConfigStepsBuilder
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
getConfigStepsOrBuilder
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;- Specified by:
getConfigStepsOrBuilderin interfaceOSPolicyResourceComplianceOrBuilder
-
getConfigStepsOrBuilderList
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2;- Specified by:
getConfigStepsOrBuilderListin interfaceOSPolicyResourceComplianceOrBuilder
-
addConfigStepsBuilder
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
addConfigStepsBuilder
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
getConfigStepsBuilderList
Ordered list of configuration steps taken by the agent for the OS policy resource.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceConfigStep config_steps = 2; -
getStateValue
public int getStateValue()Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;- Specified by:
getStateValuein interfaceOSPolicyResourceComplianceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;- Specified by:
getStatein interfaceOSPolicyResourceComplianceOrBuilder- Returns:
- The state.
-
setState
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Compliance state of the OS policy resource.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3;- Returns:
- This builder for chaining.
-
hasExecResourceOutput
public boolean hasExecResourceOutput()ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;- Specified by:
hasExecResourceOutputin interfaceOSPolicyResourceComplianceOrBuilder- Returns:
- Whether the execResourceOutput field is set.
-
getExecResourceOutput
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;- Specified by:
getExecResourceOutputin interfaceOSPolicyResourceComplianceOrBuilder- Returns:
- The execResourceOutput.
-
setExecResourceOutput
public OSPolicyResourceCompliance.Builder setExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput value) ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; -
setExecResourceOutput
public OSPolicyResourceCompliance.Builder setExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput.Builder builderForValue) ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; -
mergeExecResourceOutput
public OSPolicyResourceCompliance.Builder mergeExecResourceOutput(OSPolicyResourceCompliance.ExecResourceOutput value) ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; -
clearExecResourceOutput
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; -
getExecResourceOutputBuilder
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4; -
getExecResourceOutputOrBuilder
ExecResource specific output.
.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 4;- Specified by:
getExecResourceOutputOrBuilderin interfaceOSPolicyResourceComplianceOrBuilder
-