Package com.google.cloud.tpu.v2alpha1
Interface NetworkEndpointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpoint
,NetworkEndpoint.Builder
public interface NetworkEndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessConfig
getAccessConfig()
The access config for the TPU worker.AccessConfigOrBuilder
getAccessConfigOrBuilder()
The access config for the TPU worker.String
getIpAddress()
The internal IP address of this network endpoint.com.google.protobuf.ByteString
getIpAddressBytes()
The internal IP address of this network endpoint.int
getPort()
The port of this network endpoint.boolean
hasAccessConfig()
The access config for the TPU worker.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getIpAddress
String getIpAddress()
The internal IP address of this network endpoint.
string ip_address = 1;
- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
The internal IP address of this network endpoint.
string ip_address = 1;
- Returns:
- The bytes for ipAddress.
-
getPort
int getPort()
The port of this network endpoint.
int32 port = 2;
- Returns:
- The port.
-
hasAccessConfig
boolean hasAccessConfig()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
- Returns:
- Whether the accessConfig field is set.
-
getAccessConfig
AccessConfig getAccessConfig()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
- Returns:
- The accessConfig.
-
getAccessConfigOrBuilder
AccessConfigOrBuilder getAccessConfigOrBuilder()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
-
-