public static final class WebServerNetworkAccessControl.AllowedIpRange.Builder extends GeneratedMessageV3.Builder<WebServerNetworkAccessControl.AllowedIpRange.Builder> implements WebServerNetworkAccessControl.AllowedIpRangeOrBuilder
Allowed IP range with user-provided description.
Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.WebServerNetworkAccessControl.AllowedIpRange
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WebServerNetworkAccessControl.AllowedIpRange build()
Returns
buildPartial()
public WebServerNetworkAccessControl.AllowedIpRange buildPartial()
Returns
clear()
public WebServerNetworkAccessControl.AllowedIpRange.Builder clear()
Returns
Overrides
clearDescription()
public WebServerNetworkAccessControl.AllowedIpRange.Builder clearDescription()
Optional. User-provided description. It must contain at most 300
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public WebServerNetworkAccessControl.AllowedIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WebServerNetworkAccessControl.AllowedIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValue()
public WebServerNetworkAccessControl.AllowedIpRange.Builder clearValue()
IP address or range, defined using CIDR notation, of requests that this
rule applies to.
Examples: 192.168.1.1
or 192.168.0.0/16
or 2001:db8::/32
or 2001:0db8:0000:0042:0000:8a2e:0370:7334
.
IP range prefixes should be properly truncated. For example,
1.2.3.4/24
should be truncated to 1.2.3.0/24
. Similarly, for IPv6,
2001:db8::1/32
should be truncated to 2001:db8::/32
.
string value = 1;
Returns
clone()
public WebServerNetworkAccessControl.AllowedIpRange.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
Optional. User-provided description. It must contain at most 300
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. User-provided description. It must contain at most 300
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getValue()
IP address or range, defined using CIDR notation, of requests that this
rule applies to.
Examples: 192.168.1.1
or 192.168.0.0/16
or 2001:db8::/32
or 2001:0db8:0000:0042:0000:8a2e:0370:7334
.
IP range prefixes should be properly truncated. For example,
1.2.3.4/24
should be truncated to 1.2.3.0/24
. Similarly, for IPv6,
2001:db8::1/32
should be truncated to 2001:db8::/32
.
string value = 1;
Returns
Type |
Description |
String |
The value.
|
getValueBytes()
public ByteString getValueBytes()
IP address or range, defined using CIDR notation, of requests that this
rule applies to.
Examples: 192.168.1.1
or 192.168.0.0/16
or 2001:db8::/32
or 2001:0db8:0000:0042:0000:8a2e:0370:7334
.
IP range prefixes should be properly truncated. For example,
1.2.3.4/24
should be truncated to 1.2.3.0/24
. Similarly, for IPv6,
2001:db8::1/32
should be truncated to 2001:db8::/32
.
string value = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WebServerNetworkAccessControl.AllowedIpRange other)
public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(WebServerNetworkAccessControl.AllowedIpRange other)
Parameter
Returns
public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebServerNetworkAccessControl.AllowedIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDescription(String value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setDescription(String value)
Optional. User-provided description. It must contain at most 300
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
String
The description to set.
|
Returns
setDescriptionBytes(ByteString value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setDescriptionBytes(ByteString value)
Optional. User-provided description. It must contain at most 300
characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
ByteString
The bytes for description to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebServerNetworkAccessControl.AllowedIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValue(String value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setValue(String value)
IP address or range, defined using CIDR notation, of requests that this
rule applies to.
Examples: 192.168.1.1
or 192.168.0.0/16
or 2001:db8::/32
or 2001:0db8:0000:0042:0000:8a2e:0370:7334
.
IP range prefixes should be properly truncated. For example,
1.2.3.4/24
should be truncated to 1.2.3.0/24
. Similarly, for IPv6,
2001:db8::1/32
should be truncated to 2001:db8::/32
.
string value = 1;
Parameter
Name |
Description |
value |
String
The value to set.
|
Returns
setValueBytes(ByteString value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setValueBytes(ByteString value)
IP address or range, defined using CIDR notation, of requests that this
rule applies to.
Examples: 192.168.1.1
or 192.168.0.0/16
or 2001:db8::/32
or 2001:0db8:0000:0042:0000:8a2e:0370:7334
.
IP range prefixes should be properly truncated. For example,
1.2.3.4/24
should be truncated to 1.2.3.0/24
. Similarly, for IPv6,
2001:db8::1/32
should be truncated to 2001:db8::/32
.
string value = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for value to set.
|
Returns