Package com.google.cloud.compute.v1
Interface NetworkEndpointGroupOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkEndpointGroup
,NetworkEndpointGroup.Builder
public interface NetworkEndpointGroupOrBuilder 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 group.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Metadata defined as annotations on the network endpoint group.Map<String,String>
getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.String
getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.String
getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.NetworkEndpointGroupAppEngine
getAppEngine()
Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupAppEngineOrBuilder
getAppEngineOrBuilder()
Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunction
getCloudFunction()
Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunctionOrBuilder
getCloudFunctionOrBuilder()
Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRun
getCloudRun()
Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRunOrBuilder
getCloudRunOrBuilder()
Only valid when networkEndpointType is "SERVERLESS".String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.int
getDefaultPort()
The default port used if the port number is not specified in the network endpoint.String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getName()
Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteString
getNameBytes()
Name of the resource; provided by the client when the resource is created.String
getNetwork()
The URL of the network to which all network endpoints in the NEG belong.com.google.protobuf.ByteString
getNetworkBytes()
The URL of the network to which all network endpoints in the NEG belong.String
getNetworkEndpointType()
Type of network endpoints in this network endpoint group.com.google.protobuf.ByteString
getNetworkEndpointTypeBytes()
Type of network endpoints in this network endpoint group.NetworkEndpointGroupPscData
getPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
NetworkEndpointGroupPscDataOrBuilder
getPscDataOrBuilder()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
String
getPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.com.google.protobuf.ByteString
getPscTargetServiceBytes()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.String
getRegion()
[Output Only] The URL of the region where the network endpoint group is located.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] The URL of the region where the network endpoint group is located.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.int
getSize()
[Output only] Number of network endpoints in the network endpoint group.String
getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.com.google.protobuf.ByteString
getSubnetworkBytes()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.String
getZone()
[Output Only] The URL of the zone where the network endpoint group is located.com.google.protobuf.ByteString
getZoneBytes()
[Output Only] The URL of the zone where the network endpoint group is located.boolean
hasAppEngine()
Only valid when networkEndpointType is "SERVERLESS".boolean
hasCloudFunction()
Only valid when networkEndpointType is "SERVERLESS".boolean
hasCloudRun()
Only valid when networkEndpointType is "SERVERLESS".boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDefaultPort()
The default port used if the port number is not specified in the network endpoint.boolean
hasDescription()
An optional description of this resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
Name of the resource; provided by the client when the resource is created.boolean
hasNetwork()
The URL of the network to which all network endpoints in the NEG belong.boolean
hasNetworkEndpointType()
Type of network endpoints in this network endpoint group.boolean
hasPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
boolean
hasPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.boolean
hasRegion()
[Output Only] The URL of the region where the network endpoint group is located.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasSize()
[Output only] Number of network endpoints in the network endpoint group.boolean
hasSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.boolean
hasZone()
[Output Only] The URL of the zone where the network endpoint group is located.-
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 group.
map<string, string> annotations = 112032548;
-
containsAnnotations
boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
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 group.
map<string, string> annotations = 112032548;
-
getAnnotationsOrDefault
String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
getAnnotationsOrThrow
String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
hasAppEngine
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:
- Whether the appEngine field is set.
-
getAppEngine
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:
- The appEngine.
-
getAppEngineOrBuilder
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;
-
hasCloudFunction
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:
- Whether the cloudFunction field is set.
-
getCloudFunction
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:
- The cloudFunction.
-
getCloudFunctionOrBuilder
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;
-
hasCloudRun
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:
- Whether the cloudRun field is set.
-
getCloudRun
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:
- The cloudRun.
-
getCloudRunOrBuilder
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;
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The bytes for creationTimestamp.
-
hasDefaultPort
boolean hasDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;
- Returns:
- Whether the defaultPort field is set.
-
getDefaultPort
int getDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;
- Returns:
- The defaultPort.
-
hasDescription
boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasName
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]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the name field is set.
-
getName
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]([-a-z0-9]*[a-z0-9])?` 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:
- The name.
-
getNameBytes
com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for name.
-
hasNetwork
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:
- Whether the network field is set.
-
getNetwork
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:
- The network.
-
getNetworkBytes
com.google.protobuf.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:
- The bytes for network.
-
hasNetworkEndpointType
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:
- Whether the networkEndpointType field is set.
-
getNetworkEndpointType
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:
- The networkEndpointType.
-
getNetworkEndpointTypeBytes
com.google.protobuf.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:
- The bytes for networkEndpointType.
-
hasPscData
boolean hasPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
- Returns:
- Whether the pscData field is set.
-
getPscData
NetworkEndpointGroupPscData getPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
- Returns:
- The pscData.
-
getPscDataOrBuilder
NetworkEndpointGroupPscDataOrBuilder getPscDataOrBuilder()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
-
hasPscTargetService
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:
- Whether the pscTargetService field is set.
-
getPscTargetService
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:
- The pscTargetService.
-
getPscTargetServiceBytes
com.google.protobuf.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:
- The bytes for pscTargetService.
-
hasRegion
boolean hasRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
hasSize
boolean hasSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;
- Returns:
- Whether the size field is set.
-
getSize
int getSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;
- Returns:
- The size.
-
hasSubnetwork
boolean hasSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
String getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
- Returns:
- The subnetwork.
-
getSubnetworkBytes
com.google.protobuf.ByteString getSubnetworkBytes()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
- Returns:
- The bytes for subnetwork.
-
hasZone
boolean hasZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
- Returns:
- Whether the zone field is set.
-
getZone
String getZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
- Returns:
- The bytes for zone.
-
-