Class AppConnection.Gateway (0.50.0)

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

APP_GATEWAY_FIELD_NUMBER

public static final int APP_GATEWAY_FIELD_NUMBER
Field Value
Type Description
int

INGRESS_PORT_FIELD_NUMBER

public static final int INGRESS_PORT_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppConnection.Gateway getDefaultInstance()
Returns
Type Description
AppConnection.Gateway

getDescriptor()

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

newBuilder()

public static AppConnection.Gateway.Builder newBuilder()
Returns
Type Description
AppConnection.Gateway.Builder

newBuilder(AppConnection.Gateway prototype)

public static AppConnection.Gateway.Builder newBuilder(AppConnection.Gateway prototype)
Parameter
Name Description
prototype AppConnection.Gateway
Returns
Type Description
AppConnection.Gateway.Builder

parseDelimitedFrom(InputStream input)

public static AppConnection.Gateway parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AppConnection.Gateway parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppConnection.Gateway parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppConnection.Gateway parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AppConnection.Gateway parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AppConnection.Gateway parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppConnection.Gateway
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AppConnection.Gateway> parser()
Returns
Type Description
Parser<Gateway>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<AppConnection.Gateway> getParserForType()
Returns
Type Description
Parser<Gateway>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AppConnection.Gateway.Builder newBuilderForType()
Returns
Type Description
AppConnection.Gateway.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppConnection.Gateway.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AppConnection.Gateway.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AppConnection.Gateway.Builder toBuilder()
Returns
Type Description
AppConnection.Gateway.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException