public static final class NetworkEndpoint.Builder extends GeneratedMessage.Builder<NetworkEndpoint.Builder> implements NetworkEndpointOrBuilderA network endpoint over which a TPU worker can be reached.
Protobuf type google.cloud.tpu.v2alpha1.NetworkEndpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NetworkEndpoint.BuilderImplements
NetworkEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NetworkEndpoint build()| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint |
|
buildPartial()
public NetworkEndpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint |
|
clear()
public NetworkEndpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
clearAccessConfig()
public NetworkEndpoint.Builder clearAccessConfig()The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
clearIpAddress()
public NetworkEndpoint.Builder clearIpAddress()The internal IP address of this network endpoint.
string ip_address = 1;
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
This builder for chaining. |
clearPort()
public NetworkEndpoint.Builder clearPort()The port of this network endpoint.
int32 port = 2;
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
This builder for chaining. |
getAccessConfig()
public AccessConfig getAccessConfig()The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Returns | |
|---|---|
| Type | Description |
AccessConfig |
The accessConfig. |
getAccessConfigBuilder()
public AccessConfig.Builder getAccessConfigBuilder()The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Returns | |
|---|---|
| Type | Description |
AccessConfig.Builder |
|
getAccessConfigOrBuilder()
public AccessConfigOrBuilder getAccessConfigOrBuilder()The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Returns | |
|---|---|
| Type | Description |
AccessConfigOrBuilder |
|
getDefaultInstanceForType()
public NetworkEndpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIpAddress()
public String getIpAddress()The internal IP address of this network endpoint.
string ip_address = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()The internal IP address of this network endpoint.
string ip_address = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipAddress. |
getPort()
public int getPort()The port of this network endpoint.
int32 port = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
hasAccessConfig()
public boolean hasAccessConfig()The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the accessConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAccessConfig(AccessConfig value)
public NetworkEndpoint.Builder mergeAccessConfig(AccessConfig value)The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
AccessConfig |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
mergeFrom(NetworkEndpoint other)
public NetworkEndpoint.Builder mergeFrom(NetworkEndpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
NetworkEndpoint |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NetworkEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
setAccessConfig(AccessConfig value)
public NetworkEndpoint.Builder setAccessConfig(AccessConfig value)The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
AccessConfig |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
setAccessConfig(AccessConfig.Builder builderForValue)
public NetworkEndpoint.Builder setAccessConfig(AccessConfig.Builder builderForValue)The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AccessConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
|
setIpAddress(String value)
public NetworkEndpoint.Builder setIpAddress(String value)The internal IP address of this network endpoint.
string ip_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public NetworkEndpoint.Builder setIpAddressBytes(ByteString value)The internal IP address of this network endpoint.
string ip_address = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
This builder for chaining. |
setPort(int value)
public NetworkEndpoint.Builder setPort(int value)The port of this network endpoint.
int32 port = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpoint.Builder |
This builder for chaining. |