Interface NetworkConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkConfig
,NetworkConfig.Builder
public interface NetworkConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkConfig.Bandwidth
getBandwidth()
Interconnect bandwidth.int
getBandwidthValue()
Interconnect bandwidth.String
getCidr()
CIDR range of the network.com.google.protobuf.ByteString
getCidrBytes()
CIDR range of the network.String
getGcpService()
The GCP service of the network.com.google.protobuf.ByteString
getGcpServiceBytes()
The GCP service of the network.String
getId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.com.google.protobuf.ByteString
getIdBytes()
A transient unique identifier to identify a volume within an ProvisioningConfig request.boolean
getJumboFramesEnabled()
The JumboFramesEnabled option for customer to set.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.NetworkConfig.ServiceCidr
getServiceCidr()
Service CIDR, if any.int
getServiceCidrValue()
Service CIDR, if any.NetworkConfig.Type
getType()
The type of this network, either Client or Private.int
getTypeValue()
The type of this network, either Client or Private.String
getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .com.google.protobuf.ByteString
getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .NetworkConfig.IntakeVlanAttachment
getVlanAttachments(int index)
List of VLAN attachments.int
getVlanAttachmentsCount()
List of VLAN attachments.List<NetworkConfig.IntakeVlanAttachment>
getVlanAttachmentsList()
List of VLAN attachments.NetworkConfig.IntakeVlanAttachmentOrBuilder
getVlanAttachmentsOrBuilder(int index)
List of VLAN attachments.List<? extends NetworkConfig.IntakeVlanAttachmentOrBuilder>
getVlanAttachmentsOrBuilderList()
List of VLAN attachments.boolean
getVlanSameProject()
Whether the VLAN attachment pair is located in the same project.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The name of the network config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getId
String getId()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
A transient unique identifier to identify a volume within an ProvisioningConfig request.
string id = 2;
- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
- Returns:
- The enum numeric value on the wire for type.
-
getType
NetworkConfig.Type getType()
The type of this network, either Client or Private.
.google.cloud.baremetalsolution.v2.NetworkConfig.Type type = 3;
- Returns:
- The type.
-
getBandwidthValue
int getBandwidthValue()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
- Returns:
- The enum numeric value on the wire for bandwidth.
-
getBandwidth
NetworkConfig.Bandwidth getBandwidth()
Interconnect bandwidth. Set only when type is CLIENT.
.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth bandwidth = 4;
- Returns:
- The bandwidth.
-
getVlanAttachmentsList
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;
-
getVlanAttachments
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;
-
getVlanAttachmentsCount
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;
-
getVlanAttachmentsOrBuilderList
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;
-
getVlanAttachmentsOrBuilder
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;
-
getCidr
String getCidr()
CIDR range of the network.
string cidr = 6;
- Returns:
- The cidr.
-
getCidrBytes
com.google.protobuf.ByteString getCidrBytes()
CIDR range of the network.
string cidr = 6;
- Returns:
- The bytes for cidr.
-
getServiceCidrValue
int getServiceCidrValue()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
- Returns:
- The enum numeric value on the wire for serviceCidr.
-
getServiceCidr
NetworkConfig.ServiceCidr getServiceCidr()
Service CIDR, if any.
.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr service_cidr = 7;
- Returns:
- The serviceCidr.
-
getUserNote
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:
- The userNote.
-
getUserNoteBytes
com.google.protobuf.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:
- The bytes for userNote.
-
getGcpService
String getGcpService()
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
- Returns:
- The gcpService.
-
getGcpServiceBytes
com.google.protobuf.ByteString getGcpServiceBytes()
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
string gcp_service = 9;
- Returns:
- The bytes for gcpService.
-
getVlanSameProject
boolean getVlanSameProject()
Whether the VLAN attachment pair is located in the same project.
bool vlan_same_project = 10;
- Returns:
- The vlanSameProject.
-
getJumboFramesEnabled
boolean getJumboFramesEnabled()
The JumboFramesEnabled option for customer to set.
bool jumbo_frames_enabled = 11;
- Returns:
- The jumboFramesEnabled.
-
-