Class NetworkMountPoint.Builder (0.42.0)

public static final class NetworkMountPoint.Builder extends GeneratedMessageV3.Builder<NetworkMountPoint.Builder> implements NetworkMountPointOrBuilder

Mount point for a network.

Protobuf type google.cloud.baremetalsolution.v2.NetworkMountPoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkMountPoint build()
Returns
Type Description
NetworkMountPoint

buildPartial()

public NetworkMountPoint buildPartial()
Returns
Type Description
NetworkMountPoint

clear()

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

clearDefaultGateway()

public NetworkMountPoint.Builder clearDefaultGateway()

Network should be a default gateway.

bool default_gateway = 3;

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public NetworkMountPoint.Builder clearInstance()

Instance to attach network to.

string instance = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

clearIpAddress()

public NetworkMountPoint.Builder clearIpAddress()

Ip address of the server.

string ip_address = 4;

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

clearLogicalInterface()

public NetworkMountPoint.Builder clearLogicalInterface()

Logical interface to detach from.

string logical_interface = 2;

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultGateway()

public boolean getDefaultGateway()

Network should be a default gateway.

bool default_gateway = 3;

Returns
Type Description
boolean

The defaultGateway.

getDefaultInstanceForType()

public NetworkMountPoint getDefaultInstanceForType()
Returns
Type Description
NetworkMountPoint

getDescriptorForType()

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

getInstance()

public String getInstance()

Instance to attach network to.

string instance = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Instance to attach network to.

string instance = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for instance.

getIpAddress()

public String getIpAddress()

Ip address of the server.

string ip_address = 4;

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

Ip address of the server.

string ip_address = 4;

Returns
Type Description
ByteString

The bytes for ipAddress.

getLogicalInterface()

public String getLogicalInterface()

Logical interface to detach from.

string logical_interface = 2;

Returns
Type Description
String

The logicalInterface.

getLogicalInterfaceBytes()

public ByteString getLogicalInterfaceBytes()

Logical interface to detach from.

string logical_interface = 2;

Returns
Type Description
ByteString

The bytes for logicalInterface.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkMountPoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkMountPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworkMountPoint.Builder
Overrides

setDefaultGateway(boolean value)

public NetworkMountPoint.Builder setDefaultGateway(boolean value)

Network should be a default gateway.

bool default_gateway = 3;

Parameter
Name Description
value boolean

The defaultGateway to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(String value)

public NetworkMountPoint.Builder setInstance(String value)

Instance to attach network to.

string instance = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The instance to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public NetworkMountPoint.Builder setInstanceBytes(ByteString value)

Instance to attach network to.

string instance = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

setIpAddress(String value)

public NetworkMountPoint.Builder setIpAddress(String value)

Ip address of the server.

string ip_address = 4;

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public NetworkMountPoint.Builder setIpAddressBytes(ByteString value)

Ip address of the server.

string ip_address = 4;

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

setLogicalInterface(String value)

public NetworkMountPoint.Builder setLogicalInterface(String value)

Logical interface to detach from.

string logical_interface = 2;

Parameter
Name Description
value String

The logicalInterface to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

setLogicalInterfaceBytes(ByteString value)

public NetworkMountPoint.Builder setLogicalInterfaceBytes(ByteString value)

Logical interface to detach from.

string logical_interface = 2;

Parameter
Name Description
value ByteString

The bytes for logicalInterface to set.

Returns
Type Description
NetworkMountPoint.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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