Class CloudControlDeploymentReference.Builder (0.12.0)

public static final class CloudControlDeploymentReference.Builder extends GeneratedMessage.Builder<CloudControlDeploymentReference.Builder> implements CloudControlDeploymentReferenceOrBuilder

The reference to a cloud control deployment.

Protobuf type google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference

Static Methods

getDescriptor()

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

Methods

build()

public CloudControlDeploymentReference build()
Returns
Type Description
CloudControlDeploymentReference

buildPartial()

public CloudControlDeploymentReference buildPartial()
Returns
Type Description
CloudControlDeploymentReference

clear()

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

clearCloudControlDeployment()

public CloudControlDeploymentReference.Builder clearCloudControlDeployment()

Output only. The name of the CloudControlDeployment. The format is organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}. The only supported location is global.

string cloud_control_deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudControlDeploymentReference.Builder

This builder for chaining.

getCloudControlDeployment()

public String getCloudControlDeployment()

Output only. The name of the CloudControlDeployment. The format is organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}. The only supported location is global.

string cloud_control_deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cloudControlDeployment.

getCloudControlDeploymentBytes()

public ByteString getCloudControlDeploymentBytes()

Output only. The name of the CloudControlDeployment. The format is organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}. The only supported location is global.

string cloud_control_deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cloudControlDeployment.

getDefaultInstanceForType()

public CloudControlDeploymentReference getDefaultInstanceForType()
Returns
Type Description
CloudControlDeploymentReference

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudControlDeploymentReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCloudControlDeployment(String value)

public CloudControlDeploymentReference.Builder setCloudControlDeployment(String value)

Output only. The name of the CloudControlDeployment. The format is organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}. The only supported location is global.

string cloud_control_deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The cloudControlDeployment to set.

Returns
Type Description
CloudControlDeploymentReference.Builder

This builder for chaining.

setCloudControlDeploymentBytes(ByteString value)

public CloudControlDeploymentReference.Builder setCloudControlDeploymentBytes(ByteString value)

Output only. The name of the CloudControlDeployment. The format is organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}. The only supported location is global.

string cloud_control_deployment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for cloudControlDeployment to set.

Returns
Type Description
CloudControlDeploymentReference.Builder

This builder for chaining.