Class AccessConfig.Builder (2.49.0)

public static final class AccessConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessConfig.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AccessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AccessConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AccessConfig.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public AccessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AccessConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AccessConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AccessConfig.Builder
Overrides