Send feedback
Class NetworkConfig (0.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.24.0keyboard_arrow_down
public final class NetworkConfig extends GeneratedMessageV3 implements NetworkConfigOrBuilder
Configuration parameters for a new network.
Protobuf type google.cloud.baremetalsolution.v2.NetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int BANDWIDTH_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CIDR_FIELD_NUMBER
Field Value
Type
Description
int
public static final int GCP_SERVICE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int JUMBO_FRAMES_ENABLED_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SERVICE_CIDR_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int USER_NOTE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VLAN_ATTACHMENTS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VLAN_SAME_PROJECT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static NetworkConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static NetworkConfig . Builder newBuilder ()
public static NetworkConfig . Builder newBuilder ( NetworkConfig prototype )
public static NetworkConfig parseDelimitedFrom ( InputStream input )
public static NetworkConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NetworkConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static NetworkConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static NetworkConfig parseFrom ( ByteString data )
public static NetworkConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NetworkConfig parseFrom ( CodedInputStream input )
public static NetworkConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NetworkConfig parseFrom ( InputStream input )
public static NetworkConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NetworkConfig parseFrom ( ByteBuffer data )
public static NetworkConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<NetworkConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public NetworkConfig . Bandwidth getBandwidth ()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
public int getBandwidthValue ()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
Returns
Type
Description
int
The enum numeric value on the wire for bandwidth.
CIDR range of the network.
string cidr = 6;
Returns
Type
Description
String
The cidr.
public ByteString getCidrBytes ()
CIDR range of the network.
string cidr = 6;
Returns
Type
Description
ByteString
The bytes for cidr.
public NetworkConfig getDefaultInstanceForType ()
public String getGcpService ()
Returns
Type
Description
String
The gcpService.
public ByteString getGcpServiceBytes ()
Returns
Type
Description
ByteString
The bytes for gcpService.
A transient unique identifier to identify a volume within an
ProvisioningConfig request.
string id = 2;
Returns
Type
Description
String
The id.
public ByteString getIdBytes ()
A transient unique identifier to identify a volume within an
ProvisioningConfig request.
string id = 2;
Returns
Type
Description
ByteString
The bytes for id.
public boolean getJumboFramesEnabled ()
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;
Returns
Type
Description
boolean
The jumboFramesEnabled.
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for name.
public Parser<NetworkConfig> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public NetworkConfig . ServiceCidr getServiceCidr ()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
public int getServiceCidrValue ()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
Returns
Type
Description
int
The enum numeric value on the wire for serviceCidr.
public NetworkConfig . Type getType ()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
public int getTypeValue ()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
Returns
Type
Description
int
The enum numeric value on the wire for type.
public String getUserNote ()
User note field, it can be used by customers to add additional information
for the BMS Ops team .
string user_note = 8;
Returns
Type
Description
String
The userNote.
public ByteString getUserNoteBytes ()
User note field, it can be used by customers to add additional information
for the BMS Ops team .
string user_note = 8;
Returns
Type
Description
ByteString
The bytes for userNote.
public NetworkConfig . IntakeVlanAttachment getVlanAttachments ( int index )
List of VLAN attachments. As of now there are always 2 attachments, but it
is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter
Name
Description
index
int
public int getVlanAttachmentsCount ()
List of VLAN attachments. As of now there are always 2 attachments, but it
is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns
Type
Description
int
public List<NetworkConfig . IntakeVlanAttachment > getVlanAttachmentsList ()
List of VLAN attachments. As of now there are always 2 attachments, but it
is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
public NetworkConfig . IntakeVlanAttachmentOrBuilder getVlanAttachmentsOrBuilder ( int index )
List of VLAN attachments. As of now there are always 2 attachments, but it
is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Parameter
Name
Description
index
int
public List <? extends NetworkConfig . IntakeVlanAttachmentOrBuilder > getVlanAttachmentsOrBuilderList ()
List of VLAN attachments. As of now there are always 2 attachments, but it
is going to change in the future (multi vlan).
repeated .google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment vlan_attachments = 5;
Returns
Type
Description
List <? extends com.google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachmentOrBuilder >
public boolean getVlanSameProject ()
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;
Returns
Type
Description
boolean
The vlanSameProject.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public NetworkConfig . Builder newBuilderForType ()
protected NetworkConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public NetworkConfig . 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-06-13 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-06-13 UTC."],[],[]]