Package com.google.cloud.vpcaccess.v1
Interface Connector.SubnetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Connector.Subnet,Connector.Subnet.Builder
- Enclosing class:
- Connector
public static interface Connector.SubnetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Subnet name (relative, not fully qualified).com.google.protobuf.ByteStringgetNameBytes()Subnet name (relative, not fully qualified).StringgetProjectId()Project in which the subnet exists.com.google.protobuf.ByteStringgetProjectIdBytes()Project in which the subnet exists.-
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()
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}string name = 1;- Returns:
- The bytes for name.
-
getProjectId
String getProjectId()
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;- Returns:
- The bytes for projectId.
-
-