Class CloudControlDeployment.Builder (0.1.0)

public static final class CloudControlDeployment.Builder extends GeneratedMessageV3.Builder<CloudControlDeployment.Builder> implements CloudControlDeploymentOrBuilder

CloudControlDeployment is a resource that represents a deployment using a cloud control.

Protobuf type google.cloud.cloudsecuritycompliance.v1.CloudControlDeployment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFrameworkDeploymentReferences(Iterable<? extends FrameworkDeploymentReference> values)

public CloudControlDeployment.Builder addAllFrameworkDeploymentReferences(Iterable<? extends FrameworkDeploymentReference> values)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference>
Returns
Type Description
CloudControlDeployment.Builder

addFrameworkDeploymentReferences(FrameworkDeploymentReference value)

public CloudControlDeployment.Builder addFrameworkDeploymentReferences(FrameworkDeploymentReference value)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FrameworkDeploymentReference
Returns
Type Description
CloudControlDeployment.Builder

addFrameworkDeploymentReferences(FrameworkDeploymentReference.Builder builderForValue)

public CloudControlDeployment.Builder addFrameworkDeploymentReferences(FrameworkDeploymentReference.Builder builderForValue)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FrameworkDeploymentReference.Builder
Returns
Type Description
CloudControlDeployment.Builder

addFrameworkDeploymentReferences(int index, FrameworkDeploymentReference value)

public CloudControlDeployment.Builder addFrameworkDeploymentReferences(int index, FrameworkDeploymentReference value)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value FrameworkDeploymentReference
Returns
Type Description
CloudControlDeployment.Builder

addFrameworkDeploymentReferences(int index, FrameworkDeploymentReference.Builder builderForValue)

public CloudControlDeployment.Builder addFrameworkDeploymentReferences(int index, FrameworkDeploymentReference.Builder builderForValue)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue FrameworkDeploymentReference.Builder
Returns
Type Description
CloudControlDeployment.Builder

addFrameworkDeploymentReferencesBuilder()

public FrameworkDeploymentReference.Builder addFrameworkDeploymentReferencesBuilder()

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FrameworkDeploymentReference.Builder

addFrameworkDeploymentReferencesBuilder(int index)

public FrameworkDeploymentReference.Builder addFrameworkDeploymentReferencesBuilder(int index)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FrameworkDeploymentReference.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudControlDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudControlDeployment.Builder
Overrides

build()

public CloudControlDeployment build()
Returns
Type Description
CloudControlDeployment

buildPartial()

public CloudControlDeployment buildPartial()
Returns
Type Description
CloudControlDeployment

clear()

public CloudControlDeployment.Builder clear()
Returns
Type Description
CloudControlDeployment.Builder
Overrides

clearCloudControlMetadata()

public CloudControlDeployment.Builder clearCloudControlMetadata()

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControlDeployment.Builder

clearCreateTime()

public CloudControlDeployment.Builder clearCreateTime()

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

clearDeploymentState()

public CloudControlDeployment.Builder clearDeploymentState()

Output only. State of the deployment

.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

clearDescription()

public CloudControlDeployment.Builder clearDescription()

Optional. User provided description of the deployment

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

clearEtag()

public CloudControlDeployment.Builder clearEtag()

Optional. To prevent concurrent updates from overwriting each other, always provide the etag when you update a CustomComplianceCloudControl. You can also provide the etag when you delete a CustomComplianceCloudControl, to help ensure that you're deleting the intended version of the CustomComplianceCloudControl.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudControlDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudControlDeployment.Builder
Overrides

clearFrameworkDeploymentReferences()

public CloudControlDeployment.Builder clearFrameworkDeploymentReferences()

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

clearName()

public CloudControlDeployment.Builder clearName()

Identifier. CloudControlDeployment name in either of the following formats: organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudControlDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudControlDeployment.Builder
Overrides

clearParameterSubstitutedCloudControl()

public CloudControlDeployment.Builder clearParameterSubstitutedCloudControl()

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

clearTargetResource()

public CloudControlDeployment.Builder clearTargetResource()

Output only. The resource on which the CloudControl is deployed based on the provided TargetResourceConfig. In format organizations/{organization}, folders/{folder} or projects/{project}.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

clearTargetResourceConfig()

public CloudControlDeployment.Builder clearTargetResourceConfig()

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControlDeployment.Builder

clearTargetResourceDisplayName()

public CloudControlDeployment.Builder clearTargetResourceDisplayName()

Output only. The name of the application, project, folder, or organization that the cloud control is deployed on.

string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

clearUpdateTime()

public CloudControlDeployment.Builder clearUpdateTime()

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlDeployment.Builder

clone()

public CloudControlDeployment.Builder clone()
Returns
Type Description
CloudControlDeployment.Builder
Overrides

getCloudControlMetadata()

public CloudControlMetadata getCloudControlMetadata()

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControlMetadata

The cloudControlMetadata.

getCloudControlMetadataBuilder()

public CloudControlMetadata.Builder getCloudControlMetadataBuilder()

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControlMetadata.Builder

getCloudControlMetadataOrBuilder()

public CloudControlMetadataOrBuilder getCloudControlMetadataOrBuilder()

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControlMetadataOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CloudControlDeployment getDefaultInstanceForType()
Returns
Type Description
CloudControlDeployment

getDeploymentState()

public DeploymentState getDeploymentState()

Output only. State of the deployment

.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentState

The deploymentState.

getDeploymentStateValue()

public int getDeploymentStateValue()

Output only. State of the deployment

.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for deploymentState.

getDescription()

public String getDescription()

Optional. User provided description of the deployment

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. User provided description of the deployment

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

Optional. To prevent concurrent updates from overwriting each other, always provide the etag when you update a CustomComplianceCloudControl. You can also provide the etag when you delete a CustomComplianceCloudControl, to help ensure that you're deleting the intended version of the CustomComplianceCloudControl.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Optional. To prevent concurrent updates from overwriting each other, always provide the etag when you update a CustomComplianceCloudControl. You can also provide the etag when you delete a CustomComplianceCloudControl, to help ensure that you're deleting the intended version of the CustomComplianceCloudControl.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getFrameworkDeploymentReferences(int index)

public FrameworkDeploymentReference getFrameworkDeploymentReferences(int index)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FrameworkDeploymentReference

getFrameworkDeploymentReferencesBuilder(int index)

public FrameworkDeploymentReference.Builder getFrameworkDeploymentReferencesBuilder(int index)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FrameworkDeploymentReference.Builder

getFrameworkDeploymentReferencesBuilderList()

public List<FrameworkDeploymentReference.Builder> getFrameworkDeploymentReferencesBuilderList()

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getFrameworkDeploymentReferencesCount()

public int getFrameworkDeploymentReferencesCount()

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getFrameworkDeploymentReferencesList()

public List<FrameworkDeploymentReference> getFrameworkDeploymentReferencesList()

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<FrameworkDeploymentReference>

getFrameworkDeploymentReferencesOrBuilder(int index)

public FrameworkDeploymentReferenceOrBuilder getFrameworkDeploymentReferencesOrBuilder(int index)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
FrameworkDeploymentReferenceOrBuilder

getFrameworkDeploymentReferencesOrBuilderList()

public List<? extends FrameworkDeploymentReferenceOrBuilder> getFrameworkDeploymentReferencesOrBuilderList()

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReferenceOrBuilder>

getName()

public String getName()

Identifier. CloudControlDeployment name in either of the following formats: organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. CloudControlDeployment name in either of the following formats: organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParameterSubstitutedCloudControl()

public CloudControl getParameterSubstitutedCloudControl()

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControl

The parameterSubstitutedCloudControl.

getParameterSubstitutedCloudControlBuilder()

public CloudControl.Builder getParameterSubstitutedCloudControlBuilder()

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControl.Builder

getParameterSubstitutedCloudControlOrBuilder()

public CloudControlOrBuilder getParameterSubstitutedCloudControlOrBuilder()

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlOrBuilder

getTargetResource()

public String getTargetResource()

Output only. The resource on which the CloudControl is deployed based on the provided TargetResourceConfig. In format organizations/{organization}, folders/{folder} or projects/{project}.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetResource.

getTargetResourceBytes()

public ByteString getTargetResourceBytes()

Output only. The resource on which the CloudControl is deployed based on the provided TargetResourceConfig. In format organizations/{organization}, folders/{folder} or projects/{project}.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetResource.

getTargetResourceConfig()

public TargetResourceConfig getTargetResourceConfig()

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TargetResourceConfig

The targetResourceConfig.

getTargetResourceConfigBuilder()

public TargetResourceConfig.Builder getTargetResourceConfigBuilder()

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TargetResourceConfig.Builder

getTargetResourceConfigOrBuilder()

public TargetResourceConfigOrBuilder getTargetResourceConfigOrBuilder()

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TargetResourceConfigOrBuilder

getTargetResourceDisplayName()

public String getTargetResourceDisplayName()

Output only. The name of the application, project, folder, or organization that the cloud control is deployed on.

string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetResourceDisplayName.

getTargetResourceDisplayNameBytes()

public ByteString getTargetResourceDisplayNameBytes()

Output only. The name of the application, project, folder, or organization that the cloud control is deployed on.

string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetResourceDisplayName.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCloudControlMetadata()

public boolean hasCloudControlMetadata()

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cloudControlMetadata field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasParameterSubstitutedCloudControl()

public boolean hasParameterSubstitutedCloudControl()

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the parameterSubstitutedCloudControl field is set.

hasTargetResourceConfig()

public boolean hasTargetResourceConfig()

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the targetResourceConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudControlMetadata(CloudControlMetadata value)

public CloudControlDeployment.Builder mergeCloudControlMetadata(CloudControlMetadata value)

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CloudControlMetadata
Returns
Type Description
CloudControlDeployment.Builder

mergeCreateTime(Timestamp value)

public CloudControlDeployment.Builder mergeCreateTime(Timestamp value)

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudControlDeployment.Builder

mergeFrom(CloudControlDeployment other)

public CloudControlDeployment.Builder mergeFrom(CloudControlDeployment other)
Parameter
Name Description
other CloudControlDeployment
Returns
Type Description
CloudControlDeployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudControlDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudControlDeployment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudControlDeployment.Builder
Overrides

mergeParameterSubstitutedCloudControl(CloudControl value)

public CloudControlDeployment.Builder mergeParameterSubstitutedCloudControl(CloudControl value)

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CloudControl
Returns
Type Description
CloudControlDeployment.Builder

mergeTargetResourceConfig(TargetResourceConfig value)

public CloudControlDeployment.Builder mergeTargetResourceConfig(TargetResourceConfig value)

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TargetResourceConfig
Returns
Type Description
CloudControlDeployment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudControlDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudControlDeployment.Builder
Overrides

mergeUpdateTime(Timestamp value)

public CloudControlDeployment.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudControlDeployment.Builder

removeFrameworkDeploymentReferences(int index)

public CloudControlDeployment.Builder removeFrameworkDeploymentReferences(int index)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CloudControlDeployment.Builder

setCloudControlMetadata(CloudControlMetadata value)

public CloudControlDeployment.Builder setCloudControlMetadata(CloudControlMetadata value)

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CloudControlMetadata
Returns
Type Description
CloudControlDeployment.Builder

setCloudControlMetadata(CloudControlMetadata.Builder builderForValue)

public CloudControlDeployment.Builder setCloudControlMetadata(CloudControlMetadata.Builder builderForValue)

Required. CloudControlReference, Deployment mode and parameters for the cloud_control

.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CloudControlMetadata.Builder
Returns
Type Description
CloudControlDeployment.Builder

setCreateTime(Timestamp value)

public CloudControlDeployment.Builder setCreateTime(Timestamp value)

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudControlDeployment.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CloudControlDeployment.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which the resource was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudControlDeployment.Builder

setDeploymentState(DeploymentState value)

public CloudControlDeployment.Builder setDeploymentState(DeploymentState value)

Output only. State of the deployment

.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeploymentState

The deploymentState to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setDeploymentStateValue(int value)

public CloudControlDeployment.Builder setDeploymentStateValue(int value)

Output only. State of the deployment

.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for deploymentState to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setDescription(String value)

public CloudControlDeployment.Builder setDescription(String value)

Optional. User provided description of the deployment

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public CloudControlDeployment.Builder setDescriptionBytes(ByteString value)

Optional. User provided description of the deployment

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setEtag(String value)

public CloudControlDeployment.Builder setEtag(String value)

Optional. To prevent concurrent updates from overwriting each other, always provide the etag when you update a CustomComplianceCloudControl. You can also provide the etag when you delete a CustomComplianceCloudControl, to help ensure that you're deleting the intended version of the CustomComplianceCloudControl.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public CloudControlDeployment.Builder setEtagBytes(ByteString value)

Optional. To prevent concurrent updates from overwriting each other, always provide the etag when you update a CustomComplianceCloudControl. You can also provide the etag when you delete a CustomComplianceCloudControl, to help ensure that you're deleting the intended version of the CustomComplianceCloudControl.

string etag = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudControlDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudControlDeployment.Builder
Overrides

setFrameworkDeploymentReferences(int index, FrameworkDeploymentReference value)

public CloudControlDeployment.Builder setFrameworkDeploymentReferences(int index, FrameworkDeploymentReference value)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value FrameworkDeploymentReference
Returns
Type Description
CloudControlDeployment.Builder

setFrameworkDeploymentReferences(int index, FrameworkDeploymentReference.Builder builderForValue)

public CloudControlDeployment.Builder setFrameworkDeploymentReferences(int index, FrameworkDeploymentReference.Builder builderForValue)

Output only. The references to the framework deployments that this cloud control deployment is part of.

repeated .google.cloud.cloudsecuritycompliance.v1.FrameworkDeploymentReference framework_deployment_references = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue FrameworkDeploymentReference.Builder
Returns
Type Description
CloudControlDeployment.Builder

setName(String value)

public CloudControlDeployment.Builder setName(String value)

Identifier. CloudControlDeployment name in either of the following formats: organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CloudControlDeployment.Builder setNameBytes(ByteString value)

Identifier. CloudControlDeployment name in either of the following formats: organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setParameterSubstitutedCloudControl(CloudControl value)

public CloudControlDeployment.Builder setParameterSubstitutedCloudControl(CloudControl value)

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CloudControl
Returns
Type Description
CloudControlDeployment.Builder

setParameterSubstitutedCloudControl(CloudControl.Builder builderForValue)

public CloudControlDeployment.Builder setParameterSubstitutedCloudControl(CloudControl.Builder builderForValue)

Output only. The cloud control after parameter substitution.

.google.cloud.cloudsecuritycompliance.v1.CloudControl parameter_substituted_cloud_control = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CloudControl.Builder
Returns
Type Description
CloudControlDeployment.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudControlDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudControlDeployment.Builder
Overrides

setTargetResource(String value)

public CloudControlDeployment.Builder setTargetResource(String value)

Output only. The resource on which the CloudControl is deployed based on the provided TargetResourceConfig. In format organizations/{organization}, folders/{folder} or projects/{project}.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The targetResource to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setTargetResourceBytes(ByteString value)

public CloudControlDeployment.Builder setTargetResourceBytes(ByteString value)

Output only. The resource on which the CloudControl is deployed based on the provided TargetResourceConfig. In format organizations/{organization}, folders/{folder} or projects/{project}.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for targetResource to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setTargetResourceConfig(TargetResourceConfig value)

public CloudControlDeployment.Builder setTargetResourceConfig(TargetResourceConfig value)

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TargetResourceConfig
Returns
Type Description
CloudControlDeployment.Builder

setTargetResourceConfig(TargetResourceConfig.Builder builderForValue)

public CloudControlDeployment.Builder setTargetResourceConfig(TargetResourceConfig.Builder builderForValue)

Required. target_resource_config referencing either an already existing target_resource or contains config for a target_resource to be created

.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TargetResourceConfig.Builder
Returns
Type Description
CloudControlDeployment.Builder

setTargetResourceDisplayName(String value)

public CloudControlDeployment.Builder setTargetResourceDisplayName(String value)

Output only. The name of the application, project, folder, or organization that the cloud control is deployed on.

string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The targetResourceDisplayName to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setTargetResourceDisplayNameBytes(ByteString value)

public CloudControlDeployment.Builder setTargetResourceDisplayNameBytes(ByteString value)

Output only. The name of the application, project, folder, or organization that the cloud control is deployed on.

string target_resource_display_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for targetResourceDisplayName to set.

Returns
Type Description
CloudControlDeployment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudControlDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudControlDeployment.Builder
Overrides

setUpdateTime(Timestamp value)

public CloudControlDeployment.Builder setUpdateTime(Timestamp value)

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudControlDeployment.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public CloudControlDeployment.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which the resource last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudControlDeployment.Builder