Class OSPolicyResourceCompliance (2.24.0)

public final class OSPolicyResourceCompliance extends GeneratedMessageV3 implements OSPolicyResourceComplianceOrBuilder

Compliance data for an OS policy resource.

Protobuf type google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance

Static Fields

CONFIG_STEPS_FIELD_NUMBER

public static final int CONFIG_STEPS_FIELD_NUMBER
Field Value
TypeDescription
int

EXEC_RESOURCE_OUTPUT_FIELD_NUMBER

public static final int EXEC_RESOURCE_OUTPUT_FIELD_NUMBER
Field Value
TypeDescription
int

OS_POLICY_RESOURCE_ID_FIELD_NUMBER

public static final int OS_POLICY_RESOURCE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OSPolicyResourceCompliance getDefaultInstance()
Returns
TypeDescription
OSPolicyResourceCompliance

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OSPolicyResourceCompliance.Builder newBuilder()
Returns
TypeDescription
OSPolicyResourceCompliance.Builder

newBuilder(OSPolicyResourceCompliance prototype)

public static OSPolicyResourceCompliance.Builder newBuilder(OSPolicyResourceCompliance prototype)
Parameter
NameDescription
prototypeOSPolicyResourceCompliance
Returns
TypeDescription
OSPolicyResourceCompliance.Builder

parseDelimitedFrom(InputStream input)

public static OSPolicyResourceCompliance parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSPolicyResourceCompliance
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicyResourceCompliance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceCompliance
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OSPolicyResourceCompliance parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OSPolicyResourceCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyResourceCompliance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OSPolicyResourceCompliance parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OSPolicyResourceCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OSPolicyResourceCompliance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistry