Class UpdateSecurityProfileRequest.Builder (0.94.0)

public static final class UpdateSecurityProfileRequest.Builder extends GeneratedMessage.Builder<UpdateSecurityProfileRequest.Builder> implements UpdateSecurityProfileRequestOrBuilder

Request used by the UpdateSecurityProfile method.

Protobuf type google.cloud.networksecurity.v1.UpdateSecurityProfileRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateSecurityProfileRequest build()
Returns
Type Description
UpdateSecurityProfileRequest

buildPartial()

public UpdateSecurityProfileRequest buildPartial()
Returns
Type Description
UpdateSecurityProfileRequest

clear()

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

clearSecurityProfile()

public UpdateSecurityProfileRequest.Builder clearSecurityProfile()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSecurityProfileRequest.Builder

clearUpdateMask()

public UpdateSecurityProfileRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Returns
Type Description
UpdateSecurityProfileRequest.Builder

getDefaultInstanceForType()

public UpdateSecurityProfileRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSecurityProfileRequest

getDescriptorForType()

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

getSecurityProfile()

public SecurityProfile getSecurityProfile()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfile

The securityProfile.

getSecurityProfileBuilder()

public SecurityProfile.Builder getSecurityProfileBuilder()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfile.Builder

getSecurityProfileOrBuilder()

public SecurityProfileOrBuilder getSecurityProfileOrBuilder()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfileOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Returns
Type Description
FieldMaskOrBuilder

hasSecurityProfile()

public boolean hasSecurityProfile()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityProfile field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSecurityProfileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSecurityProfile(SecurityProfile value)

public UpdateSecurityProfileRequest.Builder mergeSecurityProfile(SecurityProfile value)

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityProfile
Returns
Type Description
UpdateSecurityProfileRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateSecurityProfileRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSecurityProfileRequest.Builder

setSecurityProfile(SecurityProfile value)

public UpdateSecurityProfileRequest.Builder setSecurityProfile(SecurityProfile value)

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityProfile
Returns
Type Description
UpdateSecurityProfileRequest.Builder

setSecurityProfile(SecurityProfile.Builder builderForValue)

public UpdateSecurityProfileRequest.Builder setSecurityProfile(SecurityProfile.Builder builderForValue)

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SecurityProfile.Builder
Returns
Type Description
UpdateSecurityProfileRequest.Builder

setUpdateMask(FieldMask value)

public UpdateSecurityProfileRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSecurityProfileRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSecurityProfileRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSecurityProfileRequest.Builder