public final class CustomModuleValidationError extends GeneratedMessageV3 implements CustomModuleValidationErrorOrBuilder
An error encountered while validating the uploaded configuration of an
Event Threat Detection Custom Module.
Protobuf type google.cloud.securitycenter.v1.CustomModuleValidationError
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
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIELD_PATH_FIELD_NUMBER
public static final int FIELD_PATH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomModuleValidationError getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomModuleValidationError.Builder newBuilder()
newBuilder(CustomModuleValidationError prototype)
public static CustomModuleValidationError.Builder newBuilder(CustomModuleValidationError prototype)
public static CustomModuleValidationError parseDelimitedFrom(InputStream input)
public static CustomModuleValidationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomModuleValidationError parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomModuleValidationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomModuleValidationError parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomModuleValidationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomModuleValidationError parseFrom(CodedInputStream input)
public static CustomModuleValidationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomModuleValidationError parseFrom(InputStream input)
public static CustomModuleValidationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomModuleValidationError parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomModuleValidationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomModuleValidationError> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CustomModuleValidationError getDefaultInstanceForType()
getDescription()
public String getDescription()
A description of the error, suitable for human consumption. Required.
string description = 1;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description of the error, suitable for human consumption. Required.
string description = 1;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getEnd()
The end position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed..
optional .google.cloud.securitycenter.v1.Position end = 4;
Returns |
Type |
Description |
Position |
The end.
|
getEndOrBuilder()
public PositionOrBuilder getEndOrBuilder()
The end position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed..
optional .google.cloud.securitycenter.v1.Position end = 4;
getFieldPath()
public String getFieldPath()
The path, in RFC 8901 JSON Pointer format, to the field that failed
validation. This may be left empty if no specific field is affected.
string field_path = 2;
Returns |
Type |
Description |
String |
The fieldPath.
|
getFieldPathBytes()
public ByteString getFieldPathBytes()
The path, in RFC 8901 JSON Pointer format, to the field that failed
validation. This may be left empty if no specific field is affected.
string field_path = 2;
Returns |
Type |
Description |
ByteString |
The bytes for fieldPath.
|
getParserForType()
public Parser<CustomModuleValidationError> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStart()
public Position getStart()
The initial position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed.
optional .google.cloud.securitycenter.v1.Position start = 3;
Returns |
Type |
Description |
Position |
The start.
|
getStartOrBuilder()
public PositionOrBuilder getStartOrBuilder()
The initial position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed.
optional .google.cloud.securitycenter.v1.Position start = 3;
hasEnd()
The end position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed..
optional .google.cloud.securitycenter.v1.Position end = 4;
Returns |
Type |
Description |
boolean |
Whether the end field is set.
|
hasStart()
public boolean hasStart()
The initial position of the error in the uploaded text version of the
module. This field may be omitted if no specific position applies, or if
one could not be computed.
optional .google.cloud.securitycenter.v1.Position start = 3;
Returns |
Type |
Description |
boolean |
Whether the start field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomModuleValidationError.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomModuleValidationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomModuleValidationError.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides