Class Violation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.assuredworkloads.v1.Violation
-
- All Implemented Interfaces:
ViolationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Violation extends com.google.protobuf.GeneratedMessageV3 implements ViolationOrBuilder
Workload monitoring Violation.
Protobuf typegoogle.cloud.assuredworkloads.v1.Violation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViolation.BuilderWorkload monitoring Violation.static classViolation.RemediationRepresents remediation guidance to resolve compliance violation for AssuredWorkloadstatic interfaceViolation.RemediationOrBuilderstatic classViolation.StateViolation State Values-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACKNOWLEDGED_FIELD_NUMBERstatic intACKNOWLEDGEMENT_TIME_FIELD_NUMBERstatic intAUDIT_LOG_LINK_FIELD_NUMBERstatic intBEGIN_TIME_FIELD_NUMBERstatic intCATEGORY_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intEXCEPTION_AUDIT_LOG_LINK_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNON_COMPLIANT_ORG_POLICY_FIELD_NUMBERstatic intORG_POLICY_CONSTRAINT_FIELD_NUMBERstatic intREMEDIATION_FIELD_NUMBERstatic intRESOLVE_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAcknowledged()Output only.com.google.protobuf.TimestampgetAcknowledgementTime()Optional.com.google.protobuf.TimestampOrBuildergetAcknowledgementTimeOrBuilder()Optional.StringgetAuditLogLink()Output only.com.google.protobuf.ByteStringgetAuditLogLinkBytes()Output only.com.google.protobuf.TimestampgetBeginTime()Output only.com.google.protobuf.TimestampOrBuildergetBeginTimeOrBuilder()Output only.StringgetCategory()Output only.com.google.protobuf.ByteStringgetCategoryBytes()Output only.static ViolationgetDefaultInstance()ViolationgetDefaultInstanceForType()StringgetDescription()Output only.com.google.protobuf.ByteStringgetDescriptionBytes()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExceptionAuditLogLink()Output only.com.google.protobuf.ByteStringgetExceptionAuditLogLinkBytes()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetNonCompliantOrgPolicy()Output only.com.google.protobuf.ByteStringgetNonCompliantOrgPolicyBytes()Output only.StringgetOrgPolicyConstraint()Output only.com.google.protobuf.ByteStringgetOrgPolicyConstraintBytes()Output only.com.google.protobuf.Parser<Violation>getParserForType()Violation.RemediationgetRemediation()Output only.Violation.RemediationOrBuildergetRemediationOrBuilder()Output only.com.google.protobuf.TimestampgetResolveTime()Output only.com.google.protobuf.TimestampOrBuildergetResolveTimeOrBuilder()Output only.intgetSerializedSize()Violation.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAcknowledgementTime()Optional.booleanhasBeginTime()Output only.inthashCode()booleanhasRemediation()Output only.booleanhasResolveTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Violation.BuildernewBuilder()static Violation.BuildernewBuilder(Violation prototype)Violation.BuildernewBuilderForType()protected Violation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ViolationparseDelimitedFrom(InputStream input)static ViolationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ViolationparseFrom(byte[] data)static ViolationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ViolationparseFrom(com.google.protobuf.ByteString data)static ViolationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ViolationparseFrom(com.google.protobuf.CodedInputStream input)static ViolationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ViolationparseFrom(InputStream input)static ViolationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ViolationparseFrom(ByteBuffer data)static ViolationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Violation>parser()Violation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BEGIN_TIME_FIELD_NUMBER
public static final int BEGIN_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOLVE_TIME_FIELD_NUMBER
public static final int RESOLVE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORG_POLICY_CONSTRAINT_FIELD_NUMBER
public static final int ORG_POLICY_CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUDIT_LOG_LINK_FIELD_NUMBER
public static final int AUDIT_LOG_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NON_COMPLIANT_ORG_POLICY_FIELD_NUMBER
public static final int NON_COMPLIANT_ORG_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMEDIATION_FIELD_NUMBER
public static final int REMEDIATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACKNOWLEDGED_FIELD_NUMBER
public static final int ACKNOWLEDGED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACKNOWLEDGEMENT_TIME_FIELD_NUMBER
public static final int ACKNOWLEDGEMENT_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCEPTION_AUDIT_LOG_LINK_FIELD_NUMBER
public static final int EXCEPTION_AUDIT_LOG_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceViolationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceViolationOrBuilder- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionin interfaceViolationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionBytesin interfaceViolationOrBuilder- Returns:
- The bytes for description.
-
hasBeginTime
public boolean hasBeginTime()
Output only. Time of the event which triggered the Violation.
.google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBeginTimein interfaceViolationOrBuilder- Returns:
- Whether the beginTime field is set.
-
getBeginTime
public com.google.protobuf.Timestamp getBeginTime()
Output only. Time of the event which triggered the Violation.
.google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBeginTimein interfaceViolationOrBuilder- Returns:
- The beginTime.
-
getBeginTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getBeginTimeOrBuilder()
Output only. Time of the event which triggered the Violation.
.google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBeginTimeOrBuilderin interfaceViolationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last time when the Violation record was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceViolationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last time when the Violation record was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceViolationOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last time when the Violation record was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceViolationOrBuilder
-
hasResolveTime
public boolean hasResolveTime()
Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
.google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResolveTimein interfaceViolationOrBuilder- Returns:
- Whether the resolveTime field is set.
-
getResolveTime
public com.google.protobuf.Timestamp getResolveTime()
Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
.google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResolveTimein interfaceViolationOrBuilder- Returns:
- The resolveTime.
-
getResolveTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getResolveTimeOrBuilder()
Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
.google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResolveTimeOrBuilderin interfaceViolationOrBuilder
-
getCategory
public String getCategory()
Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryin interfaceViolationOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()
Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryBytesin interfaceViolationOrBuilder- Returns:
- The bytes for category.
-
getStateValue
public int getStateValue()
Output only. State of the violation
.google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceViolationOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Violation.State getState()
Output only. State of the violation
.google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceViolationOrBuilder- Returns:
- The state.
-
getOrgPolicyConstraint
public String getOrgPolicyConstraint()
Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getOrgPolicyConstraintin interfaceViolationOrBuilder- Returns:
- The orgPolicyConstraint.
-
getOrgPolicyConstraintBytes
public com.google.protobuf.ByteString getOrgPolicyConstraintBytes()
Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getOrgPolicyConstraintBytesin interfaceViolationOrBuilder- Returns:
- The bytes for orgPolicyConstraint.
-
getAuditLogLink
public String getAuditLogLink()
Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAuditLogLinkin interfaceViolationOrBuilder- Returns:
- The auditLogLink.
-
getAuditLogLinkBytes
public com.google.protobuf.ByteString getAuditLogLinkBytes()
Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAuditLogLinkBytesin interfaceViolationOrBuilder- Returns:
- The bytes for auditLogLink.
-
getNonCompliantOrgPolicy
public String getNonCompliantOrgPolicy()
Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNonCompliantOrgPolicyin interfaceViolationOrBuilder- Returns:
- The nonCompliantOrgPolicy.
-
getNonCompliantOrgPolicyBytes
public com.google.protobuf.ByteString getNonCompliantOrgPolicyBytes()
Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNonCompliantOrgPolicyBytesin interfaceViolationOrBuilder- Returns:
- The bytes for nonCompliantOrgPolicy.
-
hasRemediation
public boolean hasRemediation()
Output only. Compliance violation remediation
.google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRemediationin interfaceViolationOrBuilder- Returns:
- Whether the remediation field is set.
-
getRemediation
public Violation.Remediation getRemediation()
Output only. Compliance violation remediation
.google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRemediationin interfaceViolationOrBuilder- Returns:
- The remediation.
-
getRemediationOrBuilder
public Violation.RemediationOrBuilder getRemediationOrBuilder()
Output only. Compliance violation remediation
.google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRemediationOrBuilderin interfaceViolationOrBuilder
-
getAcknowledged
public boolean getAcknowledged()
Output only. A boolean that indicates if the violation is acknowledged
bool acknowledged = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAcknowledgedin interfaceViolationOrBuilder- Returns:
- The acknowledged.
-
hasAcknowledgementTime
public boolean hasAcknowledgementTime()
Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.
optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAcknowledgementTimein interfaceViolationOrBuilder- Returns:
- Whether the acknowledgementTime field is set.
-
getAcknowledgementTime
public com.google.protobuf.Timestamp getAcknowledgementTime()
Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.
optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAcknowledgementTimein interfaceViolationOrBuilder- Returns:
- The acknowledgementTime.
-
getAcknowledgementTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getAcknowledgementTimeOrBuilder()
Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.
optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAcknowledgementTimeOrBuilderin interfaceViolationOrBuilder
-
getExceptionAuditLogLink
public String getExceptionAuditLogLink()
Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExceptionAuditLogLinkin interfaceViolationOrBuilder- Returns:
- The exceptionAuditLogLink.
-
getExceptionAuditLogLinkBytes
public com.google.protobuf.ByteString getExceptionAuditLogLinkBytes()
Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExceptionAuditLogLinkBytesin interfaceViolationOrBuilder- Returns:
- The bytes for exceptionAuditLogLink.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Violation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Violation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Violation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Violation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Violation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Violation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Violation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Violation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Violation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Violation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Violation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Violation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Violation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Violation.Builder newBuilder()
-
newBuilder
public static Violation.Builder newBuilder(Violation prototype)
-
toBuilder
public Violation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Violation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Violation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Violation> parser()
-
getParserForType
public com.google.protobuf.Parser<Violation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Violation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-