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 class
Cors policy configuration.static enum
Nested 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.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
private com.google.protobuf.BoolValue
private Object
private Object
private List
<StringMatcher> private com.google.protobuf.BoolValue
private int
private static final CorsPolicy
private Object
private int
static final int
private Object
static final int
static final int
private com.google.protobuf.BoolValue
static final int
private Object
private byte
private static final com.google.protobuf.Parser
<CorsPolicy> private static final long
static final int
private RuntimeFractionalPercent
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
CorsPolicy
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.protobuf.BoolValue
Specifies whether the resource allows credentials.com.google.protobuf.BoolValueOrBuilder
Specifies whether the resource allows credentials.Specifies the content for the ``access-control-allow-headers`` header.com.google.protobuf.ByteString
Specifies the content for the ``access-control-allow-headers`` header.Specifies the content for the ``access-control-allow-methods`` header.com.google.protobuf.ByteString
Specifies the content for the ``access-control-allow-methods`` header.getAllowOriginStringMatch
(int index) Specifies string patterns that match allowed origins.int
Specifies 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.BoolValue
Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.com.google.protobuf.BoolValueOrBuilder
Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.static CorsPolicy
static final com.google.protobuf.Descriptors.Descriptor
Specifies the content for the ``access-control-expose-headers`` header.com.google.protobuf.ByteString
Specifies 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.BoolValue
Specifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream.com.google.protobuf.BoolValueOrBuilder
Specifies 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.ByteString
Specifies the content for the ``access-control-max-age`` header.com.google.protobuf.Parser
<CorsPolicy> int
Specifies 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.boolean
Specifies whether the resource allows credentials.boolean
Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.boolean
Specifies the % of requests for which the CORS filter is enabled.boolean
Specifies if preflight requests not matching the configured allowed origin should be forwarded to the upstream.int
hashCode()
boolean
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static CorsPolicy.Builder
static CorsPolicy.Builder
newBuilder
(CorsPolicy prototype) protected CorsPolicy.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) 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
(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 CorsPolicy
parseFrom
(ByteBuffer data) static CorsPolicy
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<CorsPolicy> parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getEnabledSpecifierCase
- Specified by:
getEnabledSpecifierCase
in 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:
getAllowOriginStringMatchList
in 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:
getAllowOriginStringMatchOrBuilderList
in 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:
getAllowOriginStringMatchCount
in 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:
getAllowOriginStringMatch
in 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:
getAllowOriginStringMatchOrBuilder
in interfaceCorsPolicyOrBuilder
-
getAllowMethods
Specifies the content for the ``access-control-allow-methods`` header.
string allow_methods = 2;
- Specified by:
getAllowMethods
in 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:
getAllowMethodsBytes
in interfaceCorsPolicyOrBuilder
- Returns:
- The bytes for allowMethods.
-
getAllowHeaders
Specifies the content for the ``access-control-allow-headers`` header.
string allow_headers = 3;
- Specified by:
getAllowHeaders
in 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:
getAllowHeadersBytes
in interfaceCorsPolicyOrBuilder
- Returns:
- The bytes for allowHeaders.
-
getExposeHeaders
Specifies the content for the ``access-control-expose-headers`` header.
string expose_headers = 4;
- Specified by:
getExposeHeaders
in 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:
getExposeHeadersBytes
in interfaceCorsPolicyOrBuilder
- Returns:
- The bytes for exposeHeaders.
-
getMaxAge
Specifies the content for the ``access-control-max-age`` header.
string max_age = 5;
- Specified by:
getMaxAge
in 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:
getMaxAgeBytes
in interfaceCorsPolicyOrBuilder
- Returns:
- The bytes for maxAge.
-
hasAllowCredentials
public boolean hasAllowCredentials()Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;
- Specified by:
hasAllowCredentials
in 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:
getAllowCredentials
in 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:
getAllowCredentialsOrBuilder
in 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:
hasFilterEnabled
in 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:
getFilterEnabled
in 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:
getFilterEnabledOrBuilder
in 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:
hasShadowEnabled
in 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:
getShadowEnabled
in 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:
getShadowEnabledOrBuilder
in 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:
hasAllowPrivateNetworkAccess
in 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:
getAllowPrivateNetworkAccess
in 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:
getAllowPrivateNetworkAccessOrBuilder
in 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:
hasForwardNotMatchingPreflights
in 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:
getForwardNotMatchingPreflights
in 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:
getForwardNotMatchingPreflightsOrBuilder
in interfaceCorsPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CorsPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-