Class ExternalServerConfig (0.4.0)

public final class ExternalServerConfig extends GeneratedMessage implements ExternalServerConfigOrBuilder

Configuration for external server.

Protobuf type google.cloud.ftp.v1.ExternalServerConfig

Static Fields

ALLOWED_CIDR_BLOCKS_FIELD_NUMBER

public static final int ALLOWED_CIDR_BLOCKS_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExternalServerConfig getDefaultInstance()
Returns
Type Description
ExternalServerConfig

getDescriptor()

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

newBuilder()

public static ExternalServerConfig.Builder newBuilder()
Returns
Type Description
ExternalServerConfig.Builder

newBuilder(ExternalServerConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static ExternalServerConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExternalServerConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ExternalServerConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExternalServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ExternalServerConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExternalServerConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ExternalServerConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExternalServerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ExternalServerConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExternalServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExternalServerConfig> parser()
Returns
Type Description
Parser<ExternalServerConfig>

Methods

equals(Object obj)

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

getAllowedCidrBlocks(int index)

public String getAllowedCidrBlocks(int index)

Optional. List of CIDR blocks that are allowed to access the Server. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

repeated string allowed_cidr_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedCidrBlocks at the given index.

getAllowedCidrBlocksBytes(int index)

public ByteString getAllowedCidrBlocksBytes(int index)

Optional. List of CIDR blocks that are allowed to access the Server. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

repeated string allowed_cidr_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedCidrBlocks at the given index.

getAllowedCidrBlocksCount()

public int getAllowedCidrBlocksCount()

Optional. List of CIDR blocks that are allowed to access the Server. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

repeated string allowed_cidr_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedCidrBlocks.

getAllowedCidrBlocksList()

public ProtocolStringList getAllowedCidrBlocksList()

Optional. List of CIDR blocks that are allowed to access the Server. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). For now, only IPV4 addresses are supported. Examples: "203.0.113.0/24" - matches with the IP addresses in the range 203.0.113.0 - 203.0.113.255. "0.0.0.0/0" - matches against any IP address. This field must contain at least one entry if the access type is EXTERNAL. The number of allowed CIDR blocks cannot exceed 500. Example: 192.168.0.0/16

repeated string allowed_cidr_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedCidrBlocks.

getDefaultInstanceForType()

public ExternalServerConfig getDefaultInstanceForType()
Returns
Type Description
ExternalServerConfig

getIpAddress()

public String getIpAddress()

Output only. IP address of the LB via which clients will connect.

string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

Output only. IP address of the LB via which clients will connect.

string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipAddress.

getParserForType()

public Parser<ExternalServerConfig> getParserForType()
Returns
Type Description
Parser<ExternalServerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExternalServerConfig.Builder newBuilderForType()
Returns
Type Description
ExternalServerConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExternalServerConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExternalServerConfig.Builder
Overrides

toBuilder()

public ExternalServerConfig.Builder toBuilder()
Returns
Type Description
ExternalServerConfig.Builder

writeTo(CodedOutputStream output)

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