Class SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource (0.24.0)

publicstaticfinalclass SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceextendsGeneratedMessageV3implementsSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder

Manually constructed information about a resource.

Protobuf type google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource

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

IAM_POLICY_DATA_FIELD_NUMBER

publicstaticfinalintIAM_POLICY_DATA_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_DATA_FIELD_NUMBER

publicstaticfinalintRESOURCE_DATA_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

publicstaticfinalintRESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetDefaultInstance()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilder()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder

newBuilder(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource prototype)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilder(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceprototype)
Parameter
Name Description
prototype SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder

parseDelimitedFrom(InputStream input)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource>parser()
Returns
Type Description
Parser<SimulatedResource>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetDefaultInstanceForType()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource

getIamPolicyData()

publicPolicygetIamPolicyData()

Optional. A representation of the IAM allow policy.

If the custom module evaluates only the resource data, then you can omit this field.

.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.iam.v1.Policy

The iamPolicyData.

getIamPolicyDataOrBuilder()

publicPolicyOrBuildergetIamPolicyDataOrBuilder()

Optional. A representation of the IAM allow policy.

If the custom module evaluates only the resource data, then you can omit this field.

.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.iam.v1.PolicyOrBuilder

getParserForType()

publicParser<SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource>getParserForType()
Returns
Type Description
Parser<SimulatedResource>
Overrides

getResourceData()

publicStructgetResourceData()

Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.

If the custom module evaluates only the IAM allow policy, then you can omit this field.

.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The resourceData.

getResourceDataOrBuilder()

publicStructOrBuildergetResourceDataOrBuilder()

Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.

If the custom module evaluates only the IAM allow policy, then you can omit this field.

.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getResourceType()

publicStringgetResourceType()

Required. The type of the resource. For example, compute.googleapis.com/Disk.

string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

publicByteStringgetResourceTypeBytes()

Required. The type of the resource. For example, compute.googleapis.com/Disk.

string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resourceType.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasIamPolicyData()

publicbooleanhasIamPolicyData()

Optional. A representation of the IAM allow policy.

If the custom module evaluates only the resource data, then you can omit this field.

.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the iamPolicyData field is set.

hasResourceData()

publicbooleanhasResourceData()

Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.

If the custom module evaluates only the IAM allow policy, then you can omit this field.

.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourceData field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilderForType()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildertoBuilder()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.