Class PolicyViolationInfo (2.43.0)

public final class PolicyViolationInfo extends GeneratedMessageV3 implements PolicyViolationInfoOrBuilder

Information related to policy violations for this request.

Protobuf type google.cloud.audit.PolicyViolationInfo

Static Fields

ORG_POLICY_VIOLATION_INFO_FIELD_NUMBER

public static final int ORG_POLICY_VIOLATION_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PolicyViolationInfo getDefaultInstance()
Returns
Type Description
PolicyViolationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PolicyViolationInfo.Builder newBuilder()
Returns
Type Description
PolicyViolationInfo.Builder

newBuilder(PolicyViolationInfo prototype)

public static PolicyViolationInfo.Builder newBuilder(PolicyViolationInfo prototype)
Parameter
Name Description
prototype PolicyViolationInfo
Returns
Type Description
PolicyViolationInfo.Builder

parseDelimitedFrom(InputStream input)

public static PolicyViolationInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyViolationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PolicyViolationInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyViolationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyViolationInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyViolationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyViolationInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyViolationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PolicyViolationInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyViolationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PolicyViolationInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyViolationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyViolationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PolicyViolationInfo> parser()
Returns
Type Description
Parser<PolicyViolationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PolicyViolationInfo getDefaultInstanceForType()
Returns
Type Description
PolicyViolationInfo

getOrgPolicyViolationInfo()

public OrgPolicyViolationInfo getOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
Type Description
OrgPolicyViolationInfo

The orgPolicyViolationInfo.

getOrgPolicyViolationInfoOrBuilder()

public OrgPolicyViolationInfoOrBuilder getOrgPolicyViolationInfoOrBuilder()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
Type Description
OrgPolicyViolationInfoOrBuilder

getParserForType()

public Parser<PolicyViolationInfo> getParserForType()
Returns
Type Description
Parser<PolicyViolationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOrgPolicyViolationInfo()

public boolean hasOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;

Returns
Type Description
boolean

Whether the orgPolicyViolationInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PolicyViolationInfo.Builder newBuilderForType()
Returns
Type Description
PolicyViolationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyViolationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PolicyViolationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PolicyViolationInfo.Builder toBuilder()
Returns
Type Description
PolicyViolationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException