public static final class Simulation.Builder extends GeneratedMessageV3.Builder<Simulation.Builder> implements SimulationOrBuilder
Attack path simulation
Protobuf type google.cloud.securitycenter.v2.Simulation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
public Simulation.Builder addAllResourceValueConfigsMetadata(Iterable<? extends ResourceValueConfigMetadata> values)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v2.ResourceValueConfigMetadata>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Simulation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Simulation.Builder addResourceValueConfigsMetadata(ResourceValueConfigMetadata value)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public Simulation.Builder addResourceValueConfigsMetadata(ResourceValueConfigMetadata.Builder builderForValue)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public Simulation.Builder addResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata value)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public Simulation.Builder addResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata.Builder builderForValue)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public ResourceValueConfigMetadata.Builder addResourceValueConfigsMetadataBuilder()
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public ResourceValueConfigMetadata.Builder addResourceValueConfigsMetadataBuilder(int index)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Parameter |
---|
Name | Description |
index | int
|
build()
public Simulation build()
buildPartial()
public Simulation buildPartial()
clear()
public Simulation.Builder clear()
Overrides
clearCreateTime()
public Simulation.Builder clearCreateTime()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public Simulation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Simulation.Builder clearName()
Full resource name of the Simulation:
organizations/123/simulations/456
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Simulation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Simulation.Builder clearResourceValueConfigsMetadata()
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
clone()
public Simulation.Builder clone()
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Simulation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Full resource name of the Simulation:
organizations/123/simulations/456
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Full resource name of the Simulation:
organizations/123/simulations/456
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public ResourceValueConfigMetadata getResourceValueConfigsMetadata(int index)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Parameter |
---|
Name | Description |
index | int
|
public ResourceValueConfigMetadata.Builder getResourceValueConfigsMetadataBuilder(int index)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Parameter |
---|
Name | Description |
index | int
|
public List<ResourceValueConfigMetadata.Builder> getResourceValueConfigsMetadataBuilderList()
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public int getResourceValueConfigsMetadataCount()
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Returns |
---|
Type | Description |
int | |
public List<ResourceValueConfigMetadata> getResourceValueConfigsMetadataList()
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public ResourceValueConfigMetadataOrBuilder getResourceValueConfigsMetadataOrBuilder(int index)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends ResourceValueConfigMetadataOrBuilder> getResourceValueConfigsMetadataOrBuilderList()
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.ResourceValueConfigMetadataOrBuilder> | |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public Simulation.Builder mergeCreateTime(Timestamp value)
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(Simulation other)
public Simulation.Builder mergeFrom(Simulation other)
public Simulation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Simulation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Simulation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Simulation.Builder removeResourceValueConfigsMetadata(int index)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
Parameter |
---|
Name | Description |
index | int
|
setCreateTime(Timestamp value)
public Simulation.Builder setCreateTime(Timestamp value)
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCreateTime(Timestamp.Builder builderForValue)
public Simulation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public Simulation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public Simulation.Builder setName(String value)
Full resource name of the Simulation:
organizations/123/simulations/456
string name = 1;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public Simulation.Builder setNameBytes(ByteString value)
Full resource name of the Simulation:
organizations/123/simulations/456
string name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Simulation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Simulation.Builder setResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata value)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
public Simulation.Builder setResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata.Builder builderForValue)
Resource value configurations' metadata used in this simulation. Maximum of
100.
repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_metadata = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final Simulation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides