public static final class NetworkEndpoint.Builder extends GeneratedMessageV3.Builder<NetworkEndpoint.Builder> implements NetworkEndpointOrBuilder
A network endpoint over which a TPU worker can be reached.
Protobuf type google.cloud.tpu.v1.NetworkEndpoint
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NetworkEndpoint build()
Returns
buildPartial()
public NetworkEndpoint buildPartial()
Returns
clear()
public NetworkEndpoint.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIpAddress()
public NetworkEndpoint.Builder clearIpAddress()
The IP address of this network endpoint.
string ip_address = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPort()
public NetworkEndpoint.Builder clearPort()
The port of this network endpoint.
int32 port = 2;
Returns
clone()
public NetworkEndpoint.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NetworkEndpoint getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIpAddress()
public String getIpAddress()
The IP address of this network endpoint.
string ip_address = 1;
Returns
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
The IP address of this network endpoint.
string ip_address = 1;
Returns
getPort()
The port of this network endpoint.
int32 port = 2;
Returns
Type | Description |
int | The port.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NetworkEndpoint other)
public NetworkEndpoint.Builder mergeFrom(NetworkEndpoint other)
Parameter
Returns
public NetworkEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NetworkEndpoint.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIpAddress(String value)
public NetworkEndpoint.Builder setIpAddress(String value)
The IP address of this network endpoint.
string ip_address = 1;
Parameter
Name | Description |
value | String
The ipAddress to set.
|
Returns
setIpAddressBytes(ByteString value)
public NetworkEndpoint.Builder setIpAddressBytes(ByteString value)
The IP address of this network endpoint.
string ip_address = 1;
Parameter
Name | Description |
value | ByteString
The bytes for ipAddress to set.
|
Returns
setPort(int value)
public NetworkEndpoint.Builder setPort(int value)
The port of this network endpoint.
int32 port = 2;
Parameter
Name | Description |
value | int
The port to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides