Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderextendsGeneratedMessageV3.Builder<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder>implementsValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorOrBuilderAn error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.
Protobuf type
google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
build()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorbuild()| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError |
|
buildPartial()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorbuildPartial()| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError |
|
clear()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builderclear()| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
clearDescription()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearDescription()A description of the error, suitable for human consumption. Required.
string description = 1;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
This builder for chaining. |
clearEnd()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearEnd()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
clearFieldPath()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearFieldPath()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 |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
clearStart()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearStart()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
clone()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builderclone()| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
getDefaultInstanceForType()
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError |
|
getDescription()
publicStringgetDescription()A description of the error, suitable for human consumption. Required.
string description = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicByteStringgetDescriptionBytes()A description of the error, suitable for human consumption. Required.
string description = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnd()
publicValidateEventThreatDetectionCustomModuleResponse.PositiongetEnd()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.Position |
The end. |
getEndBuilder()
publicValidateEventThreatDetectionCustomModuleResponse.Position.BuildergetEndBuilder()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.Position.Builder |
|
getEndOrBuilder()
publicValidateEventThreatDetectionCustomModuleResponse.PositionOrBuildergetEndOrBuilder()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.PositionOrBuilder |
|
getFieldPath()
publicStringgetFieldPath()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()
publicByteStringgetFieldPathBytes()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. |
getStart()
publicValidateEventThreatDetectionCustomModuleResponse.PositiongetStart()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.Position |
The start. |
getStartBuilder()
publicValidateEventThreatDetectionCustomModuleResponse.Position.BuildergetStartBuilder()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.Position.Builder |
|
getStartOrBuilder()
publicValidateEventThreatDetectionCustomModuleResponse.PositionOrBuildergetStartOrBuilder()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.PositionOrBuilder |
|
hasEnd()
publicbooleanhasEnd()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the end field is set. |
hasStart()
publicbooleanhasStart()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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the start field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeEnd(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ValidateEventThreatDetectionCustomModuleResponse.Position |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
mergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError other)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorother)| Parameter | |
|---|---|
| Name | Description |
other |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
mergeStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeStart(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ValidateEventThreatDetectionCustomModuleResponse.Position |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setDescription(String value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetDescription(Stringvalue)A description of the error, suitable for human consumption. Required.
string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The description to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetDescriptionBytes(ByteStringvalue)A description of the error, suitable for human consumption. Required.
string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
This builder for chaining. |
setEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetEnd(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ValidateEventThreatDetectionCustomModuleResponse.Position |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setEnd(ValidateEventThreatDetectionCustomModuleResponse.Position.Builder builderForValue)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetEnd(ValidateEventThreatDetectionCustomModuleResponse.Position.BuilderbuilderForValue)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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ValidateEventThreatDetectionCustomModuleResponse.Position.Builder |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setFieldPath(String value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetFieldPath(Stringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The fieldPath to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
This builder for chaining. |
setFieldPathBytes(ByteString value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetFieldPathBytes(ByteStringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for fieldPath to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetStart(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ValidateEventThreatDetectionCustomModuleResponse.Position |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setStart(ValidateEventThreatDetectionCustomModuleResponse.Position.Builder builderForValue)
publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetStart(ValidateEventThreatDetectionCustomModuleResponse.Position.BuilderbuilderForValue)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.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ValidateEventThreatDetectionCustomModuleResponse.Position.Builder |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder |
|