public final class CorsPolicy extends com.google.protobuf.GeneratedMessageV3 implements CorsPolicyOrBuilder
[#next-free-field: 12]Protobuf type
envoy.api.v2.route.CorsPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
CorsPolicy.Builder
[#next-free-field: 12]
Protobuf type
envoy.api.v2.route.CorsPolicy |
static class |
CorsPolicy.EnabledSpecifierCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_CREDENTIALS_FIELD_NUMBER |
static int |
ALLOW_HEADERS_FIELD_NUMBER |
static int |
ALLOW_METHODS_FIELD_NUMBER |
static int |
ALLOW_ORIGIN_FIELD_NUMBER |
static int |
ALLOW_ORIGIN_REGEX_FIELD_NUMBER |
static int |
ALLOW_ORIGIN_STRING_MATCH_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
EXPOSE_HEADERS_FIELD_NUMBER |
static int |
FILTER_ENABLED_FIELD_NUMBER |
static int |
MAX_AGE_FIELD_NUMBER |
static int |
SHADOW_ENABLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.BoolValue |
getAllowCredentials()
Specifies whether the resource allows credentials.
|
com.google.protobuf.BoolValueOrBuilder |
getAllowCredentialsOrBuilder()
Specifies whether the resource allows credentials.
|
String |
getAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
|
com.google.protobuf.ByteString |
getAllowHeadersBytes()
Specifies the content for the *access-control-allow-headers* header.
|
String |
getAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
|
com.google.protobuf.ByteString |
getAllowMethodsBytes()
Specifies the content for the *access-control-allow-methods* header.
|
String |
getAllowOrigin(int index)
Deprecated.
|
com.google.protobuf.ByteString |
getAllowOriginBytes(int index)
Deprecated.
|
int |
getAllowOriginCount()
Deprecated.
|
com.google.protobuf.ProtocolStringList |
getAllowOriginList()
Deprecated.
|
String |
getAllowOriginRegex(int index)
Deprecated.
|
com.google.protobuf.ByteString |
getAllowOriginRegexBytes(int index)
Deprecated.
|
int |
getAllowOriginRegexCount()
Deprecated.
|
com.google.protobuf.ProtocolStringList |
getAllowOriginRegexList()
Deprecated.
|
StringMatcher |
getAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins.
|
int |
getAllowOriginStringMatchCount()
Specifies string patterns that match allowed origins.
|
List<StringMatcher> |
getAllowOriginStringMatchList()
Specifies string patterns that match allowed origins.
|
StringMatcherOrBuilder |
getAllowOriginStringMatchOrBuilder(int index)
Specifies string patterns that match allowed origins.
|
List<? extends StringMatcherOrBuilder> |
getAllowOriginStringMatchOrBuilderList()
Specifies string patterns that match allowed origins.
|
static CorsPolicy |
getDefaultInstance() |
CorsPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.BoolValue |
getEnabled()
Deprecated.
|
com.google.protobuf.BoolValueOrBuilder |
getEnabledOrBuilder()
Deprecated.
|
CorsPolicy.EnabledSpecifierCase |
getEnabledSpecifierCase() |
String |
getExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
|
com.google.protobuf.ByteString |
getExposeHeadersBytes()
Specifies the content for the *access-control-expose-headers* header.
|
RuntimeFractionalPercent |
getFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled.
|
RuntimeFractionalPercentOrBuilder |
getFilterEnabledOrBuilder()
Specifies the % of requests for which the CORS filter is enabled.
|
String |
getMaxAge()
Specifies the content for the *access-control-max-age* header.
|
com.google.protobuf.ByteString |
getMaxAgeBytes()
Specifies the content for the *access-control-max-age* header.
|
com.google.protobuf.Parser<CorsPolicy> |
getParserForType() |
int |
getSerializedSize() |
RuntimeFractionalPercent |
getShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
RuntimeFractionalPercentOrBuilder |
getShadowEnabledOrBuilder()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAllowCredentials()
Specifies whether the resource allows credentials.
|
boolean |
hasEnabled()
Deprecated.
|
boolean |
hasFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled.
|
int |
hashCode() |
boolean |
hasShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CorsPolicy.Builder |
newBuilder() |
static CorsPolicy.Builder |
newBuilder(CorsPolicy prototype) |
CorsPolicy.Builder |
newBuilderForType() |
protected CorsPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CorsPolicy |
parseDelimitedFrom(InputStream input) |
static CorsPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CorsPolicy |
parseFrom(byte[] data) |
static CorsPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CorsPolicy |
parseFrom(ByteBuffer data) |
static CorsPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CorsPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static CorsPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CorsPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CorsPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CorsPolicy |
parseFrom(InputStream input) |
static CorsPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CorsPolicy> |
parser() |
CorsPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ALLOW_ORIGIN_FIELD_NUMBER
public static final int ALLOW_ORIGIN_REGEX_FIELD_NUMBER
public static final int ALLOW_ORIGIN_STRING_MATCH_FIELD_NUMBER
public static final int ALLOW_METHODS_FIELD_NUMBER
public static final int ALLOW_HEADERS_FIELD_NUMBER
public static final int EXPOSE_HEADERS_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER
public static final int ALLOW_CREDENTIALS_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
public static final int FILTER_ENABLED_FIELD_NUMBER
public static final int SHADOW_ENABLED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public CorsPolicy.EnabledSpecifierCase getEnabledSpecifierCase()
getEnabledSpecifierCase in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.ProtocolStringList getAllowOriginList()
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match`.
repeated string allow_origin = 1 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];getAllowOriginList in interface CorsPolicyOrBuilder@Deprecated public int getAllowOriginCount()
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match`.
repeated string allow_origin = 1 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];getAllowOriginCount in interface CorsPolicyOrBuilder@Deprecated public String getAllowOrigin(int index)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match`.
repeated string allow_origin = 1 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];getAllowOrigin in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.ByteString getAllowOriginBytes(int index)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match`.
repeated string allow_origin = 1 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];getAllowOriginBytes in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.ProtocolStringList getAllowOriginRegexList()
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match` as it is not safe for use with untrusted input in all cases.
repeated string allow_origin_regex = 8 [deprecated = true, (.validate.rules) = { ... }getAllowOriginRegexList in interface CorsPolicyOrBuilder@Deprecated public int getAllowOriginRegexCount()
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match` as it is not safe for use with untrusted input in all cases.
repeated string allow_origin_regex = 8 [deprecated = true, (.validate.rules) = { ... }getAllowOriginRegexCount in interface CorsPolicyOrBuilder@Deprecated public String getAllowOriginRegex(int index)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match` as it is not safe for use with untrusted input in all cases.
repeated string allow_origin_regex = 8 [deprecated = true, (.validate.rules) = { ... }getAllowOriginRegex in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.ByteString getAllowOriginRegexBytes(int index)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match. .. attention:: This field has been deprecated in favor of `allow_origin_string_match` as it is not safe for use with untrusted input in all cases.
repeated string allow_origin_regex = 8 [deprecated = true, (.validate.rules) = { ... }getAllowOriginRegexBytes in interface CorsPolicyOrBuilderpublic List<StringMatcher> getAllowOriginStringMatchList()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchList in interface CorsPolicyOrBuilderpublic List<? extends StringMatcherOrBuilder> getAllowOriginStringMatchOrBuilderList()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchOrBuilderList in interface CorsPolicyOrBuilderpublic int getAllowOriginStringMatchCount()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchCount in interface CorsPolicyOrBuilderpublic StringMatcher getAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatch in interface CorsPolicyOrBuilderpublic StringMatcherOrBuilder getAllowOriginStringMatchOrBuilder(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchOrBuilder in interface CorsPolicyOrBuilderpublic String getAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;getAllowMethods in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getAllowMethodsBytes()
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;getAllowMethodsBytes in interface CorsPolicyOrBuilderpublic String getAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;getAllowHeaders in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getAllowHeadersBytes()
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;getAllowHeadersBytes in interface CorsPolicyOrBuilderpublic String getExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;getExposeHeaders in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getExposeHeadersBytes()
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;getExposeHeadersBytes in interface CorsPolicyOrBuilderpublic String getMaxAge()
Specifies the content for the *access-control-max-age* header.
string max_age = 5;getMaxAge in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getMaxAgeBytes()
Specifies the content for the *access-control-max-age* header.
string max_age = 5;getMaxAgeBytes in interface CorsPolicyOrBuilderpublic boolean hasAllowCredentials()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;hasAllowCredentials in interface CorsPolicyOrBuilderpublic com.google.protobuf.BoolValue getAllowCredentials()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;getAllowCredentials in interface CorsPolicyOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getAllowCredentialsOrBuilder()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;getAllowCredentialsOrBuilder in interface CorsPolicyOrBuilder@Deprecated public boolean hasEnabled()
Specifies if the CORS filter is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];hasEnabled in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.BoolValue getEnabled()
Specifies if the CORS filter is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];getEnabled in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
Specifies if the CORS filter is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];getEnabledOrBuilder in interface CorsPolicyOrBuilderpublic boolean hasFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;hasFilterEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercent getFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercentOrBuilder getFilterEnabledOrBuilder()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabledOrBuilder in interface CorsPolicyOrBuilderpublic boolean hasShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* to determine if it's valid but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;hasShadowEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercent getShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* to determine if it's valid but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;getShadowEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercentOrBuilder getShadowEnabledOrBuilder()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* to determine if it's valid but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;getShadowEnabledOrBuilder in interface CorsPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CorsPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CorsPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CorsPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CorsPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CorsPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CorsPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CorsPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static CorsPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CorsPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CorsPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CorsPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CorsPolicy.Builder newBuilder()
public static CorsPolicy.Builder newBuilder(CorsPolicy prototype)
public CorsPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CorsPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CorsPolicy getDefaultInstance()
public static com.google.protobuf.Parser<CorsPolicy> parser()
public com.google.protobuf.Parser<CorsPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CorsPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.