Class NetworkMountPoint (0.52.0)

public final class NetworkMountPoint extends GeneratedMessageV3 implements NetworkMountPointOrBuilder

Mount point for a network.

Protobuf type google.cloud.baremetalsolution.v2.NetworkMountPoint

Static Fields

DEFAULT_GATEWAY_FIELD_NUMBER

public static final int DEFAULT_GATEWAY_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

LOGICAL_INTERFACE_FIELD_NUMBER

public static final int LOGICAL_INTERFACE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkMountPoint getDefaultInstance()
Returns
Type Description
NetworkMountPoint

getDescriptor()

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

newBuilder()

public static NetworkMountPoint.Builder newBuilder()
Returns
Type Description
NetworkMountPoint.Builder

newBuilder(NetworkMountPoint prototype)

public static NetworkMountPoint.Builder newBuilder(NetworkMountPoint prototype)
Parameter
Name Description
prototype NetworkMountPoint
Returns
Type Description
NetworkMountPoint.Builder

parseDelimitedFrom(InputStream input)

public static NetworkMountPoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkMountPoint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkMountPoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkMountPoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkMountPoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkMountPoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkMountPoint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkMountPoint> parser()
Returns
Type Description
Parser<NetworkMountPoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<NetworkMountPoint> getParserForType()
Returns
Type Description
Parser<NetworkMountPoint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkMountPoint.Builder newBuilderForType()
Returns
Type Description
NetworkMountPoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkMountPoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkMountPoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkMountPoint.Builder toBuilder()
Returns
Type Description
NetworkMountPoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException