Class InstanceOSPoliciesCompliance.OSPolicyCompliance (2.33.0)

public static final class InstanceOSPoliciesCompliance.OSPolicyCompliance extends GeneratedMessageV3 implements InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder

Compliance data for an OS policy

Protobuf type google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstanceOSPoliciesCompliance.OSPolicyCompliance

Static Fields

OS_POLICY_ASSIGNMENT_FIELD_NUMBER (deprecated)

public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
Field Value
TypeDescription
int

OS_POLICY_ID_FIELD_NUMBER (deprecated)

public static final int OS_POLICY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER (deprecated)

public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER (deprecated)

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance() (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstance()
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance

getDescriptor() (deprecated)

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

newBuilder() (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilder()
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder

newBuilder(InstanceOSPoliciesCompliance.OSPolicyCompliance prototype) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilder(InstanceOSPoliciesCompliance.OSPolicyCompliance prototype)
Parameter
NameDescription
prototypeInstanceOSPoliciesCompliance.OSPolicyCompliance
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder

parseDelimitedFrom(InputStream input) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(byte[] data) (deprecated)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteString data) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance
Exceptions
TypeDescription
InvalidProtocolBufferException

parser() (deprecated)

public static Parser<InstanceOSPoliciesCompliance.OSPolicyCompliance> parser()
Returns
TypeDescription
Parser<OSPolicyCompliance>

Methods

equals(Object obj) (deprecated)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType() (deprecated)

public InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType()
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance

getOsPolicyAssignment() (deprecated)

public String getOsPolicyAssignment()

Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The osPolicyAssignment.

getOsPolicyAssignmentBytes() (deprecated)

public ByteString getOsPolicyAssignmentBytes()

Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

string os_policy_assignment = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for osPolicyAssignment.

getOsPolicyId() (deprecated)

public String getOsPolicyId()

The OS policy id

string os_policy_id = 1;

Returns
TypeDescription
String

The osPolicyId.

getOsPolicyIdBytes() (deprecated)

public ByteString getOsPolicyIdBytes()

The OS policy id

string os_policy_id = 1;

Returns
TypeDescription
ByteString

The bytes for osPolicyId.

getOsPolicyResourceCompliances(int index) (deprecated)

public OSPolicyResourceCompliance getOsPolicyResourceCompliances(int index)

Compliance data for each OSPolicyResource that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyResourceCompliance

getOsPolicyResourceCompliancesCount() (deprecated)

public int getOsPolicyResourceCompliancesCount()

Compliance data for each OSPolicyResource that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;

Returns
TypeDescription
int

getOsPolicyResourceCompliancesList() (deprecated)

public List<OSPolicyResourceCompliance> getOsPolicyResourceCompliancesList()

Compliance data for each OSPolicyResource that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;

Returns
TypeDescription
List<OSPolicyResourceCompliance>

getOsPolicyResourceCompliancesOrBuilder(int index) (deprecated)

public OSPolicyResourceComplianceOrBuilder getOsPolicyResourceCompliancesOrBuilder(int index)

Compliance data for each OSPolicyResource that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyResourceComplianceOrBuilder

getOsPolicyResourceCompliancesOrBuilderList() (deprecated)

public List<? extends OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList()

Compliance data for each OSPolicyResource that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder>

getParserForType() (deprecated)

public Parser<InstanceOSPoliciesCompliance.OSPolicyCompliance> getParserForType()
Returns
TypeDescription
Parser<OSPolicyCompliance>
Overrides

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState() (deprecated)

public OSPolicyComplianceState getState()

Compliance state of the OS policy.

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

Returns
TypeDescription
OSPolicyComplianceState

The state.

getStateValue() (deprecated)

public int getStateValue()

Compliance state of the OS policy.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hashCode() (deprecated)

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable() (deprecated)

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType() (deprecated)

public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilderForType()
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

protected InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder() (deprecated)

public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder toBuilder()
Returns
TypeDescription
InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder

writeTo(CodedOutputStream output) (deprecated)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException