Send feedback
Class LogicalInterface.LogicalNetworkInterface (0.3.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.2 keyboard_arrow_down
public static final class LogicalInterface . LogicalNetworkInterface extends GeneratedMessageV3 implements LogicalInterface . LogicalNetworkInterfaceOrBuilder
Each logical network interface is effectively a network and IP pair.
Protobuf type
google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface
Static Fields
public static final int DEFAULT_GATEWAY_FIELD_NUMBER
Field Value
public static final int ID_FIELD_NUMBER
Field Value
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
public static final int NETWORK_FIELD_NUMBER
Field Value
public static final int NETWORK_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static LogicalInterface . LogicalNetworkInterface getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static LogicalInterface . LogicalNetworkInterface . Builder newBuilder ()
Returns
public static LogicalInterface . LogicalNetworkInterface . Builder newBuilder ( LogicalInterface . LogicalNetworkInterface prototype )
Parameter
Returns
public static LogicalInterface . LogicalNetworkInterface parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<LogicalInterface . LogicalNetworkInterface > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public boolean getDefaultGateway ()
Whether this interface is the default gateway for the instance. Only
one interface can be the default gateway for the instance.
bool default_gateway = 3;
Returns
Type Description boolean The defaultGateway.
public LogicalInterface . LogicalNetworkInterface getDefaultInstanceForType ()
Returns
An identifier for the Network
, generated by the backend.
string id = 5;
Returns
public ByteString getIdBytes ()
An identifier for the Network
, generated by the backend.
string id = 5;
Returns
public String getIpAddress ()
IP address in the network
string ip_address = 2;
Returns
Type Description String The ipAddress.
public ByteString getIpAddressBytes ()
IP address in the network
string ip_address = 2;
Returns
public String getNetwork ()
Name of the network
string network = 1;
Returns
Type Description String The network.
public ByteString getNetworkBytes ()
Name of the network
string network = 1;
Returns
public Network . Type getNetworkType ()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Returns
public int getNetworkTypeValue ()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Returns
Type Description int The enum numeric value on the wire for networkType.
public Parser<LogicalInterface . LogicalNetworkInterface > getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public LogicalInterface . LogicalNetworkInterface . Builder newBuilderForType ()
Returns
protected LogicalInterface . LogicalNetworkInterface . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public LogicalInterface . LogicalNetworkInterface . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]