Package com.google.cloud.compute.v1
Interface NetworkEndpointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpoint
,NetworkEndpoint.Builder
public interface NetworkEndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Metadata defined as annotations on the network endpoint.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Metadata defined as annotations on the network endpoint.Map<String,String>
getAnnotationsMap()
Metadata defined as annotations on the network endpoint.String
getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint.String
getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint.String
getFqdn()
Optional fully qualified domain name of network endpoint.com.google.protobuf.ByteString
getFqdnBytes()
Optional fully qualified domain name of network endpoint.String
getInstance()
The name for a specific VM instance that the IP address belongs to.com.google.protobuf.ByteString
getInstanceBytes()
The name for a specific VM instance that the IP address belongs to.String
getIpAddress()
Optional IPv4 address of network endpoint.com.google.protobuf.ByteString
getIpAddressBytes()
Optional IPv4 address of network endpoint.int
getPort()
Optional port number of network endpoint.boolean
hasFqdn()
Optional fully qualified domain name of network endpoint.boolean
hasInstance()
The name for a specific VM instance that the IP address belongs to.boolean
hasIpAddress()
Optional IPv4 address of network endpoint.boolean
hasPort()
Optional port number of network endpoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAnnotationsCount
int getAnnotationsCount()
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;
-
containsAnnotations
boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.
-
getAnnotationsMap
Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;
-
getAnnotationsOrDefault
String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;
-
getAnnotationsOrThrow
String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint.
map<string, string> annotations = 112032548;
-
hasFqdn
boolean hasFqdn()
Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
optional string fqdn = 3150485;
- Returns:
- Whether the fqdn field is set.
-
getFqdn
String getFqdn()
Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
optional string fqdn = 3150485;
- Returns:
- The fqdn.
-
getFqdnBytes
com.google.protobuf.ByteString getFqdnBytes()
Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
optional string fqdn = 3150485;
- Returns:
- The bytes for fqdn.
-
hasInstance
boolean hasInstance()
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
optional string instance = 18257045;
- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
optional string instance = 18257045;
- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
optional string instance = 18257045;
- Returns:
- The bytes for instance.
-
hasIpAddress
boolean hasIpAddress()
Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
optional string ip_address = 406272220;
- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
String getIpAddress()
Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
optional string ip_address = 406272220;
- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
optional string ip_address = 406272220;
- Returns:
- The bytes for ipAddress.
-
hasPort
boolean hasPort()
Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
optional int32 port = 3446913;
- Returns:
- Whether the port field is set.
-
getPort
int getPort()
Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
optional int32 port = 3446913;
- Returns:
- The port.
-
-