public static final class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult extends GeneratedMessageV3 implements SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder
Possible test result.
Protobuf type
google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Inherited Members
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder()
newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilder(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult prototype)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseDelimitedFrom(InputStream input)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(CodedInputStream input)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(InputStream input)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()
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;
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;
getParserForType()
public Parser<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult> getParserForType()
Overrides
getResultCase()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides