Class ValidateEventThreatDetectionCustomModuleRequest (0.22.0)

public final class ValidateEventThreatDetectionCustomModuleRequest extends GeneratedMessageV3 implements ValidateEventThreatDetectionCustomModuleRequestOrBuilder

Request message for SecurityCenterManagement.ValidateEventThreatDetectionCustomModule.

Protobuf type google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ValidateEventThreatDetectionCustomModuleRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

RAW_TEXT_FIELD_NUMBER

public static final int RAW_TEXT_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ValidateEventThreatDetectionCustomModuleRequest getDefaultInstance()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ValidateEventThreatDetectionCustomModuleRequest.Builder newBuilder()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest.Builder

newBuilder(ValidateEventThreatDetectionCustomModuleRequest prototype)

public static ValidateEventThreatDetectionCustomModuleRequest.Builder newBuilder(ValidateEventThreatDetectionCustomModuleRequest prototype)
Parameter
Name Description
prototype ValidateEventThreatDetectionCustomModuleRequest
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest.Builder

parseDelimitedFrom(InputStream input)

public static ValidateEventThreatDetectionCustomModuleRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValidateEventThreatDetectionCustomModuleRequest> parser()
Returns
Type Description
Parser<ValidateEventThreatDetectionCustomModuleRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest

getParent()

public String getParent()

Required. Resource name of the parent to validate the custom modules under, in one of the following formats:

  • organizations/{organization}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the parent to validate the custom modules under, in one of the following formats:

  • organizations/{organization}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<ValidateEventThreatDetectionCustomModuleRequest> getParserForType()
Returns
Type Description
Parser<ValidateEventThreatDetectionCustomModuleRequest>
Overrides

getRawText()

public String getRawText()

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The rawText.

getRawTextBytes()

public ByteString getRawTextBytes()

Required. The raw text of the module's contents. Used to generate error messages.

string raw_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for rawText.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

Required. The type of the module. For example, CONFIGURABLE_BAD_IP.

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Required. The type of the module. For example, CONFIGURABLE_BAD_IP.

string type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for type.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValidateEventThreatDetectionCustomModuleRequest.Builder newBuilderForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidateEventThreatDetectionCustomModuleRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValidateEventThreatDetectionCustomModuleRequest.Builder toBuilder()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException