Interface NetworkEndpointGroupOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NetworkEndpointGroup, NetworkEndpointGroup.Builder

@Generated public interface NetworkEndpointGroupOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAnnotationsCount

      int getAnnotationsCount()
       Optional. Metadata defined as annotations on the network endpoint group.
       
      map<string, string> annotations = 112032548;
    • containsAnnotations

      boolean containsAnnotations(String key)
       Optional. Metadata defined as annotations on the network endpoint group.
       
      map<string, string> annotations = 112032548;
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Metadata defined as annotations on the network endpoint group.
       
      map<string, string> annotations = 112032548;
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Metadata defined as annotations on the network endpoint group.
       
      map<string, string> annotations = 112032548;
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       Optional. Metadata defined as annotations on the network endpoint group.
       
      map<string, string> annotations = 112032548;
    • hasAppEngine

      boolean hasAppEngine()
       Optional. Only valid when networkEndpointType isSERVERLESS. 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

       Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
      Returns:
      The appEngine.
    • getAppEngineOrBuilder

       Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
    • hasCloudFunction

      boolean hasCloudFunction()
       Optional. Only valid when networkEndpointType isSERVERLESS. 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

       Optional. Only valid when networkEndpointType isSERVERLESS. 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()
       Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
    • hasCloudRun

      boolean hasCloudRun()
       Optional. Only valid when networkEndpointType isSERVERLESS. 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

       Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
      Returns:
      The cloudRun.
    • getCloudRunOrBuilder

       Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
    • hasCreationTimestamp

      boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       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. If the network endpoint type is either GCE_VM_IP,SERVERLESS or PRIVATE_SERVICE_CONNECT, this
       field must not be specified.
       
      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. If the network endpoint type is either GCE_VM_IP,SERVERLESS or PRIVATE_SERVICE_CONNECT, this
       field must not be specified.
       
      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. [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. [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. [Output Only] Type of the resource. Alwayscompute#networkEndpointGroup for network endpoint group.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#networkEndpointGroup for network endpoint group.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#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 withRFC1035.
       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 withRFC1035.
       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 withRFC1035.
       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 ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
       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 ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
       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 ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
       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. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
      Returns:
      Whether the pscData field is set.
    • getPscData

       Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
       
      optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
      Returns:
      The pscData.
    • getPscDataOrBuilder

       Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
       
      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. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
       
      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. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
       
      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. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
       
      optional string psc_target_service = 269132134;
      Returns:
      The bytes for pscTargetService.
    • hasRegion

      boolean hasRegion()
       Output only. [Output Only] The URL of theregion
       where the network endpoint group is located.
       
      optional string region = 138946292;
      Returns:
      Whether the region field is set.
    • getRegion

      String getRegion()
       Output only. [Output Only] The URL of theregion
       where the network endpoint group is located.
       
      optional string region = 138946292;
      Returns:
      The region.
    • getRegionBytes

      com.google.protobuf.ByteString getRegionBytes()
       Output only. [Output Only] The URL of theregion
       where the network endpoint group is located.
       
      optional string region = 138946292;
      Returns:
      The bytes for region.
    • hasSelfLink

      boolean hasSelfLink()
       Output only. [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. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      The selfLink.
    • getSelfLinkBytes

      com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      The bytes for selfLink.
    • hasSize

      boolean hasSize()
       Output only. [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. [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. [Output Only] The URL of thezone
       where the network endpoint group is located.
       
      optional string zone = 3744684;
      Returns:
      Whether the zone field is set.
    • getZone

      String getZone()
       Output only. [Output Only] The URL of thezone
       where the network endpoint group is located.
       
      optional string zone = 3744684;
      Returns:
      The zone.
    • getZoneBytes

      com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] The URL of thezone
       where the network endpoint group is located.
       
      optional string zone = 3744684;
      Returns:
      The bytes for zone.