Class InternalServerConfig.Builder (0.4.0)

public static final class InternalServerConfig.Builder extends GeneratedMessage.Builder<InternalServerConfig.Builder> implements InternalServerConfigOrBuilder

Configuration for private server accessible via PSC.

Protobuf type google.cloud.ftp.v1.InternalServerConfig

Static Methods

getDescriptor()

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

Methods

addAllConsumerAcceptList(Iterable<? extends InternalServerConfig.AllowedConsumer> values)

public InternalServerConfig.Builder addAllConsumerAcceptList(Iterable<? extends InternalServerConfig.AllowedConsumer> values)

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
values Iterable<? extends com.google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer>
Returns
Type Description
InternalServerConfig.Builder

addAllConsumerRejectList(Iterable<? extends InternalServerConfig.DeniedConsumer> values)

public InternalServerConfig.Builder addAllConsumerRejectList(Iterable<? extends InternalServerConfig.DeniedConsumer> values)

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
values Iterable<? extends com.google.cloud.ftp.v1.InternalServerConfig.DeniedConsumer>
Returns
Type Description
InternalServerConfig.Builder

addAllPscEndpoints(Iterable<? extends InternalServerConfig.PscEndpoint> values)

public InternalServerConfig.Builder addAllPscEndpoints(Iterable<? extends InternalServerConfig.PscEndpoint> values)

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
values Iterable<? extends com.google.cloud.ftp.v1.InternalServerConfig.PscEndpoint>
Returns
Type Description
InternalServerConfig.Builder

addConsumerAcceptList(InternalServerConfig.AllowedConsumer value)

public InternalServerConfig.Builder addConsumerAcceptList(InternalServerConfig.AllowedConsumer value)

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
value InternalServerConfig.AllowedConsumer
Returns
Type Description
InternalServerConfig.Builder

addConsumerAcceptList(InternalServerConfig.AllowedConsumer.Builder builderForValue)

public InternalServerConfig.Builder addConsumerAcceptList(InternalServerConfig.AllowedConsumer.Builder builderForValue)

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
builderForValue InternalServerConfig.AllowedConsumer.Builder
Returns
Type Description
InternalServerConfig.Builder

addConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer value)

public InternalServerConfig.Builder addConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer value)

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];

Parameters
Name Description
index int
value InternalServerConfig.AllowedConsumer
Returns
Type Description
InternalServerConfig.Builder

addConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer.Builder builderForValue)

public InternalServerConfig.Builder addConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue InternalServerConfig.AllowedConsumer.Builder
Returns
Type Description
InternalServerConfig.Builder

addConsumerAcceptListBuilder()

public InternalServerConfig.AllowedConsumer.Builder addConsumerAcceptListBuilder()

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
InternalServerConfig.AllowedConsumer.Builder

addConsumerAcceptListBuilder(int index)

public InternalServerConfig.AllowedConsumer.Builder addConsumerAcceptListBuilder(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.Builder

addConsumerRejectList(InternalServerConfig.DeniedConsumer value)

public InternalServerConfig.Builder addConsumerRejectList(InternalServerConfig.DeniedConsumer value)

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
value InternalServerConfig.DeniedConsumer
Returns
Type Description
InternalServerConfig.Builder

addConsumerRejectList(InternalServerConfig.DeniedConsumer.Builder builderForValue)

public InternalServerConfig.Builder addConsumerRejectList(InternalServerConfig.DeniedConsumer.Builder builderForValue)

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
builderForValue InternalServerConfig.DeniedConsumer.Builder
Returns
Type Description
InternalServerConfig.Builder

addConsumerRejectList(int index, InternalServerConfig.DeniedConsumer value)

public InternalServerConfig.Builder addConsumerRejectList(int index, InternalServerConfig.DeniedConsumer value)

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];

Parameters
Name Description
index int
value InternalServerConfig.DeniedConsumer
Returns
Type Description
InternalServerConfig.Builder

addConsumerRejectList(int index, InternalServerConfig.DeniedConsumer.Builder builderForValue)

public InternalServerConfig.Builder addConsumerRejectList(int index, InternalServerConfig.DeniedConsumer.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue InternalServerConfig.DeniedConsumer.Builder
Returns
Type Description
InternalServerConfig.Builder

addConsumerRejectListBuilder()

public InternalServerConfig.DeniedConsumer.Builder addConsumerRejectListBuilder()

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
InternalServerConfig.DeniedConsumer.Builder

addConsumerRejectListBuilder(int index)

public InternalServerConfig.DeniedConsumer.Builder addConsumerRejectListBuilder(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.Builder

addPscEndpoints(InternalServerConfig.PscEndpoint value)

public InternalServerConfig.Builder addPscEndpoints(InternalServerConfig.PscEndpoint value)

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
value InternalServerConfig.PscEndpoint
Returns
Type Description
InternalServerConfig.Builder

addPscEndpoints(InternalServerConfig.PscEndpoint.Builder builderForValue)

public InternalServerConfig.Builder addPscEndpoints(InternalServerConfig.PscEndpoint.Builder builderForValue)

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
builderForValue InternalServerConfig.PscEndpoint.Builder
Returns
Type Description
InternalServerConfig.Builder

addPscEndpoints(int index, InternalServerConfig.PscEndpoint value)

public InternalServerConfig.Builder addPscEndpoints(int index, InternalServerConfig.PscEndpoint value)

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];

Parameters
Name Description
index int
value InternalServerConfig.PscEndpoint
Returns
Type Description
InternalServerConfig.Builder

addPscEndpoints(int index, InternalServerConfig.PscEndpoint.Builder builderForValue)

public InternalServerConfig.Builder addPscEndpoints(int index, InternalServerConfig.PscEndpoint.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue InternalServerConfig.PscEndpoint.Builder
Returns
Type Description
InternalServerConfig.Builder

addPscEndpointsBuilder()

public InternalServerConfig.PscEndpoint.Builder addPscEndpointsBuilder()

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
InternalServerConfig.PscEndpoint.Builder

addPscEndpointsBuilder(int index)

public InternalServerConfig.PscEndpoint.Builder addPscEndpointsBuilder(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.Builder

build()

public InternalServerConfig build()
Returns
Type Description
InternalServerConfig

buildPartial()

public InternalServerConfig buildPartial()
Returns
Type Description
InternalServerConfig

clear()

public InternalServerConfig.Builder clear()
Returns
Type Description
InternalServerConfig.Builder
Overrides

clearConsumerAcceptList()

public InternalServerConfig.Builder clearConsumerAcceptList()

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
InternalServerConfig.Builder

clearConsumerRejectList()

public InternalServerConfig.Builder clearConsumerRejectList()

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
InternalServerConfig.Builder

clearPscEndpoints()

public InternalServerConfig.Builder clearPscEndpoints()

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
InternalServerConfig.Builder

clearServiceAttachment()

public InternalServerConfig.Builder clearServiceAttachment()

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
InternalServerConfig.Builder

This builder for chaining.

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

getConsumerAcceptListBuilder(int index)

public InternalServerConfig.AllowedConsumer.Builder getConsumerAcceptListBuilder(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.Builder

getConsumerAcceptListBuilderList()

public List<InternalServerConfig.AllowedConsumer.Builder> getConsumerAcceptListBuilderList()

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<Builder>

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

getConsumerRejectListBuilder(int index)

public InternalServerConfig.DeniedConsumer.Builder getConsumerRejectListBuilder(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.Builder

getConsumerRejectListBuilderList()

public List<InternalServerConfig.DeniedConsumer.Builder> getConsumerRejectListBuilderList()

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<Builder>

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

getDescriptorForType()

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

getPscEndpointsBuilder(int index)

public InternalServerConfig.PscEndpoint.Builder getPscEndpointsBuilder(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.Builder

getPscEndpointsBuilderList()

public List<InternalServerConfig.PscEndpoint.Builder> getPscEndpointsBuilderList()

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<Builder>

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>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InternalServerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeConsumerAcceptList(int index)

public InternalServerConfig.Builder removeConsumerAcceptList(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.Builder

removeConsumerRejectList(int index)

public InternalServerConfig.Builder removeConsumerRejectList(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.Builder

removePscEndpoints(int index)

public InternalServerConfig.Builder removePscEndpoints(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.Builder

setConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer value)

public InternalServerConfig.Builder setConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer value)

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];

Parameters
Name Description
index int
value InternalServerConfig.AllowedConsumer
Returns
Type Description
InternalServerConfig.Builder

setConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer.Builder builderForValue)

public InternalServerConfig.Builder setConsumerAcceptList(int index, InternalServerConfig.AllowedConsumer.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue InternalServerConfig.AllowedConsumer.Builder
Returns
Type Description
InternalServerConfig.Builder

setConsumerRejectList(int index, InternalServerConfig.DeniedConsumer value)

public InternalServerConfig.Builder setConsumerRejectList(int index, InternalServerConfig.DeniedConsumer value)

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];

Parameters
Name Description
index int
value InternalServerConfig.DeniedConsumer
Returns
Type Description
InternalServerConfig.Builder

setConsumerRejectList(int index, InternalServerConfig.DeniedConsumer.Builder builderForValue)

public InternalServerConfig.Builder setConsumerRejectList(int index, InternalServerConfig.DeniedConsumer.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue InternalServerConfig.DeniedConsumer.Builder
Returns
Type Description
InternalServerConfig.Builder

setPscEndpoints(int index, InternalServerConfig.PscEndpoint value)

public InternalServerConfig.Builder setPscEndpoints(int index, InternalServerConfig.PscEndpoint value)

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];

Parameters
Name Description
index int
value InternalServerConfig.PscEndpoint
Returns
Type Description
InternalServerConfig.Builder

setPscEndpoints(int index, InternalServerConfig.PscEndpoint.Builder builderForValue)

public InternalServerConfig.Builder setPscEndpoints(int index, InternalServerConfig.PscEndpoint.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue InternalServerConfig.PscEndpoint.Builder
Returns
Type Description
InternalServerConfig.Builder

setServiceAttachment(String value)

public InternalServerConfig.Builder setServiceAttachment(String value)

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) = { ... }

Parameter
Name Description
value String

The serviceAttachment to set.

Returns
Type Description
InternalServerConfig.Builder

This builder for chaining.

setServiceAttachmentBytes(ByteString value)

public InternalServerConfig.Builder setServiceAttachmentBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for serviceAttachment to set.

Returns
Type Description
InternalServerConfig.Builder

This builder for chaining.