- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Simulation.Builder extends GeneratedMessageV3.Builder<Simulation.Builder> implements SimulationOrBuilder
Attack path simulation
Protobuf type google.cloud.securitycenter.v2.Simulation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Simulation.BuilderImplements
SimulationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResourceValueConfigsMetadata(Iterable<? extends ResourceValueConfigMetadata> values)
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> |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Simulation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
addResourceValueConfigsMetadata(ResourceValueConfigMetadata value)
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;
Parameter | |
---|---|
Name | Description |
value |
ResourceValueConfigMetadata |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
addResourceValueConfigsMetadata(ResourceValueConfigMetadata.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceValueConfigMetadata.Builder |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
addResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ResourceValueConfigMetadata |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
addResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ResourceValueConfigMetadata.Builder |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
addResourceValueConfigsMetadataBuilder()
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;
Returns | |
---|---|
Type | Description |
ResourceValueConfigMetadata.Builder |
addResourceValueConfigsMetadataBuilder(int index)
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 |
Returns | |
---|---|
Type | Description |
ResourceValueConfigMetadata.Builder |
build()
public Simulation build()
Returns | |
---|---|
Type | Description |
Simulation |
buildPartial()
public Simulation buildPartial()
Returns | |
---|---|
Type | Description |
Simulation |
clear()
public Simulation.Builder clear()
Returns | |
---|---|
Type | Description |
Simulation.Builder |
clearCloudProvider()
public Simulation.Builder clearCloudProvider()
Indicates which cloud provider was used in this simulation.
.google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
Returns | |
---|---|
Type | Description |
Simulation.Builder |
This builder for chaining. |
clearCreateTime()
public Simulation.Builder clearCreateTime()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Simulation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Simulation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
clearName()
public Simulation.Builder clearName()
Full resource name of the Simulation:
organizations/123/simulations/456
string name = 1;
Returns | |
---|---|
Type | Description |
Simulation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Simulation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
clearResourceValueConfigsMetadata()
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;
Returns | |
---|---|
Type | Description |
Simulation.Builder |
clone()
public Simulation.Builder clone()
Returns | |
---|---|
Type | Description |
Simulation.Builder |
getCloudProvider()
public CloudProvider getCloudProvider()
Indicates which cloud provider was used in this simulation.
.google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
Returns | |
---|---|
Type | Description |
CloudProvider |
The cloudProvider. |
getCloudProviderValue()
public int getCloudProviderValue()
Indicates which cloud provider was used in this simulation.
.google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for cloudProvider. |
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];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time simulation was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Simulation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Simulation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String 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. |
getResourceValueConfigsMetadata(int index)
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 |
Returns | |
---|---|
Type | Description |
ResourceValueConfigMetadata |
getResourceValueConfigsMetadataBuilder(int index)
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 |
Returns | |
---|---|
Type | Description |
ResourceValueConfigMetadata.Builder |
getResourceValueConfigsMetadataBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getResourceValueConfigsMetadataCount()
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 |
getResourceValueConfigsMetadataList()
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;
Returns | |
---|---|
Type | Description |
List<ResourceValueConfigMetadata> |
getResourceValueConfigsMetadataOrBuilder(int index)
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 |
Returns | |
---|---|
Type | Description |
ResourceValueConfigMetadataOrBuilder |
getResourceValueConfigsMetadataOrBuilderList()
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
mergeFrom(Simulation other)
public Simulation.Builder mergeFrom(Simulation other)
Parameter | |
---|---|
Name | Description |
other |
Simulation |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Simulation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Simulation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Simulation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
removeResourceValueConfigsMetadata(int index)
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 |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
setCloudProvider(CloudProvider value)
public Simulation.Builder setCloudProvider(CloudProvider value)
Indicates which cloud provider was used in this simulation.
.google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
Parameter | |
---|---|
Name | Description |
value |
CloudProvider The cloudProvider to set. |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
This builder for chaining. |
setCloudProviderValue(int value)
public Simulation.Builder setCloudProviderValue(int value)
Indicates which cloud provider was used in this simulation.
.google.cloud.securitycenter.v2.CloudProvider cloud_provider = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for cloudProvider to set. |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
This builder for chaining. |
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
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 |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Simulation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
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. |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Simulation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
setResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ResourceValueConfigMetadata |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
setResourceValueConfigsMetadata(int index, ResourceValueConfigMetadata.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ResourceValueConfigMetadata.Builder |
Returns | |
---|---|
Type | Description |
Simulation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Simulation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Simulation.Builder |