Package namespace.cloud.compute.v1beta
Interface Compute.ExportedPortBackendOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compute.ExportedPortBackend,Compute.ExportedPortBackend.Builder
- Enclosing class:
Compute
public static interface Compute.ExportedPortBackendOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional IP address of the backend.com.google.protobuf.ByteStringOptional IP address of the backend.intgetPort()int32 port = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPort
int getPort()int32 port = 1;- Returns:
- The port.
-
getIpAddress
String getIpAddress()Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Returns:
- The bytes for ipAddress.
-