Class AccessConfig.Builder (2.84.0)

public static final class AccessConfig.Builder extends GeneratedMessage.Builder<AccessConfig.Builder> implements AccessConfigOrBuilder

An access config attached to the TPU worker.

Protobuf type google.cloud.tpu.v2.AccessConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AccessConfig build()
Returns
Type Description
AccessConfig

buildPartial()

public AccessConfig buildPartial()
Returns
Type Description
AccessConfig

clear()

public AccessConfig.Builder clear()
Returns
Type Description
AccessConfig.Builder
Overrides

clearExternalIp()

public AccessConfig.Builder clearExternalIp()

Output only. An external IP address associated with the TPU worker.

string external_ip = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public AccessConfig getDefaultInstanceForType()
Returns
Type Description
AccessConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExternalIp()

public String getExternalIp()

Output only. An external IP address associated with the TPU worker.

string external_ip = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The externalIp.

getExternalIpBytes()

public ByteString getExternalIpBytes()

Output only. An external IP address associated with the TPU worker.

string external_ip = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for externalIp.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessConfig other)

public AccessConfig.Builder mergeFrom(AccessConfig other)
Parameter
Name Description
other AccessConfig
Returns
Type Description
AccessConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AccessConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AccessConfig.Builder
Overrides

setExternalIp(String value)

public AccessConfig.Builder setExternalIp(String value)

Output only. An external IP address associated with the TPU worker.

string external_ip = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The externalIp to set.

Returns
Type Description
AccessConfig.Builder

This builder for chaining.

setExternalIpBytes(ByteString value)

public AccessConfig.Builder setExternalIpBytes(ByteString value)

Output only. An external IP address associated with the TPU worker.

string external_ip = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for externalIp to set.

Returns
Type Description
AccessConfig.Builder

This builder for chaining.