Package com.google.cloud.notebooks.v2
Interface NetworkInterfaceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkInterface
,NetworkInterface.Builder
public interface NetworkInterfaceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getNetwork()
Optional.com.google.protobuf.ByteString
getNetworkBytes()
Optional.NetworkInterface.NicType
getNicType()
Optional.int
getNicTypeValue()
Optional.String
getSubnet()
Optional.com.google.protobuf.ByteString
getSubnetBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNetwork
String getNetwork()
Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
string network = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
string network = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for network.
-
getSubnet
String getSubnet()
Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The subnet.
-
getSubnetBytes
com.google.protobuf.ByteString getSubnetBytes()
Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
string subnet = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for subnet.
-
getNicTypeValue
int getNicTypeValue()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v2.NetworkInterface.NicType nic_type = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for nicType.
-
getNicType
NetworkInterface.NicType getNicType()
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
.google.cloud.notebooks.v2.NetworkInterface.NicType nic_type = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The nicType.
-
-