Class AccessConfig.Builder (2.7.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.v2alpha1.AccessConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessConfig.Builder
Overrides

build()

public AccessConfig build()
Returns
TypeDescription
AccessConfig

buildPartial()

public AccessConfig buildPartial()
Returns
TypeDescription
AccessConfig

clear()

public AccessConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
AccessConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AccessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccessConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccessConfig.Builder
Overrides

clone()

public AccessConfig.Builder clone()
Returns
TypeDescription
AccessConfig.Builder
Overrides

getDefaultInstanceForType()

public AccessConfig getDefaultInstanceForType()
Returns
TypeDescription
AccessConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for externalIp.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AccessConfig other)

public AccessConfig.Builder mergeFrom(AccessConfig other)
Parameter
NameDescription
otherAccessConfig
Returns
TypeDescription
AccessConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccessConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccessConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The externalIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for externalIp to set.

Returns
TypeDescription
AccessConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AccessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessConfig.Builder
Overrides

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

public AccessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessConfig.Builder
Overrides