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.v1.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WebServerNetworkAccessControl.AllowedIpRange build()
buildPartial()
public WebServerNetworkAccessControl.AllowedIpRange buildPartial()
clear()
public WebServerNetworkAccessControl.AllowedIpRange.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public WebServerNetworkAccessControl.AllowedIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WebServerNetworkAccessControl.AllowedIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public WebServerNetworkAccessControl.AllowedIpRange.Builder clone()
Overrides
getDefaultInstanceForType()
public WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType()
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()
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 |
Type |
Description |
ByteString |
The bytes for value.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WebServerNetworkAccessControl.AllowedIpRange other)
public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(WebServerNetworkAccessControl.AllowedIpRange other)
public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebServerNetworkAccessControl.AllowedIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebServerNetworkAccessControl.AllowedIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WebServerNetworkAccessControl.AllowedIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|