Class CorsPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.route.v3.CorsPolicy
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CorsPolicyOrBuilder,Serializable
public final class CorsPolicy
extends com.google.protobuf.GeneratedMessage
implements CorsPolicyOrBuilder
Cors policy configuration. .. attention:: This message has been deprecated. Please use :ref:`CorsPolicy in filter extension <envoy_v3_api_msg_extensions.filters.http.cors.v3.CorsPolicy>` as as alternative. [#next-free-field: 14]Protobuf type
envoy.config.route.v3.CorsPolicy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCors policy configuration.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intprivate com.google.protobuf.BoolValueprivate Objectprivate Objectprivate List<StringMatcher> private com.google.protobuf.BoolValueprivate intprivate static final CorsPolicyprivate Objectprivate intstatic final intprivate Objectstatic final intstatic final intprivate com.google.protobuf.BoolValuestatic final intprivate Objectprivate byteprivate static final com.google.protobuf.Parser<CorsPolicy> private static final longstatic final intprivate RuntimeFractionalPercentFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateCorsPolicy(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.BoolValueSpecifies whether the resource allows credentials.com.google.protobuf.BoolValueOrBuilderSpecifies whether the resource allows credentials.Specifies the content for the ``access-control-allow-headers`` header.com.google.protobuf.ByteStringSpecifies the content for the ``access-control-allow-headers`` header.Specifies the content for the ``access-control-allow-methods`` header.com.google.protobuf.ByteStringSpecifies the content for the ``access-control-allow-methods`` header.getAllowOriginStringMatch(int index) Specifies string patterns that match allowed origins.intSpecifies string patterns that match allowed origins.Specifies string patterns that match allowed origins.getAllowOriginStringMatchOrBuilder(int index) Specifies string patterns that match allowed origins.List<? extends StringMatcherOrBuilder> Specifies string patterns that match allowed origins.com.google.protobuf.BoolValueSpecify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.com.google.protobuf.BoolValueOrBuilderSpecify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.static CorsPolicystatic final com.google.protobuf.Descriptors.DescriptorSpecifies the content for the ``access-control-expose-headers`` header.com.google.protobuf.ByteStringSpecifies the content for the ``access-control-expose-headers`` header.Specifies the % of requests for which the CORS filter is enabled.Specifies the % of requests for which the CORS filter is enabled.com.google.protobuf.BoolValueSpecifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream.com.google.protobuf.BoolValueOrBuilderSpecifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream.Specifies the content for the ``access-control-max-age`` header.com.google.protobuf.ByteStringSpecifies the content for the ``access-control-max-age`` header.com.google.protobuf.Parser<CorsPolicy> intSpecifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced.Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced.booleanSpecifies whether the resource allows credentials.booleanSpecify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.booleanSpecifies the % of requests for which the CORS filter is enabled.booleanSpecifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream.inthashCode()booleanSpecifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CorsPolicy.Builderstatic CorsPolicy.BuildernewBuilder(CorsPolicy prototype) protected CorsPolicy.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CorsPolicyparseDelimitedFrom(InputStream input) static CorsPolicyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CorsPolicyparseFrom(byte[] data) static CorsPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CorsPolicyparseFrom(com.google.protobuf.ByteString data) static CorsPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CorsPolicyparseFrom(com.google.protobuf.CodedInputStream input) static CorsPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CorsPolicyparseFrom(InputStream input) static CorsPolicyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CorsPolicyparseFrom(ByteBuffer data) static CorsPolicyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CorsPolicy> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
enabledSpecifierCase_
private int enabledSpecifierCase_ -
enabledSpecifier_
-
ALLOW_ORIGIN_STRING_MATCH_FIELD_NUMBER
public static final int ALLOW_ORIGIN_STRING_MATCH_FIELD_NUMBER- See Also:
-
allowOriginStringMatch_
-
ALLOW_METHODS_FIELD_NUMBER
public static final int ALLOW_METHODS_FIELD_NUMBER- See Also:
-
allowMethods_
-
ALLOW_HEADERS_FIELD_NUMBER
public static final int ALLOW_HEADERS_FIELD_NUMBER- See Also:
-
allowHeaders_
-
EXPOSE_HEADERS_FIELD_NUMBER
public static final int EXPOSE_HEADERS_FIELD_NUMBER- See Also:
-
exposeHeaders_
-
MAX_AGE_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER- See Also:
-
maxAge_
-
ALLOW_CREDENTIALS_FIELD_NUMBER
public static final int ALLOW_CREDENTIALS_FIELD_NUMBER- See Also:
-
allowCredentials_
private com.google.protobuf.BoolValue allowCredentials_ -
FILTER_ENABLED_FIELD_NUMBER
public static final int FILTER_ENABLED_FIELD_NUMBER- See Also:
-
SHADOW_ENABLED_FIELD_NUMBER
public static final int SHADOW_ENABLED_FIELD_NUMBER- See Also:
-
shadowEnabled_
-
ALLOW_PRIVATE_NETWORK_ACCESS_FIELD_NUMBER
public static final int ALLOW_PRIVATE_NETWORK_ACCESS_FIELD_NUMBER- See Also:
-
allowPrivateNetworkAccess_
private com.google.protobuf.BoolValue allowPrivateNetworkAccess_ -
FORWARD_NOT_MATCHING_PREFLIGHTS_FIELD_NUMBER
public static final int FORWARD_NOT_MATCHING_PREFLIGHTS_FIELD_NUMBER- See Also:
-
forwardNotMatchingPreflights_
private com.google.protobuf.BoolValue forwardNotMatchingPreflights_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
CorsPolicy
private CorsPolicy(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
CorsPolicy
private CorsPolicy()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEnabledSpecifierCase
- Specified by:
getEnabledSpecifierCasein interfaceCorsPolicyOrBuilder
-
getAllowOriginStringMatchList
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;- Specified by:
getAllowOriginStringMatchListin interfaceCorsPolicyOrBuilder
-
getAllowOriginStringMatchOrBuilderList
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;- Specified by:
getAllowOriginStringMatchOrBuilderListin interfaceCorsPolicyOrBuilder
-
getAllowOriginStringMatchCount
public int getAllowOriginStringMatchCount()Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;- Specified by:
getAllowOriginStringMatchCountin interfaceCorsPolicyOrBuilder
-
getAllowOriginStringMatch
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;- Specified by:
getAllowOriginStringMatchin interfaceCorsPolicyOrBuilder
-
getAllowOriginStringMatchOrBuilder
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;- Specified by:
getAllowOriginStringMatchOrBuilderin interfaceCorsPolicyOrBuilder
-
getAllowMethods
Specifies the content for the ``access-control-allow-methods`` header.
string allow_methods = 2;- Specified by:
getAllowMethodsin interfaceCorsPolicyOrBuilder- Returns:
- The allowMethods.
-
getAllowMethodsBytes
public com.google.protobuf.ByteString getAllowMethodsBytes()Specifies the content for the ``access-control-allow-methods`` header.
string allow_methods = 2;- Specified by:
getAllowMethodsBytesin interfaceCorsPolicyOrBuilder- Returns:
- The bytes for allowMethods.
-
getAllowHeaders
Specifies the content for the ``access-control-allow-headers`` header.
string allow_headers = 3;- Specified by:
getAllowHeadersin interfaceCorsPolicyOrBuilder- Returns:
- The allowHeaders.
-
getAllowHeadersBytes
public com.google.protobuf.ByteString getAllowHeadersBytes()Specifies the content for the ``access-control-allow-headers`` header.
string allow_headers = 3;- Specified by:
getAllowHeadersBytesin interfaceCorsPolicyOrBuilder- Returns:
- The bytes for allowHeaders.
-
getExposeHeaders
Specifies the content for the ``access-control-expose-headers`` header.
string expose_headers = 4;- Specified by:
getExposeHeadersin interfaceCorsPolicyOrBuilder- Returns:
- The exposeHeaders.
-
getExposeHeadersBytes
public com.google.protobuf.ByteString getExposeHeadersBytes()Specifies the content for the ``access-control-expose-headers`` header.
string expose_headers = 4;- Specified by:
getExposeHeadersBytesin interfaceCorsPolicyOrBuilder- Returns:
- The bytes for exposeHeaders.
-
getMaxAge
Specifies the content for the ``access-control-max-age`` header.
string max_age = 5;- Specified by:
getMaxAgein interfaceCorsPolicyOrBuilder- Returns:
- The maxAge.
-
getMaxAgeBytes
public com.google.protobuf.ByteString getMaxAgeBytes()Specifies the content for the ``access-control-max-age`` header.
string max_age = 5;- Specified by:
getMaxAgeBytesin interfaceCorsPolicyOrBuilder- Returns:
- The bytes for maxAge.
-
hasAllowCredentials
public boolean hasAllowCredentials()Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;- Specified by:
hasAllowCredentialsin interfaceCorsPolicyOrBuilder- Returns:
- Whether the allowCredentials field is set.
-
getAllowCredentials
public com.google.protobuf.BoolValue getAllowCredentials()Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;- Specified by:
getAllowCredentialsin interfaceCorsPolicyOrBuilder- Returns:
- The allowCredentials.
-
getAllowCredentialsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getAllowCredentialsOrBuilder()Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;- Specified by:
getAllowCredentialsOrBuilderin interfaceCorsPolicyOrBuilder
-
hasFilterEnabled
public 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_v3_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;- Specified by:
hasFilterEnabledin interfaceCorsPolicyOrBuilder- Returns:
- Whether the filterEnabled field is set.
-
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_v3_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;- Specified by:
getFilterEnabledin interfaceCorsPolicyOrBuilder- Returns:
- The filterEnabled.
-
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_v3_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;- Specified by:
getFilterEnabledOrBuilderin interfaceCorsPolicyOrBuilder
-
hasShadowEnabled
public 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_v3_api_field_config.core.v3.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.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;- Specified by:
hasShadowEnabledin interfaceCorsPolicyOrBuilder- Returns:
- Whether the shadowEnabled field is set.
-
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_v3_api_field_config.core.v3.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.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;- Specified by:
getShadowEnabledin interfaceCorsPolicyOrBuilder- Returns:
- The shadowEnabled.
-
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_v3_api_field_config.core.v3.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.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;- Specified by:
getShadowEnabledOrBuilderin interfaceCorsPolicyOrBuilder
-
hasAllowPrivateNetworkAccess
public boolean hasAllowPrivateNetworkAccess()Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched. More details refer to https://developer.chrome.com/blog/private-network-access-preflight.
.google.protobuf.BoolValue allow_private_network_access = 12;- Specified by:
hasAllowPrivateNetworkAccessin interfaceCorsPolicyOrBuilder- Returns:
- Whether the allowPrivateNetworkAccess field is set.
-
getAllowPrivateNetworkAccess
public com.google.protobuf.BoolValue getAllowPrivateNetworkAccess()Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched. More details refer to https://developer.chrome.com/blog/private-network-access-preflight.
.google.protobuf.BoolValue allow_private_network_access = 12;- Specified by:
getAllowPrivateNetworkAccessin interfaceCorsPolicyOrBuilder- Returns:
- The allowPrivateNetworkAccess.
-
getAllowPrivateNetworkAccessOrBuilder
public com.google.protobuf.BoolValueOrBuilder getAllowPrivateNetworkAccessOrBuilder()Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched. More details refer to https://developer.chrome.com/blog/private-network-access-preflight.
.google.protobuf.BoolValue allow_private_network_access = 12;- Specified by:
getAllowPrivateNetworkAccessOrBuilderin interfaceCorsPolicyOrBuilder
-
hasForwardNotMatchingPreflights
public boolean hasForwardNotMatchingPreflights()Specifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream. Default is true.
.google.protobuf.BoolValue forward_not_matching_preflights = 13;- Specified by:
hasForwardNotMatchingPreflightsin interfaceCorsPolicyOrBuilder- Returns:
- Whether the forwardNotMatchingPreflights field is set.
-
getForwardNotMatchingPreflights
public com.google.protobuf.BoolValue getForwardNotMatchingPreflights()Specifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream. Default is true.
.google.protobuf.BoolValue forward_not_matching_preflights = 13;- Specified by:
getForwardNotMatchingPreflightsin interfaceCorsPolicyOrBuilder- Returns:
- The forwardNotMatchingPreflights.
-
getForwardNotMatchingPreflightsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getForwardNotMatchingPreflightsOrBuilder()Specifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream. Default is true.
.google.protobuf.BoolValue forward_not_matching_preflights = 13;- Specified by:
getForwardNotMatchingPreflightsOrBuilderin interfaceCorsPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CorsPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CorsPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CorsPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CorsPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CorsPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CorsPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-