Send feedback
Class LogicalInterface.LogicalNetworkInterface (0.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.34.0 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DEFAULT_GATEWAY_FIELD_NUMBER
Field Value Type Description int
public static final int ID_FIELD_NUMBER
Field Value Type Description int
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value Type Description int
public static final int NETWORK_FIELD_NUMBER
Field Value Type Description int
public static final int NETWORK_TYPE_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static LogicalInterface . LogicalNetworkInterface getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static LogicalInterface . LogicalNetworkInterface . Builder newBuilder ()
public static LogicalInterface . LogicalNetworkInterface . Builder newBuilder ( LogicalInterface . LogicalNetworkInterface prototype )
public static LogicalInterface . LogicalNetworkInterface parseDelimitedFrom ( InputStream input )
public static LogicalInterface . LogicalNetworkInterface parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static LogicalInterface . LogicalNetworkInterface parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteString data )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( CodedInputStream input )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( InputStream input )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteBuffer data )
public static LogicalInterface . LogicalNetworkInterface parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<LogicalInterface . LogicalNetworkInterface > parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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 ()
An identifier for the Network
, generated by the backend.
string id = 5;
Returns Type Description String
The id.
public ByteString getIdBytes ()
An identifier for the Network
, generated by the backend.
string id = 5;
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 Type Description ByteString
The bytes for ipAddress.
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 Type Description ByteString
The bytes for network.
public Network . Type getNetworkType ()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
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 ()
Overrides
public int getSerializedSize ()
Returns Type Description int
Overrides
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public LogicalInterface . LogicalNetworkInterface . Builder newBuilderForType ()
protected LogicalInterface . LogicalNetworkInterface . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public LogicalInterface . LogicalNetworkInterface . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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-28 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-28 UTC."],[],[]]