Class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult (0.5.0)

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

Possible test result.

Protobuf type google.cloud.securitycentermanagement.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
TypeDescription
int

FINDING_FIELD_NUMBER

public static final int FINDING_FIELD_NUMBER
Field Value
TypeDescription
int

NO_VIOLATION_FIELD_NUMBER

public static final int NO_VIOLATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstance()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)
Parameter
NameDescription
prototypeSimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

parseDelimitedFrom(InputStream input)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

getError()

public Status getError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getFinding()

public SimulatedFinding getFinding()

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

.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;

Returns
TypeDescription
SimulatedFinding

The finding.

getFindingOrBuilder()

public SimulatedFindingOrBuilder getFindingOrBuilder()

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

.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;

Returns
TypeDescription
SimulatedFindingOrBuilder

getNoViolation()

public Empty getNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
TypeDescription
Empty

The noViolation.

getNoViolationOrBuilder()

public EmptyOrBuilder getNoViolationOrBuilder()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
TypeDescription
EmptyOrBuilder

getParserForType()

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

getResultCase()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasError()

public boolean hasError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
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.securitycentermanagement.v1.SimulatedFinding finding = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the noViolation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilderForType()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder toBuilder()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException