Class CloudControlDeployment (0.1.0)

public final class CloudControlDeployment extends GeneratedMessageV3 implements CloudControlDeploymentOrBuilder

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

Protobuf type google.cloud.cloudsecuritycompliance.v1.CloudControlDeployment

Static Fields

CLOUD_CONTROL_METADATA_FIELD_NUMBER

public static final int CLOUD_CONTROL_METADATA_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_STATE_FIELD_NUMBER

public static final int DEPLOYMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ETAG_FIELD_NUMBER

public static final int ETAG_FIELD_NUMBER
Field Value
Type Description
int

FRAMEWORK_DEPLOYMENT_REFERENCES_FIELD_NUMBER

public static final int FRAMEWORK_DEPLOYMENT_REFERENCES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PARAMETER_SUBSTITUTED_CLOUD_CONTROL_FIELD_NUMBER

public static final int PARAMETER_SUBSTITUTED_CLOUD_CONTROL_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RESOURCE_CONFIG_FIELD_NUMBER

public static final int TARGET_RESOURCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RESOURCE_DISPLAY_NAME_FIELD_NUMBER

public static final int TARGET_RESOURCE_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RESOURCE_FIELD_NUMBER

public static final int TARGET_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudControlDeployment getDefaultInstance()
Returns
Type Description
CloudControlDeployment

getDescriptor()

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

newBuilder()

public static CloudControlDeployment.Builder newBuilder()
Returns
Type Description
CloudControlDeployment.Builder

newBuilder(CloudControlDeployment prototype)

public static CloudControlDeployment.Builder newBuilder(CloudControlDeployment prototype)
Parameter
Name Description
prototype CloudControlDeployment
Returns
Type Description
CloudControlDeployment.Builder

parseDelimitedFrom(InputStream input)

public static CloudControlDeployment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudControlDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudControlDeployment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudControlDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudControlDeployment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudControlDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudControlDeployment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudControlDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudControlDeployment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudControlDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudControlDeployment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudControlDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudControlDeployment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudControlDeployment> parser()
Returns
Type Description
Parser<CloudControlDeployment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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

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.

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

getParserForType()

public Parser<CloudControlDeployment> getParserForType()
Returns
Type Description
Parser<CloudControlDeployment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudControlDeployment.Builder newBuilderForType()
Returns
Type Description
CloudControlDeployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudControlDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudControlDeployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudControlDeployment.Builder toBuilder()
Returns
Type Description
CloudControlDeployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException