Class AppConnection.ApplicationEndpoint (0.39.0)

public static final class AppConnection.ApplicationEndpoint extends GeneratedMessageV3 implements AppConnection.ApplicationEndpointOrBuilder

ApplicationEndpoint represents a remote application endpoint.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppConnection.ApplicationEndpoint

Static Fields

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(AppConnection.ApplicationEndpoint prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AppConnection.ApplicationEndpoint getDefaultInstanceForType()
Returns
TypeDescription
AppConnection.ApplicationEndpoint

getHost()

public String getHost()

Required. Hostname or IP address of the remote application endpoint.

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

Returns
TypeDescription
String

The host.

getHostBytes()

public ByteString getHostBytes()

Required. Hostname or IP address of the remote application endpoint.

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

Returns
TypeDescription
ByteString

The bytes for host.

getParserForType()

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

getPort()

public int getPort()

Required. Port of the remote application endpoint.

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

Returns
TypeDescription
int

The port.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.ApplicationEndpoint.Builder newBuilderForType()
Returns
TypeDescription
AppConnection.ApplicationEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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