Class UpdateGatewaySecurityPolicyRuleRequest.Builder (0.94.0)

public static final class UpdateGatewaySecurityPolicyRuleRequest.Builder extends GeneratedMessage.Builder<UpdateGatewaySecurityPolicyRuleRequest.Builder> implements UpdateGatewaySecurityPolicyRuleRequestOrBuilder

Request used by the UpdateGatewaySecurityPolicyRule method.

Protobuf type google.cloud.networksecurity.v1.UpdateGatewaySecurityPolicyRuleRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateGatewaySecurityPolicyRuleRequest build()
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest

buildPartial()

public UpdateGatewaySecurityPolicyRuleRequest buildPartial()
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest

clear()

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

clearGatewaySecurityPolicyRule()

public UpdateGatewaySecurityPolicyRuleRequest.Builder clearGatewaySecurityPolicyRule()

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

clearUpdateMask()

public UpdateGatewaySecurityPolicyRuleRequest.Builder clearUpdateMask()

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

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

Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

getDefaultInstanceForType()

public UpdateGatewaySecurityPolicyRuleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest

getDescriptorForType()

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

getGatewaySecurityPolicyRule()

public GatewaySecurityPolicyRule getGatewaySecurityPolicyRule()

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewaySecurityPolicyRule

The gatewaySecurityPolicyRule.

getGatewaySecurityPolicyRuleBuilder()

public GatewaySecurityPolicyRule.Builder getGatewaySecurityPolicyRuleBuilder()

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewaySecurityPolicyRule.Builder

getGatewaySecurityPolicyRuleOrBuilder()

public GatewaySecurityPolicyRuleOrBuilder getGatewaySecurityPolicyRuleOrBuilder()

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewaySecurityPolicyRuleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

.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 GatewaySecurityPolicy 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 will be overwritten.

.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 GatewaySecurityPolicy 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 will be overwritten.

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

Returns
Type Description
FieldMaskOrBuilder

hasGatewaySecurityPolicyRule()

public boolean hasGatewaySecurityPolicyRule()

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the gatewaySecurityPolicyRule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

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

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(UpdateGatewaySecurityPolicyRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGatewaySecurityPolicyRule(GatewaySecurityPolicyRule value)

public UpdateGatewaySecurityPolicyRuleRequest.Builder mergeGatewaySecurityPolicyRule(GatewaySecurityPolicyRule value)

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GatewaySecurityPolicyRule
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateGatewaySecurityPolicyRuleRequest.Builder mergeUpdateMask(FieldMask value)

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

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

setGatewaySecurityPolicyRule(GatewaySecurityPolicyRule value)

public UpdateGatewaySecurityPolicyRuleRequest.Builder setGatewaySecurityPolicyRule(GatewaySecurityPolicyRule value)

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GatewaySecurityPolicyRule
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

setGatewaySecurityPolicyRule(GatewaySecurityPolicyRule.Builder builderForValue)

public UpdateGatewaySecurityPolicyRuleRequest.Builder setGatewaySecurityPolicyRule(GatewaySecurityPolicyRule.Builder builderForValue)

Required. Updated GatewaySecurityPolicyRule resource.

.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GatewaySecurityPolicyRule.Builder
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

setUpdateMask(FieldMask value)

public UpdateGatewaySecurityPolicyRuleRequest.Builder setUpdateMask(FieldMask value)

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

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGatewaySecurityPolicyRuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGatewaySecurityPolicyRuleRequest.Builder