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