public final class ViolationInfo extends GeneratedMessageV3 implements ViolationInfoOrBuilder
Provides information about the Policy violation info for this request.
Protobuf type google.cloud.audit.ViolationInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ViolationInfoImplements
ViolationInfoOrBuilderStatic Fields
CHECKED_VALUE_FIELD_NUMBER
public static final int CHECKED_VALUE_FIELD_NUMBER
Type | Description |
int |
CONSTRAINT_FIELD_NUMBER
public static final int CONSTRAINT_FIELD_NUMBER
Type | Description |
int |
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
Type | Description |
int |
POLICY_TYPE_FIELD_NUMBER
public static final int POLICY_TYPE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ViolationInfo getDefaultInstance()
Type | Description |
ViolationInfo |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ViolationInfo.Builder newBuilder()
Type | Description |
ViolationInfo.Builder |
newBuilder(ViolationInfo prototype)
public static ViolationInfo.Builder newBuilder(ViolationInfo prototype)
Name | Description |
prototype | ViolationInfo |
Type | Description |
ViolationInfo.Builder |
parseDelimitedFrom(InputStream input)
public static ViolationInfo parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ViolationInfo |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ViolationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ViolationInfo |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ViolationInfo parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ViolationInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ViolationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ViolationInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ViolationInfo parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ViolationInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ViolationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ViolationInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ViolationInfo parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ViolationInfo |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ViolationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ViolationInfo |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ViolationInfo parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ViolationInfo |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ViolationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ViolationInfo |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ViolationInfo parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ViolationInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ViolationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ViolationInfo |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ViolationInfo> parser()
Type | Description |
Parser<ViolationInfo> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCheckedValue()
public String getCheckedValue()
Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types
string checked_value = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The checkedValue. |
getCheckedValueBytes()
public ByteString getCheckedValueBytes()
Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types
string checked_value = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for checkedValue. |
getConstraint()
public String getConstraint()
Optional. Constraint name
string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The constraint. |
getConstraintBytes()
public ByteString getConstraintBytes()
Optional. Constraint name
string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for constraint. |
getDefaultInstanceForType()
public ViolationInfo getDefaultInstanceForType()
Type | Description |
ViolationInfo |
getErrorMessage()
public String getErrorMessage()
Optional. Error message that policy is indicating.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The errorMessage. |
getErrorMessageBytes()
public ByteString getErrorMessageBytes()
Optional. Error message that policy is indicating.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for errorMessage. |
getParserForType()
public Parser<ViolationInfo> getParserForType()
Type | Description |
Parser<ViolationInfo> |
getPolicyType()
public ViolationInfo.PolicyType getPolicyType()
Optional. Indicates the type of the policy.
.google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ViolationInfo.PolicyType | The policyType. |
getPolicyTypeValue()
public int getPolicyTypeValue()
Optional. Indicates the type of the policy.
.google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The enum numeric value on the wire for policyType. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ViolationInfo.Builder newBuilderForType()
Type | Description |
ViolationInfo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ViolationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ViolationInfo.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ViolationInfo.Builder toBuilder()
Type | Description |
ViolationInfo.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |