public static final class IpOverrideData.Builder extends GeneratedMessageV3.Builder<IpOverrideData.Builder> implements IpOverrideDataOrBuilder
Information about the IP or IP range override.
Protobuf type google.cloud.recaptchaenterprise.v1.IpOverrideData
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 IpOverrideData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IpOverrideData build()
buildPartial()
public IpOverrideData buildPartial()
clear()
public IpOverrideData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public IpOverrideData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIp()
public IpOverrideData.Builder clearIp()
Required. The IP address to override (can be IPv4, IPv6 or CIDR).
The IP override must be a valid IPv4 or IPv6 address, or a CIDR range.
The IP override must be a public IP address.
Example of IPv4: 168.192.5.6
Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B
Example of IPv4 with CIDR: 168.192.5.0/24
Example of IPv6 with CIDR: 2001:0DB8🔢:/48
string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public IpOverrideData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOverrideType()
public IpOverrideData.Builder clearOverrideType()
Required. Describes the type of IP override.
.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];
clone()
public IpOverrideData.Builder clone()
Overrides
getDefaultInstanceForType()
public IpOverrideData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIp()
Required. The IP address to override (can be IPv4, IPv6 or CIDR).
The IP override must be a valid IPv4 or IPv6 address, or a CIDR range.
The IP override must be a public IP address.
Example of IPv4: 168.192.5.6
Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B
Example of IPv4 with CIDR: 168.192.5.0/24
Example of IPv6 with CIDR: 2001:0DB8🔢:/48
string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
String |
The ip.
|
getIpBytes()
public ByteString getIpBytes()
Required. The IP address to override (can be IPv4, IPv6 or CIDR).
The IP override must be a valid IPv4 or IPv6 address, or a CIDR range.
The IP override must be a public IP address.
Example of IPv4: 168.192.5.6
Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B
Example of IPv4 with CIDR: 168.192.5.0/24
Example of IPv6 with CIDR: 2001:0DB8🔢:/48
string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for ip.
|
getOverrideType()
public IpOverrideData.OverrideType getOverrideType()
Required. Describes the type of IP override.
.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];
getOverrideTypeValue()
public int getOverrideTypeValue()
Required. Describes the type of IP override.
.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for overrideType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public IpOverrideData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IpOverrideData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(IpOverrideData other)
public IpOverrideData.Builder mergeFrom(IpOverrideData other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IpOverrideData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public IpOverrideData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIp(String value)
public IpOverrideData.Builder setIp(String value)
Required. The IP address to override (can be IPv4, IPv6 or CIDR).
The IP override must be a valid IPv4 or IPv6 address, or a CIDR range.
The IP override must be a public IP address.
Example of IPv4: 168.192.5.6
Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B
Example of IPv4 with CIDR: 168.192.5.0/24
Example of IPv6 with CIDR: 2001:0DB8🔢:/48
string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter |
Name |
Description |
value |
String
The ip to set.
|
setIpBytes(ByteString value)
public IpOverrideData.Builder setIpBytes(ByteString value)
Required. The IP address to override (can be IPv4, IPv6 or CIDR).
The IP override must be a valid IPv4 or IPv6 address, or a CIDR range.
The IP override must be a public IP address.
Example of IPv4: 168.192.5.6
Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B
Example of IPv4 with CIDR: 168.192.5.0/24
Example of IPv6 with CIDR: 2001:0DB8🔢:/48
string ip = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for ip to set.
|
setOverrideType(IpOverrideData.OverrideType value)
public IpOverrideData.Builder setOverrideType(IpOverrideData.OverrideType value)
Required. Describes the type of IP override.
.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];
setOverrideTypeValue(int value)
public IpOverrideData.Builder setOverrideTypeValue(int value)
Required. Describes the type of IP override.
.google.cloud.recaptchaenterprise.v1.IpOverrideData.OverrideType override_type = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for overrideType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IpOverrideData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IpOverrideData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides