Class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult (2.38.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
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>)

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()

getDescriptor()

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

newBuilder()

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder()

newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
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()

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 Finding getFinding()

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

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

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

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()

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.securitycenter.v1.Finding 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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder toBuilder()

writeTo(CodedOutputStream output)

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