Class NetworkMountPoint (0.31.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
TypeDescription
int

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

LOGICAL_INTERFACE_FIELD_NUMBER

public static final int LOGICAL_INTERFACE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkMountPoint getDefaultInstance()
Returns
TypeDescription
NetworkMountPoint

getDescriptor()

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

newBuilder()

public static NetworkMountPoint.Builder newBuilder()
Returns
TypeDescription
NetworkMountPoint.Builder

newBuilder(NetworkMountPoint prototype)

public static NetworkMountPoint.Builder newBuilder(NetworkMountPoint prototype)
Parameter
NameDescription
prototypeNetworkMountPoint
Returns
TypeDescription
NetworkMountPoint.Builder

parseDelimitedFrom(InputStream input)

public static NetworkMountPoint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkMountPoint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkMountPoint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkMountPoint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkMountPoint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkMountPoint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkMountPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkMountPoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkMountPoint> parser()
Returns
TypeDescription
Parser<NetworkMountPoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<NetworkMountPoint> getParserForType()
Returns
TypeDescription
Parser<NetworkMountPoint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkMountPoint.Builder newBuilderForType()
Returns
TypeDescription
NetworkMountPoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkMountPoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkMountPoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkMountPoint.Builder toBuilder()
Returns
TypeDescription
NetworkMountPoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException