Class CorsPolicy

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CorsPolicyOrBuilder, java.io.Serializable

    public final class CorsPolicy
    extends com.google.protobuf.GeneratedMessageV3
    implements CorsPolicyOrBuilder
     [#next-free-field: 10]
     
    Protobuf type envoy.extensions.filters.http.cors.v3.CorsPolicy
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CorsPolicy.Builder
      [#next-free-field: 10]
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      com.google.protobuf.BoolValue getAllowCredentials()
      Specifies whether the resource allows credentials.
      com.google.protobuf.BoolValueOrBuilder getAllowCredentialsOrBuilder()
      Specifies whether the resource allows credentials.
      java.lang.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.
      java.lang.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.
      StringMatcher getAllowOriginStringMatch​(int index)
      Specifies string patterns that match allowed origins.
      int getAllowOriginStringMatchCount()
      Specifies string patterns that match allowed origins.
      java.util.List<StringMatcher> getAllowOriginStringMatchList()
      Specifies string patterns that match allowed origins.
      StringMatcherOrBuilder getAllowOriginStringMatchOrBuilder​(int index)
      Specifies string patterns that match allowed origins.
      java.util.List<? extends StringMatcherOrBuilder> getAllowOriginStringMatchOrBuilderList()
      Specifies string patterns that match allowed origins.
      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.
      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.
      static CorsPolicy getDefaultInstance()  
      CorsPolicy getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      java.lang.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.
      java.lang.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 hasAllowPrivateNetworkAccess()
      Specify whether allow requests whose target server's IP address is more private than that from which the request initiator was fetched.
      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 java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static CorsPolicy parseDelimitedFrom​(java.io.InputStream input)  
      static CorsPolicy parseDelimitedFrom​(java.io.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​(java.io.InputStream input)  
      static CorsPolicy parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static CorsPolicy parseFrom​(java.nio.ByteBuffer data)  
      static CorsPolicy parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<CorsPolicy> parser()  
      CorsPolicy.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, 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, hasField, hasOneof
    • Field Detail

      • ALLOW_ORIGIN_STRING_MATCH_FIELD_NUMBER

        public static final int ALLOW_ORIGIN_STRING_MATCH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALLOW_METHODS_FIELD_NUMBER

        public static final int ALLOW_METHODS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALLOW_HEADERS_FIELD_NUMBER

        public static final int ALLOW_HEADERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPOSE_HEADERS_FIELD_NUMBER

        public static final int EXPOSE_HEADERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALLOW_CREDENTIALS_FIELD_NUMBER

        public static final int ALLOW_CREDENTIALS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FILTER_ENABLED_FIELD_NUMBER

        public static final int FILTER_ENABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHADOW_ENABLED_FIELD_NUMBER

        public static final int SHADOW_ENABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALLOW_PRIVATE_NETWORK_ACCESS_FIELD_NUMBER

        public static final int ALLOW_PRIVATE_NETWORK_ACCESS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getAllowOriginStringMatchList

        public java.util.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.v3.StringMatcher allow_origin_string_match = 1;
        Specified by:
        getAllowOriginStringMatchList in interface CorsPolicyOrBuilder
      • getAllowOriginStringMatchOrBuilderList

        public java.util.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.v3.StringMatcher allow_origin_string_match = 1;
        Specified by:
        getAllowOriginStringMatchOrBuilderList in interface CorsPolicyOrBuilder
      • 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 = 1;
        Specified by:
        getAllowOriginStringMatchCount in interface CorsPolicyOrBuilder
      • getAllowOriginStringMatch

        public 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.v3.StringMatcher allow_origin_string_match = 1;
        Specified by:
        getAllowOriginStringMatch in interface CorsPolicyOrBuilder
      • getAllowOriginStringMatchOrBuilder

        public 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.v3.StringMatcher allow_origin_string_match = 1;
        Specified by:
        getAllowOriginStringMatchOrBuilder in interface CorsPolicyOrBuilder
      • getAllowMethods

        public java.lang.String getAllowMethods()
         Specifies the content for the ``access-control-allow-methods`` header.
         
        string allow_methods = 2;
        Specified by:
        getAllowMethods in interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
        Returns:
        The bytes for allowMethods.
      • getAllowHeaders

        public java.lang.String getAllowHeaders()
         Specifies the content for the ``access-control-allow-headers`` header.
         
        string allow_headers = 3;
        Specified by:
        getAllowHeaders in interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
        Returns:
        The bytes for allowHeaders.
      • getExposeHeaders

        public java.lang.String getExposeHeaders()
         Specifies the content for the ``access-control-expose-headers`` header.
         
        string expose_headers = 4;
        Specified by:
        getExposeHeaders in interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
        Returns:
        The bytes for exposeHeaders.
      • getMaxAge

        public java.lang.String getMaxAge()
         Specifies the content for the ``access-control-max-age`` header.
         
        string max_age = 5;
        Specified by:
        getMaxAge in interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
        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 interface CorsPolicyOrBuilder
      • hasFilterEnabled

        public boolean hasFilterEnabled()
         Specifies the % of requests for which the CORS filter is enabled.
         If neither ``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 = 7;
        Specified by:
        hasFilterEnabled in interface CorsPolicyOrBuilder
        Returns:
        Whether the filterEnabled field is set.
      • getFilterEnabled

        public RuntimeFractionalPercent getFilterEnabled()
         Specifies the % of requests for which the CORS filter is enabled.
         If neither ``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 = 7;
        Specified by:
        getFilterEnabled in interface CorsPolicyOrBuilder
        Returns:
        The filterEnabled.
      • getFilterEnabledOrBuilder

        public RuntimeFractionalPercentOrBuilder getFilterEnabledOrBuilder()
         Specifies the % of requests for which the CORS filter is enabled.
         If neither ``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 = 7;
        Specified by:
        getFilterEnabledOrBuilder in interface CorsPolicyOrBuilder
      • 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`` is off. That field 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 = 8;
        Specified by:
        hasShadowEnabled in interface CorsPolicyOrBuilder
        Returns:
        Whether the shadowEnabled field is set.
      • getShadowEnabled

        public 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`` is off. That field 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 = 8;
        Specified by:
        getShadowEnabled in interface CorsPolicyOrBuilder
        Returns:
        The shadowEnabled.
      • getShadowEnabledOrBuilder

        public 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`` is off. That field 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 = 8;
        Specified by:
        getShadowEnabledOrBuilder in interface CorsPolicyOrBuilder
      • 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 = 9;
        Specified by:
        hasAllowPrivateNetworkAccess in interface CorsPolicyOrBuilder
        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 = 9;
        Specified by:
        getAllowPrivateNetworkAccess in interface CorsPolicyOrBuilder
        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 = 9;
        Specified by:
        getAllowPrivateNetworkAccessOrBuilder in interface CorsPolicyOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CorsPolicy parseFrom​(java.nio.ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CorsPolicy parseFrom​(java.nio.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

        public static CorsPolicy parseFrom​(java.io.InputStream input)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CorsPolicy parseFrom​(java.io.InputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CorsPolicy parseDelimitedFrom​(java.io.InputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CorsPolicy parseDelimitedFrom​(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CorsPolicy parseFrom​(com.google.protobuf.CodedInputStream input)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CorsPolicy parseFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public CorsPolicy.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CorsPolicy.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CorsPolicy.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static CorsPolicy getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<CorsPolicy> parser()
      • getParserForType

        public com.google.protobuf.Parser<CorsPolicy> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CorsPolicy getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder