DataStream v1 API - Class HostAddress (2.11.0)

public sealed class HostAddress : IMessage<HostAddress>, IEquatable<HostAddress>, IDeepCloneable<HostAddress>, IBufferMessage, IMessage

Reference documentation and code samples for the DataStream v1 API class HostAddress.

A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.

Inheritance

object > HostAddress

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

HostAddress()

public HostAddress()

HostAddress(HostAddress)

public HostAddress(HostAddress other)
Parameter
Name Description
other HostAddress

Properties

Hostname

public string Hostname { get; set; }

Required. Hostname for the connection.

Property Value
Type Description
string

Port

public int Port { get; set; }

Optional. Port for the connection.

Property Value
Type Description
int