public static final class WebServerNetworkAccessControl.AllowedIpRange extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static WebServerNetworkAccessControl.AllowedIpRange getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilder()
newBuilder(WebServerNetworkAccessControl.AllowedIpRange prototype)
public static WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilder(WebServerNetworkAccessControl.AllowedIpRange prototype)
public static WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(InputStream input)
public static WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(CodedInputStream input)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(InputStream input)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WebServerNetworkAccessControl.AllowedIpRange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.
|
getParserForType()
public Parser<WebServerNetworkAccessControl.AllowedIpRange> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public WebServerNetworkAccessControl.AllowedIpRange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides