Class InternalServerConfig (0.4.0)

public final class InternalServerConfig extends GeneratedMessage implements InternalServerConfigOrBuilder

Configuration for private server accessible via PSC.

Protobuf type google.cloud.ftp.v1.InternalServerConfig

Static Fields

CONSUMER_ACCEPT_LIST_FIELD_NUMBER

public static final int CONSUMER_ACCEPT_LIST_FIELD_NUMBER
Field Value
Type Description
int

CONSUMER_REJECT_LIST_FIELD_NUMBER

public static final int CONSUMER_REJECT_LIST_FIELD_NUMBER
Field Value
Type Description
int

PSC_ENDPOINTS_FIELD_NUMBER

public static final int PSC_ENDPOINTS_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ATTACHMENT_FIELD_NUMBER

public static final int SERVICE_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InternalServerConfig getDefaultInstance()
Returns
Type Description
InternalServerConfig

getDescriptor()

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

newBuilder()

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

newBuilder(InternalServerConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConsumerAcceptList(int index)

public InternalServerConfig.AllowedConsumer getConsumerAcceptList(int index)

Required. A list of projects that are permitted to connect. At least one project is required in the allow list.

repeated .google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer consumer_accept_list = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
InternalServerConfig.AllowedConsumer

getConsumerAcceptListCount()

public int getConsumerAcceptListCount()

Required. A list of projects that are permitted to connect. At least one project is required in the allow list.

repeated .google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer consumer_accept_list = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getConsumerAcceptListList()

public List<InternalServerConfig.AllowedConsumer> getConsumerAcceptListList()

Required. A list of projects that are permitted to connect. At least one project is required in the allow list.

repeated .google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer consumer_accept_list = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<AllowedConsumer>

getConsumerAcceptListOrBuilder(int index)

public InternalServerConfig.AllowedConsumerOrBuilder getConsumerAcceptListOrBuilder(int index)

Required. A list of projects that are permitted to connect. At least one project is required in the allow list.

repeated .google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer consumer_accept_list = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
InternalServerConfig.AllowedConsumerOrBuilder

getConsumerAcceptListOrBuilderList()

public List<? extends InternalServerConfig.AllowedConsumerOrBuilder> getConsumerAcceptListOrBuilderList()

Required. A list of projects that are permitted to connect. At least one project is required in the allow list.

repeated .google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer consumer_accept_list = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.ftp.v1.InternalServerConfig.AllowedConsumerOrBuilder>

getConsumerRejectList(int index)

public InternalServerConfig.DeniedConsumer getConsumerRejectList(int index)

Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

repeated .google.cloud.ftp.v1.InternalServerConfig.DeniedConsumer consumer_reject_list = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
InternalServerConfig.DeniedConsumer

getConsumerRejectListCount()

public int getConsumerRejectListCount()

Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

repeated .google.cloud.ftp.v1.InternalServerConfig.DeniedConsumer consumer_reject_list = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getConsumerRejectListList()

public List<InternalServerConfig.DeniedConsumer> getConsumerRejectListList()

Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

repeated .google.cloud.ftp.v1.InternalServerConfig.DeniedConsumer consumer_reject_list = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<DeniedConsumer>

getConsumerRejectListOrBuilder(int index)

public InternalServerConfig.DeniedConsumerOrBuilder getConsumerRejectListOrBuilder(int index)

Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

repeated .google.cloud.ftp.v1.InternalServerConfig.DeniedConsumer consumer_reject_list = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
InternalServerConfig.DeniedConsumerOrBuilder

getConsumerRejectListOrBuilderList()

public List<? extends InternalServerConfig.DeniedConsumerOrBuilder> getConsumerRejectListOrBuilderList()

Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

repeated .google.cloud.ftp.v1.InternalServerConfig.DeniedConsumer consumer_reject_list = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ftp.v1.InternalServerConfig.DeniedConsumerOrBuilder>

getDefaultInstanceForType()

public InternalServerConfig getDefaultInstanceForType()
Returns
Type Description
InternalServerConfig

getParserForType()

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

getPscEndpoints(int index)

public InternalServerConfig.PscEndpoint getPscEndpoints(int index)

Output only. Details of endpoints created by the customer.

repeated .google.cloud.ftp.v1.InternalServerConfig.PscEndpoint psc_endpoints = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
InternalServerConfig.PscEndpoint

getPscEndpointsCount()

public int getPscEndpointsCount()

Output only. Details of endpoints created by the customer.

repeated .google.cloud.ftp.v1.InternalServerConfig.PscEndpoint psc_endpoints = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPscEndpointsList()

public List<InternalServerConfig.PscEndpoint> getPscEndpointsList()

Output only. Details of endpoints created by the customer.

repeated .google.cloud.ftp.v1.InternalServerConfig.PscEndpoint psc_endpoints = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<PscEndpoint>

getPscEndpointsOrBuilder(int index)

public InternalServerConfig.PscEndpointOrBuilder getPscEndpointsOrBuilder(int index)

Output only. Details of endpoints created by the customer.

repeated .google.cloud.ftp.v1.InternalServerConfig.PscEndpoint psc_endpoints = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
InternalServerConfig.PscEndpointOrBuilder

getPscEndpointsOrBuilderList()

public List<? extends InternalServerConfig.PscEndpointOrBuilder> getPscEndpointsOrBuilderList()

Output only. Details of endpoints created by the customer.

repeated .google.cloud.ftp.v1.InternalServerConfig.PscEndpoint psc_endpoints = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.ftp.v1.InternalServerConfig.PscEndpointOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAttachment()

public String getServiceAttachment()

Output only. The resource name of the service attachment. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}

string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The serviceAttachment.

getServiceAttachmentBytes()

public ByteString getServiceAttachmentBytes()

Output only. The resource name of the service attachment. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}

string service_attachment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for serviceAttachment.

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 InternalServerConfig.Builder newBuilderForType()
Returns
Type Description
InternalServerConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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