Package com.google.cloud.tpu.v2
Interface NetworkEndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpoint,NetworkEndpoint.Builder
@Generated
public interface NetworkEndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe access config for the TPU worker.The access config for the TPU worker.The internal IP address of this network endpoint.com.google.protobuf.ByteStringThe internal IP address of this network endpoint.intgetPort()The port of this network endpoint.booleanThe access config for the TPU worker.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v2.AccessConfig access_config = 5;- Returns:
- Whether the accessConfig field is set.
-
getAccessConfig
AccessConfig getAccessConfig()The access config for the TPU worker.
.google.cloud.tpu.v2.AccessConfig access_config = 5;- Returns:
- The accessConfig.
-
getAccessConfigOrBuilder
AccessConfigOrBuilder getAccessConfigOrBuilder()The access config for the TPU worker.
.google.cloud.tpu.v2.AccessConfig access_config = 5;
-