Class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult (2.51.0)

public static final class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult extends GeneratedMessageV3 implements SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder

Possible test result.

Protobuf type google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

FINDING_FIELD_NUMBER

public static final int FINDING_FIELD_NUMBER
Field Value
Type Description
int

NO_VIOLATION_FIELD_NUMBER

public static final int NO_VIOLATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstance()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

getDescriptor()

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

newBuilder()

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)

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

parseDelimitedFrom(InputStream input)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult> parser()
Returns
Type Description
Parser<SimulatedResult>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

getError()

public Status getError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getFinding()

public Finding getFinding()

Finding that would be published for the test case, if a violation is detected.

.google.cloud.securitycenter.v1.Finding finding = 1;

Returns
Type Description
Finding

The finding.

getFindingOrBuilder()

public FindingOrBuilder getFindingOrBuilder()

Finding that would be published for the test case, if a violation is detected.

.google.cloud.securitycenter.v1.Finding finding = 1;

Returns
Type Description
FindingOrBuilder

getNoViolation()

public Empty getNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
Empty

The noViolation.

getNoViolationOrBuilder()

public EmptyOrBuilder getNoViolationOrBuilder()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
EmptyOrBuilder

getParserForType()

public Parser<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult> getParserForType()
Returns
Type Description
Parser<SimulatedResult>
Overrides

getResultCase()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasError()

public boolean hasError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.

hasFinding()

public boolean hasFinding()

Finding that would be published for the test case, if a violation is detected.

.google.cloud.securitycenter.v1.Finding finding = 1;

Returns
Type Description
boolean

Whether the finding field is set.

hasNoViolation()

public boolean hasNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
boolean

Whether the noViolation field is set.

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 SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilderForType()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder toBuilder()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

writeTo(CodedOutputStream output)

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