Class AppConnection.Gateway.Builder (0.83.0)

public static final class AppConnection.Gateway.Builder extends GeneratedMessage.Builder<AppConnection.Gateway.Builder> implements AppConnection.GatewayOrBuilder

Gateway represents a user facing component that serves as an entrance to enable connectivity.

Protobuf type google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway

Static Methods

getDescriptor()

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

Methods

build()

public AppConnection.Gateway build()
Returns
Type Description
AppConnection.Gateway

buildPartial()

public AppConnection.Gateway buildPartial()
Returns
Type Description
AppConnection.Gateway

clear()

public AppConnection.Gateway.Builder clear()
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

clearAppGateway()

public AppConnection.Gateway.Builder clearAppGateway()

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

string app_gateway = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

clearIngressPort()

public AppConnection.Gateway.Builder clearIngressPort()

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

int32 ingress_port = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

clearType()

public AppConnection.Gateway.Builder clearType()

Required. The type of hosting used by the gateway.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

clearUri()

public AppConnection.Gateway.Builder clearUri()

Output only. Server-defined URI for this resource.

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

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

getAppGateway()

public String getAppGateway()

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

string app_gateway = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The appGateway.

getAppGatewayBytes()

public ByteString getAppGatewayBytes()

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

string app_gateway = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for appGateway.

getDefaultInstanceForType()

public AppConnection.Gateway getDefaultInstanceForType()
Returns
Type Description
AppConnection.Gateway

getDescriptorForType()

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

getIngressPort()

public int getIngressPort()

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

int32 ingress_port = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The ingressPort.

getType()

public AppConnection.Gateway.Type getType()

Required. The type of hosting used by the gateway.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Gateway.Type

The type.

getTypeValue()

public int getTypeValue()

Required. The type of hosting used by the gateway.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUri()

public String getUri()

Output only. Server-defined URI for this resource.

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Output only. Server-defined URI for this resource.

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

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppConnection.Gateway other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAppGateway(String value)

public AppConnection.Gateway.Builder setAppGateway(String value)

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

string app_gateway = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The appGateway to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

setAppGatewayBytes(ByteString value)

public AppConnection.Gateway.Builder setAppGatewayBytes(ByteString value)

Required. AppGateway name in following format: projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}

string app_gateway = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for appGateway to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

setIngressPort(int value)

public AppConnection.Gateway.Builder setIngressPort(int value)

Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.

int32 ingress_port = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The ingressPort to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

setType(AppConnection.Gateway.Type value)

public AppConnection.Gateway.Builder setType(AppConnection.Gateway.Type value)

Required. The type of hosting used by the gateway.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnection.Gateway.Type

The type to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

setTypeValue(int value)

public AppConnection.Gateway.Builder setTypeValue(int value)

Required. The type of hosting used by the gateway.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway.Type type = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

setUri(String value)

public AppConnection.Gateway.Builder setUri(String value)

Output only. Server-defined URI for this resource.

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

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.

setUriBytes(ByteString value)

public AppConnection.Gateway.Builder setUriBytes(ByteString value)

Output only. Server-defined URI for this resource.

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

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
AppConnection.Gateway.Builder

This builder for chaining.