Class WebServerNetworkAccessControl.AllowedIpRange (1.19.0)

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.v1beta1.WebServerNetworkAccessControl.AllowedIpRange

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WebServerNetworkAccessControl.AllowedIpRange

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()
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilder()
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

newBuilder(WebServerNetworkAccessControl.AllowedIpRange prototype)

public static WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilder(WebServerNetworkAccessControl.AllowedIpRange prototype)
Parameter
Name Description
prototype WebServerNetworkAccessControl.AllowedIpRange
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

parseDelimitedFrom(InputStream input)

public static WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WebServerNetworkAccessControl.AllowedIpRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WebServerNetworkAccessControl.AllowedIpRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WebServerNetworkAccessControl.AllowedIpRange> parser()
Returns
Type Description
Parser<AllowedIpRange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WebServerNetworkAccessControl.AllowedIpRange getDefaultInstanceForType()
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange

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
Type Description
Parser<AllowedIpRange>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public String 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilderForType()
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WebServerNetworkAccessControl.AllowedIpRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WebServerNetworkAccessControl.AllowedIpRange.Builder toBuilder()
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException