Class NetworkMountPoint.Builder (0.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkMountPoint build()
Returns
TypeDescription
NetworkMountPoint

buildPartial()

public NetworkMountPoint buildPartial()
Returns
TypeDescription
NetworkMountPoint

clear()

public NetworkMountPoint.Builder clear()
Returns
TypeDescription
NetworkMountPoint.Builder
Overrides

clearDefaultGateway()

public NetworkMountPoint.Builder clearDefaultGateway()

Network should be a default gateway.

bool default_gateway = 3;

Returns
TypeDescription
NetworkMountPoint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public NetworkMountPoint.Builder clearInstance()

Instance to attach network to.

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

Returns
TypeDescription
NetworkMountPoint.Builder

This builder for chaining.

clearIpAddress()

public NetworkMountPoint.Builder clearIpAddress()

Ip address of the server.

string ip_address = 4;

Returns
TypeDescription
NetworkMountPoint.Builder

This builder for chaining.

clearLogicalInterface()

public NetworkMountPoint.Builder clearLogicalInterface()

Logical interface to detach from.

string logical_interface = 2;

Returns
TypeDescription
NetworkMountPoint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultGateway()

public boolean getDefaultGateway()

Network should be a default gateway.

bool default_gateway = 3;

Returns
TypeDescription
boolean

The defaultGateway.

getDefaultInstanceForType()

public NetworkMountPoint getDefaultInstanceForType()
Returns
TypeDescription
NetworkMountPoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public String getInstance()

Instance to attach network to.

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

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Instance to attach network to.

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

Returns
TypeDescription
ByteString

The bytes for instance.

getIpAddress()

public String getIpAddress()

Ip address of the server.

string ip_address = 4;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

Ip address of the server.

string ip_address = 4;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getLogicalInterface()

public String getLogicalInterface()

Logical interface to detach from.

string logical_interface = 2;

Returns
TypeDescription
String

The logicalInterface.

getLogicalInterfaceBytes()

public ByteString getLogicalInterfaceBytes()

Logical interface to detach from.

string logical_interface = 2;

Returns
TypeDescription
ByteString

The bytes for logicalInterface.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkMountPoint other)

public NetworkMountPoint.Builder mergeFrom(NetworkMountPoint other)
Parameter
NameDescription
otherNetworkMountPoint
Returns
TypeDescription
NetworkMountPoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkMountPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkMountPoint.Builder
Overrides

setDefaultGateway(boolean value)

public NetworkMountPoint.Builder setDefaultGateway(boolean value)

Network should be a default gateway.

bool default_gateway = 3;

Parameter
NameDescription
valueboolean

The defaultGateway to set.

Returns
TypeDescription
NetworkMountPoint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkMountPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instance to set.

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

The bytes for instance to set.

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

The ipAddress to set.

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

The bytes for ipAddress to set.

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

The logicalInterface to set.

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

The bytes for logicalInterface to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkMountPoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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