Class UpdateCloudControlRequest.Builder (0.1.0)

public static final class UpdateCloudControlRequest.Builder extends GeneratedMessageV3.Builder<UpdateCloudControlRequest.Builder> implements UpdateCloudControlRequestOrBuilder

Message for updating a CloudControl.

Protobuf type google.cloud.cloudsecuritycompliance.v1.UpdateCloudControlRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCloudControlRequest build()
Returns
Type Description
UpdateCloudControlRequest

buildPartial()

public UpdateCloudControlRequest buildPartial()
Returns
Type Description
UpdateCloudControlRequest

clear()

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

clearCloudControl()

public UpdateCloudControlRequest.Builder clearCloudControl()

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCloudControlRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateCloudControlRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateCloudControlRequest.Builder

clone()

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

getCloudControl()

public CloudControl getCloudControl()

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControl

The cloudControl.

getCloudControlBuilder()

public CloudControl.Builder getCloudControlBuilder()

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControl.Builder

getCloudControlOrBuilder()

public CloudControlOrBuilder getCloudControlOrBuilder()

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudControlOrBuilder

getDefaultInstanceForType()

public UpdateCloudControlRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCloudControlRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasCloudControl()

public boolean hasCloudControl()

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cloudControl field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudControl(CloudControl value)

public UpdateCloudControlRequest.Builder mergeCloudControl(CloudControl value)

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CloudControl
Returns
Type Description
UpdateCloudControlRequest.Builder

mergeFrom(UpdateCloudControlRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateCloudControlRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCloudControlRequest.Builder

setCloudControl(CloudControl value)

public UpdateCloudControlRequest.Builder setCloudControl(CloudControl value)

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CloudControl
Returns
Type Description
UpdateCloudControlRequest.Builder

setCloudControl(CloudControl.Builder builderForValue)

public UpdateCloudControlRequest.Builder setCloudControl(CloudControl.Builder builderForValue)

Required. The resource being updated

.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateCloudControlRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCloudControlRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCloudControlRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the CloudControl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. The fields that can be updated are:

  1. Display_name
  2. Description
  3. Parameters
  4. Rules
  5. ParameterSpec.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCloudControlRequest.Builder