public static final class CreateFirewallPolicyRequest.Builder extends GeneratedMessageV3.Builder<CreateFirewallPolicyRequest.Builder> implements CreateFirewallPolicyRequestOrBuilder
The create firewall policy request message.
Protobuf type google.cloud.recaptchaenterprise.v1.CreateFirewallPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateFirewallPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateFirewallPolicyRequest build()
buildPartial()
public CreateFirewallPolicyRequest buildPartial()
clear()
public CreateFirewallPolicyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateFirewallPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFirewallPolicy()
public CreateFirewallPolicyRequest.Builder clearFirewallPolicy()
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateFirewallPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateFirewallPolicyRequest.Builder clearParent()
Required. The name of the project this policy will apply to, in the format
projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateFirewallPolicyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateFirewallPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFirewallPolicy()
public FirewallPolicy getFirewallPolicy()
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
getFirewallPolicyBuilder()
public FirewallPolicy.Builder getFirewallPolicyBuilder()
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
getFirewallPolicyOrBuilder()
public FirewallPolicyOrBuilder getFirewallPolicyOrBuilder()
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The name of the project this policy will apply to, in the format
projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the project this policy will apply to, in the format
projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasFirewallPolicy()
public boolean hasFirewallPolicy()
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the firewallPolicy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFirewallPolicy(FirewallPolicy value)
public CreateFirewallPolicyRequest.Builder mergeFirewallPolicy(FirewallPolicy value)
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateFirewallPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateFirewallPolicyRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(CreateFirewallPolicyRequest other)
public CreateFirewallPolicyRequest.Builder mergeFrom(CreateFirewallPolicyRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateFirewallPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateFirewallPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFirewallPolicy(FirewallPolicy value)
public CreateFirewallPolicyRequest.Builder setFirewallPolicy(FirewallPolicy value)
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
setFirewallPolicy(FirewallPolicy.Builder builderForValue)
public CreateFirewallPolicyRequest.Builder setFirewallPolicy(FirewallPolicy.Builder builderForValue)
Required. Information to create the policy.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 2 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public CreateFirewallPolicyRequest.Builder setParent(String value)
Required. The name of the project this policy will apply to, in the format
projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateFirewallPolicyRequest.Builder setParentBytes(ByteString value)
Required. The name of the project this policy will apply to, in the format
projects/{project}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateFirewallPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateFirewallPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides