public static final class UpdateGatewaySecurityPolicyRequest.Builder extends GeneratedMessage.Builder<UpdateGatewaySecurityPolicyRequest.Builder> implements UpdateGatewaySecurityPolicyRequestOrBuilderRequest used by the UpdateGatewaySecurityPolicy method.
Protobuf type google.cloud.networksecurity.v1.UpdateGatewaySecurityPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateGatewaySecurityPolicyRequest.BuilderImplements
UpdateGatewaySecurityPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateGatewaySecurityPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest |
|
buildPartial()
public UpdateGatewaySecurityPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest |
|
clear()
public UpdateGatewaySecurityPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
clearGatewaySecurityPolicy()
public UpdateGatewaySecurityPolicyRequest.Builder clearGatewaySecurityPolicy()Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
clearUpdateMask()
public UpdateGatewaySecurityPolicyRequest.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 |
UpdateGatewaySecurityPolicyRequest.Builder |
|
getDefaultInstanceForType()
public UpdateGatewaySecurityPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGatewaySecurityPolicy()
public GatewaySecurityPolicy getGatewaySecurityPolicy()Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicy |
The gatewaySecurityPolicy. |
getGatewaySecurityPolicyBuilder()
public GatewaySecurityPolicy.Builder getGatewaySecurityPolicyBuilder()Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicy.Builder |
|
getGatewaySecurityPolicyOrBuilder()
public GatewaySecurityPolicyOrBuilder getGatewaySecurityPolicyOrBuilder()Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyOrBuilder |
|
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 |
|
hasGatewaySecurityPolicy()
public boolean hasGatewaySecurityPolicy()Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gatewaySecurityPolicy 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateGatewaySecurityPolicyRequest other)
public UpdateGatewaySecurityPolicyRequest.Builder mergeFrom(UpdateGatewaySecurityPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateGatewaySecurityPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateGatewaySecurityPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateGatewaySecurityPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
mergeGatewaySecurityPolicy(GatewaySecurityPolicy value)
public UpdateGatewaySecurityPolicyRequest.Builder mergeGatewaySecurityPolicy(GatewaySecurityPolicy value)Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GatewaySecurityPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateGatewaySecurityPolicyRequest.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 |
UpdateGatewaySecurityPolicyRequest.Builder |
|
setGatewaySecurityPolicy(GatewaySecurityPolicy value)
public UpdateGatewaySecurityPolicyRequest.Builder setGatewaySecurityPolicy(GatewaySecurityPolicy value)Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GatewaySecurityPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
setGatewaySecurityPolicy(GatewaySecurityPolicy.Builder builderForValue)
public UpdateGatewaySecurityPolicyRequest.Builder setGatewaySecurityPolicy(GatewaySecurityPolicy.Builder builderForValue)Required. Updated GatewaySecurityPolicy resource.
.google.cloud.networksecurity.v1.GatewaySecurityPolicy gateway_security_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GatewaySecurityPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateGatewaySecurityPolicyRequest.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 |
UpdateGatewaySecurityPolicyRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGatewaySecurityPolicyRequest.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 |
UpdateGatewaySecurityPolicyRequest.Builder |
|