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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
OS_POLICY_ASSIGNMENT_FIELD_NUMBER (deprecated)
public static final int OS_POLICY_ASSIGNMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OS_POLICY_ID_FIELD_NUMBER (deprecated)
public static final int OS_POLICY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER (deprecated)
public static final int OS_POLICY_RESOURCE_COMPLIANCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER (deprecated)
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance() (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstance()
getDescriptor() (deprecated)
public static final Descriptors.Descriptor getDescriptor()
newBuilder() (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilder()
newBuilder(InstanceOSPoliciesCompliance.OSPolicyCompliance prototype) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilder(InstanceOSPoliciesCompliance.OSPolicyCompliance prototype)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseDelimitedFrom(InputStream input)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(CodedInputStream input)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(InputStream input)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)
public static InstanceOSPoliciesCompliance.OSPolicyCompliance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser() (deprecated)
public static Parser<InstanceOSPoliciesCompliance.OSPolicyCompliance> parser()
Methods
equals(Object obj) (deprecated)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType() (deprecated)
public InstanceOSPoliciesCompliance.OSPolicyCompliance getDefaultInstanceForType()
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for osPolicyAssignment.
|
getOsPolicyId() (deprecated)
public String getOsPolicyId()
The OS policy id
string os_policy_id = 1;
Returns |
Type |
Description |
String |
The osPolicyId.
|
getOsPolicyIdBytes() (deprecated)
public ByteString getOsPolicyIdBytes()
The OS policy id
string os_policy_id = 1;
Returns |
Type |
Description |
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
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;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyResourceComplianceOrBuilder> |
|
getParserForType() (deprecated)
public Parser<InstanceOSPoliciesCompliance.OSPolicyCompliance> getParserForType()
Overrides
getSerializedSize() (deprecated)
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState() (deprecated)
public OSPolicyComplianceState getState()
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
getStateValue() (deprecated)
public int getStateValue()
Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
hashCode() (deprecated)
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable() (deprecated)
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized() (deprecated)
public final boolean isInitialized()
Overrides
newBuilderForType() (deprecated)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)
protected InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder() (deprecated)
public InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder toBuilder()
writeTo(CodedOutputStream output) (deprecated)
public void writeTo(CodedOutputStream output)
Overrides