com.google.api.EndpointOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/endpoint.proto
// Protobuf Java Version: 3.25.3
package com.google.api;
public interface EndpointOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.Endpoint)
com.google.protobuf.MessageOrBuilder {
/**
*
* The canonical name of this endpoint.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* The canonical name of this endpoint.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* DEPRECATED: This field is no longer supported. Instead of using aliases,
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
* aliases.
*
* Additional names that this endpoint will be hosted on.
*
*
* repeated string aliases = 2;
* @return A list containing the aliases.
*/
java.util.List
getAliasesList();
/**
*
* DEPRECATED: This field is no longer supported. Instead of using aliases,
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
* aliases.
*
* Additional names that this endpoint will be hosted on.
*
*
* repeated string aliases = 2;
* @return The count of aliases.
*/
int getAliasesCount();
/**
*
* DEPRECATED: This field is no longer supported. Instead of using aliases,
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
* aliases.
*
* Additional names that this endpoint will be hosted on.
*
*
* repeated string aliases = 2;
* @param index The index of the element to return.
* @return The aliases at the given index.
*/
java.lang.String getAliases(int index);
/**
*
* DEPRECATED: This field is no longer supported. Instead of using aliases,
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
* aliases.
*
* Additional names that this endpoint will be hosted on.
*
*
* repeated string aliases = 2;
* @param index The index of the value to return.
* @return The bytes of the aliases at the given index.
*/
com.google.protobuf.ByteString
getAliasesBytes(int index);
/**
*
* The list of features enabled on this endpoint.
*
*
* repeated string features = 4;
* @return A list containing the features.
*/
java.util.List
getFeaturesList();
/**
*
* The list of features enabled on this endpoint.
*
*
* repeated string features = 4;
* @return The count of features.
*/
int getFeaturesCount();
/**
*
* The list of features enabled on this endpoint.
*
*
* repeated string features = 4;
* @param index The index of the element to return.
* @return The features at the given index.
*/
java.lang.String getFeatures(int index);
/**
*
* The list of features enabled on this endpoint.
*
*
* repeated string features = 4;
* @param index The index of the value to return.
* @return The bytes of the features at the given index.
*/
com.google.protobuf.ByteString
getFeaturesBytes(int index);
/**
*
* 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;
* @return The target.
*/
java.lang.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;
* @return The bytes for target.
*/
com.google.protobuf.ByteString
getTargetBytes();
/**
*
* 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;
* @return The allowCors.
*/
boolean getAllowCors();
}