Class AppConnection.Gateway (0.32.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
TypeDescription
int

INGRESS_PORT_FIELD_NUMBER

public static final int INGRESS_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AppConnection.Gateway getDefaultInstance()
Returns
TypeDescription
AppConnection.Gateway

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AppConnection.Gateway.Builder newBuilder()
Returns
TypeDescription
AppConnection.Gateway.Builder

newBuilder(AppConnection.Gateway prototype)

public static AppConnection.Gateway.Builder newBuilder(AppConnection.Gateway prototype)
Parameter
NameDescription
prototypeAppConnection.Gateway
Returns
TypeDescription
AppConnection.Gateway.Builder

parseDelimitedFrom(InputStream input)

public static AppConnection.Gateway parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AppConnection.Gateway parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppConnection.Gateway parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppConnection.Gateway parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AppConnection.Gateway parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AppConnection.Gateway parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppConnection.Gateway parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppConnection.Gateway
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for appGateway.

getDefaultInstanceForType()

public AppConnection.Gateway getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
int

The ingressPort.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AppConnection.Gateway.Builder newBuilderForType()
Returns
TypeDescription
AppConnection.Gateway.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppConnection.Gateway.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AppConnection.Gateway.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AppConnection.Gateway.Builder toBuilder()
Returns
TypeDescription
AppConnection.Gateway.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException