Class AppGateway.AllocatedConnection.Builder (0.83.0)

public static final class AppGateway.AllocatedConnection.Builder extends GeneratedMessage.Builder<AppGateway.AllocatedConnection.Builder> implements AppGateway.AllocatedConnectionOrBuilder

Allocated connection of the AppGateway.

Protobuf type google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection

Static Methods

getDescriptor()

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

Methods

build()

public AppGateway.AllocatedConnection build()
Returns
Type Description
AppGateway.AllocatedConnection

buildPartial()

public AppGateway.AllocatedConnection buildPartial()
Returns
Type Description
AppGateway.AllocatedConnection

clear()

public AppGateway.AllocatedConnection.Builder clear()
Returns
Type Description
AppGateway.AllocatedConnection.Builder
Overrides

clearIngressPort()

public AppGateway.AllocatedConnection.Builder clearIngressPort()

Required. The ingress port of an allocated connection

int32 ingress_port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

clearPscUri()

public AppGateway.AllocatedConnection.Builder clearPscUri()

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

getDefaultInstanceForType()

public AppGateway.AllocatedConnection getDefaultInstanceForType()
Returns
Type Description
AppGateway.AllocatedConnection

getDescriptorForType()

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

getIngressPort()

public int getIngressPort()

Required. The ingress port of an allocated connection

int32 ingress_port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The ingressPort.

getPscUri()

public String getPscUri()

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pscUri.

getPscUriBytes()

public ByteString getPscUriBytes()

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pscUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppGateway.AllocatedConnection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIngressPort(int value)

public AppGateway.AllocatedConnection.Builder setIngressPort(int value)

Required. The ingress port of an allocated connection

int32 ingress_port = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The ingressPort to set.

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

setPscUri(String value)

public AppGateway.AllocatedConnection.Builder setPscUri(String value)

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The pscUri to set.

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.

setPscUriBytes(ByteString value)

public AppGateway.AllocatedConnection.Builder setPscUriBytes(ByteString value)

Required. The PSC uri of an allocated connection

string psc_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for pscUri to set.

Returns
Type Description
AppGateway.AllocatedConnection.Builder

This builder for chaining.