Class UpdateSecurityProfileGroupRequest.Builder (0.94.0)

public static final class UpdateSecurityProfileGroupRequest.Builder extends GeneratedMessage.Builder<UpdateSecurityProfileGroupRequest.Builder> implements UpdateSecurityProfileGroupRequestOrBuilder

Request used by the UpdateSecurityProfileGroup method.

Protobuf type google.cloud.networksecurity.v1.UpdateSecurityProfileGroupRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateSecurityProfileGroupRequest build()
Returns
Type Description
UpdateSecurityProfileGroupRequest

buildPartial()

public UpdateSecurityProfileGroupRequest buildPartial()
Returns
Type Description
UpdateSecurityProfileGroupRequest

clear()

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

clearSecurityProfileGroup()

public UpdateSecurityProfileGroupRequest.Builder clearSecurityProfileGroup()

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSecurityProfileGroupRequest.Builder

clearUpdateMask()

public UpdateSecurityProfileGroupRequest.Builder clearUpdateMask()

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

getDefaultInstanceForType()

public UpdateSecurityProfileGroupRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSecurityProfileGroupRequest

getDescriptorForType()

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

getSecurityProfileGroup()

public SecurityProfileGroup getSecurityProfileGroup()

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfileGroup

The securityProfileGroup.

getSecurityProfileGroupBuilder()

public SecurityProfileGroup.Builder getSecurityProfileGroupBuilder()

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfileGroup.Builder

getSecurityProfileGroupOrBuilder()

public SecurityProfileGroupOrBuilder getSecurityProfileGroupOrBuilder()

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfileGroupOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasSecurityProfileGroup()

public boolean hasSecurityProfileGroup()

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityProfileGroup field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup 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(UpdateSecurityProfileGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSecurityProfileGroup(SecurityProfileGroup value)

public UpdateSecurityProfileGroupRequest.Builder mergeSecurityProfileGroup(SecurityProfileGroup value)

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityProfileGroup
Returns
Type Description
UpdateSecurityProfileGroupRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateSecurityProfileGroupRequest.Builder mergeUpdateMask(FieldMask value)

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

setSecurityProfileGroup(SecurityProfileGroup value)

public UpdateSecurityProfileGroupRequest.Builder setSecurityProfileGroup(SecurityProfileGroup value)

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SecurityProfileGroup
Returns
Type Description
UpdateSecurityProfileGroupRequest.Builder

setSecurityProfileGroup(SecurityProfileGroup.Builder builderForValue)

public UpdateSecurityProfileGroupRequest.Builder setSecurityProfileGroup(SecurityProfileGroup.Builder builderForValue)

Required. Updated SecurityProfileGroup resource.

.google.cloud.networksecurity.v1.SecurityProfileGroup security_profile_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SecurityProfileGroup.Builder
Returns
Type Description
UpdateSecurityProfileGroupRequest.Builder

setUpdateMask(FieldMask value)

public UpdateSecurityProfileGroupRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSecurityProfileGroupRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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