Interface NetworkEndpointGroupOrBuilder (1.40.0)

public interface NetworkEndpointGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract boolean containsAnnotations(String key)

Metadata defined as annotations on the network endpoint group.

map<string, string> annotations = 112032548;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations()

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public abstract int getAnnotationsCount()

Metadata defined as annotations on the network endpoint group.

map<string, string> annotations = 112032548;

Returns
TypeDescription
int

getAnnotationsMap()

public abstract Map<String,String> getAnnotationsMap()

Metadata defined as annotations on the network endpoint group.

map<string, string> annotations = 112032548;

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract String getAnnotationsOrDefault(String key, String defaultValue)

Metadata defined as annotations on the network endpoint group.

map<string, string> annotations = 112032548;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public abstract String getAnnotationsOrThrow(String key)

Metadata defined as annotations on the network endpoint group.

map<string, string> annotations = 112032548;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getAppEngine()

public abstract NetworkEndpointGroupAppEngine getAppEngine()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;

Returns
TypeDescription
NetworkEndpointGroupAppEngine

The appEngine.

getAppEngineOrBuilder()

public abstract NetworkEndpointGroupAppEngineOrBuilder getAppEngineOrBuilder()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;

Returns
TypeDescription
NetworkEndpointGroupAppEngineOrBuilder

getCloudFunction()

public abstract NetworkEndpointGroupCloudFunction getCloudFunction()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;

Returns
TypeDescription
NetworkEndpointGroupCloudFunction

The cloudFunction.

getCloudFunctionOrBuilder()

public abstract NetworkEndpointGroupCloudFunctionOrBuilder getCloudFunctionOrBuilder()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;

Returns
TypeDescription
NetworkEndpointGroupCloudFunctionOrBuilder

getCloudRun()

public abstract NetworkEndpointGroupCloudRun getCloudRun()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;

Returns
TypeDescription
NetworkEndpointGroupCloudRun

The cloudRun.

getCloudRunOrBuilder()

public abstract NetworkEndpointGroupCloudRunOrBuilder getCloudRunOrBuilder()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;

Returns
TypeDescription
NetworkEndpointGroupCloudRunOrBuilder

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getDefaultPort()

public abstract int getDefaultPort()

The default port used if the port number is not specified in the network endpoint.

optional int32 default_port = 423377855;

Returns
TypeDescription
int

The defaultPort.

getDescription()

public abstract String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
long

The id.

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getName()

public abstract String getName()

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.

optional string network = 232872494;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.

optional string network = 232872494;

Returns
TypeDescription
ByteString

The bytes for network.

getNetworkEndpointType()

public abstract String getNetworkEndpointType()

Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.

optional string network_endpoint_type = 118301523;

Returns
TypeDescription
String

The networkEndpointType.

getNetworkEndpointTypeBytes()

public abstract ByteString getNetworkEndpointTypeBytes()

Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.

optional string network_endpoint_type = 118301523;

Returns
TypeDescription
ByteString

The bytes for networkEndpointType.

getPscData()

public abstract NetworkEndpointGroupPscData getPscData()

optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;

Returns
TypeDescription
NetworkEndpointGroupPscData

The pscData.

getPscDataOrBuilder()

public abstract NetworkEndpointGroupPscDataOrBuilder getPscDataOrBuilder()

optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;

Returns
TypeDescription
NetworkEndpointGroupPscDataOrBuilder

getPscTargetService()

public abstract String getPscTargetService()

The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"

optional string psc_target_service = 269132134;

Returns
TypeDescription
String

The pscTargetService.

getPscTargetServiceBytes()

public abstract ByteString getPscTargetServiceBytes()

The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"

optional string psc_target_service = 269132134;

Returns
TypeDescription
ByteString

The bytes for pscTargetService.

getRegion()

public abstract String getRegion()

[Output Only] The URL of the region where the network endpoint group is located.

optional string region = 138946292;

Returns
TypeDescription
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

[Output Only] The URL of the region where the network endpoint group is located.

optional string region = 138946292;

Returns
TypeDescription
ByteString

The bytes for region.

public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getSize()

public abstract int getSize()

[Output only] Number of network endpoints in the network endpoint group.

optional int32 size = 3530753;

Returns
TypeDescription
int

The size.

getSubnetwork()

public abstract String getSubnetwork()

Optional URL of the subnetwork to which all network endpoints in the NEG belong.

optional string subnetwork = 307827694;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

Optional URL of the subnetwork to which all network endpoints in the NEG belong.

optional string subnetwork = 307827694;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

getZone()

public abstract String getZone()

[Output Only] The URL of the zone where the network endpoint group is located.

optional string zone = 3744684;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

[Output Only] The URL of the zone where the network endpoint group is located.

optional string zone = 3744684;

Returns
TypeDescription
ByteString

The bytes for zone.

hasAppEngine()

public abstract boolean hasAppEngine()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;

Returns
TypeDescription
boolean

Whether the appEngine field is set.

hasCloudFunction()

public abstract boolean hasCloudFunction()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;

Returns
TypeDescription
boolean

Whether the cloudFunction field is set.

hasCloudRun()

public abstract boolean hasCloudRun()

Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;

Returns
TypeDescription
boolean

Whether the cloudRun field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
boolean

Whether the creationTimestamp field is set.

hasDefaultPort()

public abstract boolean hasDefaultPort()

The default port used if the port number is not specified in the network endpoint.

optional int32 default_port = 423377855;

Returns
TypeDescription
boolean

Whether the defaultPort field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasName()

public abstract boolean hasName()

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNetwork()

public abstract boolean hasNetwork()

The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.

optional string network = 232872494;

Returns
TypeDescription
boolean

Whether the network field is set.

hasNetworkEndpointType()

public abstract boolean hasNetworkEndpointType()

Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.

optional string network_endpoint_type = 118301523;

Returns
TypeDescription
boolean

Whether the networkEndpointType field is set.

hasPscData()

public abstract boolean hasPscData()

optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;

Returns
TypeDescription
boolean

Whether the pscData field is set.

hasPscTargetService()

public abstract boolean hasPscTargetService()

The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"

optional string psc_target_service = 269132134;

Returns
TypeDescription
boolean

Whether the pscTargetService field is set.

hasRegion()

public abstract boolean hasRegion()

[Output Only] The URL of the region where the network endpoint group is located.

optional string region = 138946292;

Returns
TypeDescription
boolean

Whether the region field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasSize()

public abstract boolean hasSize()

[Output only] Number of network endpoints in the network endpoint group.

optional int32 size = 3530753;

Returns
TypeDescription
boolean

Whether the size field is set.

hasSubnetwork()

public abstract boolean hasSubnetwork()

Optional URL of the subnetwork to which all network endpoints in the NEG belong.

optional string subnetwork = 307827694;

Returns
TypeDescription
boolean

Whether the subnetwork field is set.

hasZone()

public abstract boolean hasZone()

[Output Only] The URL of the zone where the network endpoint group is located.

optional string zone = 3744684;

Returns
TypeDescription
boolean

Whether the zone field is set.