public sealed class HostAddress : IMessage<HostAddress>, IEquatable<HostAddress>, IDeepCloneable<HostAddress>, IBufferMessage, IMessageReference 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.
Implements
IMessageHostAddress, IEquatableHostAddress, IDeepCloneableHostAddress, IBufferMessage, IMessageNamespace
Google.Cloud.Datastream.V1Assembly
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 |
|