Class AppConnection.Gateway.Builder (0.47.0)

public static final class AppConnection.Gateway.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppConnection.Gateway.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AppConnection.Gateway.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public AppConnection.Gateway.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppConnection.Gateway.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public AppConnection.Gateway.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AppConnection.Gateway.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final AppConnection.Gateway.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

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.