public static final class UpdateFirewallPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateFirewallPolicyRequest.Builder> implements UpdateFirewallPolicyRequestOrBuilder
The update firewall policy request message.
Protobuf type google.cloud.recaptchaenterprise.v1.UpdateFirewallPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 UpdateFirewallPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateFirewallPolicyRequest build()
buildPartial()
public UpdateFirewallPolicyRequest buildPartial()
clear()
public UpdateFirewallPolicyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateFirewallPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFirewallPolicy()
public UpdateFirewallPolicyRequest.Builder clearFirewallPolicy()
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateFirewallPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateFirewallPolicyRequest.Builder clearUpdateMask()
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateFirewallPolicyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateFirewallPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFirewallPolicy()
public FirewallPolicy getFirewallPolicy()
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getFirewallPolicyBuilder()
public FirewallPolicy.Builder getFirewallPolicyBuilder()
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getFirewallPolicyOrBuilder()
public FirewallPolicyOrBuilder getFirewallPolicyOrBuilder()
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasFirewallPolicy()
public boolean hasFirewallPolicy()
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the firewallPolicy field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.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
mergeFirewallPolicy(FirewallPolicy value)
public UpdateFirewallPolicyRequest.Builder mergeFirewallPolicy(FirewallPolicy value)
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateFirewallPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateFirewallPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(UpdateFirewallPolicyRequest other)
public UpdateFirewallPolicyRequest.Builder mergeFrom(UpdateFirewallPolicyRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFirewallPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateFirewallPolicyRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFirewallPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFirewallPolicy(FirewallPolicy value)
public UpdateFirewallPolicyRequest.Builder setFirewallPolicy(FirewallPolicy value)
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
setFirewallPolicy(FirewallPolicy.Builder builderForValue)
public UpdateFirewallPolicyRequest.Builder setFirewallPolicy(FirewallPolicy.Builder builderForValue)
Required. The policy to update.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFirewallPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFirewallPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateFirewallPolicyRequest.Builder setUpdateMask(FieldMask value)
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateFirewallPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The mask to control which fields of the policy get updated. If
the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
builderForValue | Builder
|