Class InternalServerConfig.PscEndpoint.Builder (0.4.0)

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

Details of PSC endpoint created by customer.

Protobuf type google.cloud.ftp.v1.InternalServerConfig.PscEndpoint

Static Methods

getDescriptor()

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

Methods

build()

public InternalServerConfig.PscEndpoint build()
Returns
Type Description
InternalServerConfig.PscEndpoint

buildPartial()

public InternalServerConfig.PscEndpoint buildPartial()
Returns
Type Description
InternalServerConfig.PscEndpoint

clear()

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

clearEndpoint()

public InternalServerConfig.PscEndpoint.Builder clearEndpoint()

Output only. This is a Resource name for Private Service Connect endpoint. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

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

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

clearNetwork()

public InternalServerConfig.PscEndpoint.Builder clearNetwork()

Output only. The consumer network. Format: projects/{project}/locations/{location}/networks/{network}

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

clearStatus()

public InternalServerConfig.PscEndpoint.Builder clearStatus()

Output only. The status of the connected endpoint.

string status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

getDefaultInstanceForType()

public InternalServerConfig.PscEndpoint getDefaultInstanceForType()
Returns
Type Description
InternalServerConfig.PscEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpoint()

public String getEndpoint()

Output only. This is a Resource name for Private Service Connect endpoint. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

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

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Output only. This is a Resource name for Private Service Connect endpoint. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

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

Returns
Type Description
ByteString

The bytes for endpoint.

getNetwork()

public String getNetwork()

Output only. The consumer network. Format: projects/{project}/locations/{location}/networks/{network}

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Output only. The consumer network. Format: projects/{project}/locations/{location}/networks/{network}

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getStatus()

public String getStatus()

Output only. The status of the connected endpoint.

string status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Output only. The status of the connected endpoint.

string status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for status.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InternalServerConfig.PscEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEndpoint(String value)

public InternalServerConfig.PscEndpoint.Builder setEndpoint(String value)

Output only. This is a Resource name for Private Service Connect endpoint. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

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

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public InternalServerConfig.PscEndpoint.Builder setEndpointBytes(ByteString value)

Output only. This is a Resource name for Private Service Connect endpoint. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

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

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

setNetwork(String value)

public InternalServerConfig.PscEndpoint.Builder setNetwork(String value)

Output only. The consumer network. Format: projects/{project}/locations/{location}/networks/{network}

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The network to set.

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public InternalServerConfig.PscEndpoint.Builder setNetworkBytes(ByteString value)

Output only. The consumer network. Format: projects/{project}/locations/{location}/networks/{network}

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

setStatus(String value)

public InternalServerConfig.PscEndpoint.Builder setStatus(String value)

Output only. The status of the connected endpoint.

string status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The status to set.

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public InternalServerConfig.PscEndpoint.Builder setStatusBytes(ByteString value)

Output only. The status of the connected endpoint.

string status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
InternalServerConfig.PscEndpoint.Builder

This builder for chaining.