Class PolicyViolationInfo (2.25.1)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static PolicyViolationInfo getDefaultInstance()
Returns
TypeDescription
PolicyViolationInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PolicyViolationInfo prototype)

public static PolicyViolationInfo.Builder newBuilder(PolicyViolationInfo prototype)
Parameter
NameDescription
prototypePolicyViolationInfo
Returns
TypeDescription
PolicyViolationInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PolicyViolationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PolicyViolationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PolicyViolationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyViolationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PolicyViolationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PolicyViolationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PolicyViolationInfo> parser()
Returns
TypeDescription
Parser<PolicyViolationInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PolicyViolationInfo getDefaultInstanceForType()
Returns
TypeDescription
PolicyViolationInfo

getOrgPolicyViolationInfo()

public OrgPolicyViolationInfo getOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

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

Returns
TypeDescription
OrgPolicyViolationInfo

The orgPolicyViolationInfo.

getOrgPolicyViolationInfoOrBuilder()

public OrgPolicyViolationInfoOrBuilder getOrgPolicyViolationInfoOrBuilder()

Indicates the orgpolicy violations for this resource.

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

Returns
TypeDescription
OrgPolicyViolationInfoOrBuilder

getParserForType()

public Parser<PolicyViolationInfo> getParserForType()
Returns
TypeDescription
Parser<PolicyViolationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasOrgPolicyViolationInfo()

public boolean hasOrgPolicyViolationInfo()

Indicates the orgpolicy violations for this resource.

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

Returns
TypeDescription
boolean

Whether the orgPolicyViolationInfo field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PolicyViolationInfo.Builder newBuilderForType()
Returns
TypeDescription
PolicyViolationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PolicyViolationInfo.Builder toBuilder()
Returns
TypeDescription
PolicyViolationInfo.Builder

writeTo(CodedOutputStream output)

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