public sealed class NetworkEndpoint : IMessage<NetworkEndpoint>, IEquatable<NetworkEndpoint>, IDeepCloneable<NetworkEndpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud TPU v1 API class NetworkEndpoint.
A network endpoint over which a TPU worker can be reached.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eNetworkEndpoint\u003c/code\u003e class in the Cloud TPU v1 API is 2.4.0, with previous versions ranging from 1.0.0 to 2.3.0 available in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkEndpoint\u003c/code\u003e class, defined in the \u003ccode\u003eGoogle.Cloud.Tpu.V1\u003c/code\u003e namespace, represents a network endpoint that a TPU worker can connect to.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkEndpoint\u003c/code\u003e has two constructors, one empty and one accepting another \u003ccode\u003eNetworkEndpoint\u003c/code\u003e as a parameter, and two properties to set, \u003ccode\u003eIpAddress\u003c/code\u003e and \u003ccode\u003ePort\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkEndpoint\u003c/code\u003e class has inherited members from object, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud TPU v1 API - Class NetworkEndpoint (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.NetworkEndpoint)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.3.0/Google.Cloud.Tpu.V1.NetworkEndpoint)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.2.0/Google.Cloud.Tpu.V1.NetworkEndpoint)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.1.0/Google.Cloud.Tpu.V1.NetworkEndpoint)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Tpu.V1/2.0.0/Google.Cloud.Tpu.V1.NetworkEndpoint)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Tpu.V1/1.1.0/Google.Cloud.Tpu.V1.NetworkEndpoint)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Tpu.V1/1.0.0/Google.Cloud.Tpu.V1.NetworkEndpoint) \n\n public sealed class NetworkEndpoint : IMessage\u003cNetworkEndpoint\u003e, IEquatable\u003cNetworkEndpoint\u003e, IDeepCloneable\u003cNetworkEndpoint\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud TPU v1 API class NetworkEndpoint.\n\nA network endpoint over which a TPU worker can be reached. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NetworkEndpoint \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NetworkEndpoint](/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.NetworkEndpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkEndpoint](/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.NetworkEndpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NetworkEndpoint](/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1.NetworkEndpoint), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Tpu.V1](/dotnet/docs/reference/Google.Cloud.Tpu.V1/latest/Google.Cloud.Tpu.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Tpu.V1.dll\n\nConstructors\n------------\n\n### NetworkEndpoint()\n\n public NetworkEndpoint()\n\n### NetworkEndpoint(NetworkEndpoint)\n\n public NetworkEndpoint(NetworkEndpoint other)\n\nProperties\n----------\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nThe IP address of this network endpoint.\n\n### Port\n\n public int Port { get; set; }\n\nThe port of this network endpoint."]]