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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCloudControlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCloudControlRequest build()
buildPartial()
public UpdateCloudControlRequest buildPartial()
clear()
public UpdateCloudControlRequest.Builder clear()
Overrides
clearCloudControl()
public UpdateCloudControlRequest.Builder clearCloudControl()
Required. The resource being updated
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCloudControlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCloudControlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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:
- Display_name
- Description
- Parameters
- Rules
- ParameterSpec.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateCloudControlRequest.Builder clone()
Overrides
getCloudControl()
public CloudControl getCloudControl()
Required. The resource being updated
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];
getCloudControlBuilder()
public CloudControl.Builder getCloudControlBuilder()
Required. The resource being updated
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];
getCloudControlOrBuilder()
public CloudControlOrBuilder getCloudControlOrBuilder()
Required. The resource being updated
.google.cloud.cloudsecuritycompliance.v1.CloudControl cloud_control = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCloudControlRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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:
- Display_name
- Description
- Parameters
- Rules
- 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:
- Display_name
- Description
- Parameters
- Rules
- ParameterSpec.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
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:
- Display_name
- Description
- Parameters
- Rules
- ParameterSpec.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
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:
- Display_name
- Description
- Parameters
- Rules
- 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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateCloudControlRequest other)
public UpdateCloudControlRequest.Builder mergeFrom(UpdateCloudControlRequest other)
public UpdateCloudControlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCloudControlRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCloudControlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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:
- Display_name
- Description
- Parameters
- Rules
- ParameterSpec.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCloudControlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCloudControlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCloudControlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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:
- Display_name
- Description
- Parameters
- Rules
- ParameterSpec.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
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:
- Display_name
- Description
- Parameters
- Rules
- ParameterSpec.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|