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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CloudControlDeployment.Builder newBuilder()
newBuilder(CloudControlDeployment prototype)
public static CloudControlDeployment.Builder newBuilder(CloudControlDeployment prototype)
public static CloudControlDeployment parseDelimitedFrom(InputStream input)
public static CloudControlDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CloudControlDeployment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudControlDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CloudControlDeployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudControlDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudControlDeployment parseFrom(CodedInputStream input)
public static CloudControlDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudControlDeployment parseFrom(InputStream input)
public static CloudControlDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CloudControlDeployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudControlDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CloudControlDeployment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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];
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];
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];
getDefaultInstanceForType()
public CloudControlDeployment getDefaultInstanceForType()
getDeploymentState()
public DeploymentState getDeploymentState()
Output only. State of the deployment
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
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
|
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];
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
|
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()
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];
getParserForType()
public Parser<CloudControlDeployment> getParserForType()
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];
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CloudControlDeployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudControlDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CloudControlDeployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides