Interface EndpointOrBuilder

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

public interface EndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAliases(int index)
    Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.
    com.google.protobuf.ByteString
    getAliasesBytes(int index)
    Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.
    int
    Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.
    Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.
    boolean
    Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests.
    The canonical name of this endpoint.
    com.google.protobuf.ByteString
    The canonical name of this endpoint.
    The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
    com.google.protobuf.ByteString
    The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The canonical name of this endpoint.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The canonical name of this endpoint.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getAliasesList

      List<String> getAliasesList()
       Aliases for this endpoint, these will be served by the same UrlMap as the
       parent endpoint, and will be provisioned in the GCP stack for the Regional
       Endpoints.
       
      repeated string aliases = 2;
      Returns:
      A list containing the aliases.
    • getAliasesCount

      int getAliasesCount()
       Aliases for this endpoint, these will be served by the same UrlMap as the
       parent endpoint, and will be provisioned in the GCP stack for the Regional
       Endpoints.
       
      repeated string aliases = 2;
      Returns:
      The count of aliases.
    • getAliases

      String getAliases(int index)
       Aliases for this endpoint, these will be served by the same UrlMap as the
       parent endpoint, and will be provisioned in the GCP stack for the Regional
       Endpoints.
       
      repeated string aliases = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The aliases at the given index.
    • getAliasesBytes

      com.google.protobuf.ByteString getAliasesBytes(int index)
       Aliases for this endpoint, these will be served by the same UrlMap as the
       parent endpoint, and will be provisioned in the GCP stack for the Regional
       Endpoints.
       
      repeated string aliases = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aliases at the given index.
    • getTarget

      String getTarget()
       The specification of an Internet routable address of API frontend that will
       handle requests to this [API
       Endpoint](https://cloud.google.com/apis/design/glossary). It should be
       either a valid IPv4 address or a fully-qualified domain name. For example,
       "8.8.8.8" or "myservice.appspot.com".
       
      string target = 101;
      Returns:
      The target.
    • getTargetBytes

      com.google.protobuf.ByteString getTargetBytes()
       The specification of an Internet routable address of API frontend that will
       handle requests to this [API
       Endpoint](https://cloud.google.com/apis/design/glossary). It should be
       either a valid IPv4 address or a fully-qualified domain name. For example,
       "8.8.8.8" or "myservice.appspot.com".
       
      string target = 101;
      Returns:
      The bytes for target.
    • getAllowCors

      boolean getAllowCors()
       Allowing
       [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
       cross-domain traffic, would allow the backends served from this endpoint to
       receive and respond to HTTP OPTIONS requests. The response will be used by
       the browser to determine whether the subsequent cross-origin request is
       allowed to proceed.
       
      bool allow_cors = 5;
      Returns:
      The allowCors.