Class WebServerNetworkAccessControl.AllowedIpRange.Builder (1.44.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WebServerNetworkAccessControl.AllowedIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WebServerNetworkAccessControl.AllowedIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WebServerNetworkAccessControl.AllowedIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
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
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WebServerNetworkAccessControl.AllowedIpRange other)

public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(WebServerNetworkAccessControl.AllowedIpRange other)
Parameter
Name Description
other WebServerNetworkAccessControl.AllowedIpRange
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WebServerNetworkAccessControl.AllowedIpRange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebServerNetworkAccessControl.AllowedIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
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
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

This builder for chaining.

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
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WebServerNetworkAccessControl.AllowedIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WebServerNetworkAccessControl.AllowedIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WebServerNetworkAccessControl.AllowedIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder
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
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

This builder for chaining.

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
Type Description
WebServerNetworkAccessControl.AllowedIpRange.Builder

This builder for chaining.