Class HttpKeyBuilder

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

    public final class HttpKeyBuilder
    extends com.google.protobuf.GeneratedMessage
    implements HttpKeyBuilderOrBuilder
     An HttpKeyBuilder applies to a given HTTP URL and headers.
    
     Path and host patterns use the matching syntax from gRPC transcoding to
     extract named key/value pairs from the path and host components of the URL:
     https://github.com/googleapis/googleapis/blob/master/google/api/http.proto
    
     It is invalid to specify the same key name in multiple places in a pattern.
    
     For a service where the project id can be expressed either as a subdomain or
     in the path, separate HttpKeyBuilders must be used:
     host_pattern: 'example.com' path_pattern: '/{id}/{object}/**'
     host_pattern: '{id}.example.com' path_pattern: '/{object}/**'
     If the host is exactly 'example.com', the first path segment will be used as
     the id and the second segment as the object. If the host has a subdomain, the
     subdomain will be used as the id and the first segment as the object. If
     neither pattern matches, no keys will be extracted.
     
    Protobuf type grpc.lookup.v1.HttpKeyBuilder
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  HttpKeyBuilder.Builder
      An HttpKeyBuilder applies to a given HTTP URL and headers.
      private static class  HttpKeyBuilder.ConstantKeysDefaultEntryHolder  
      • 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 extends java.lang.Object>, 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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private HttpKeyBuilder()  
      private HttpKeyBuilder​(com.google.protobuf.GeneratedMessage.Builder<?> builder)  
    • Field Detail

      • HOST_PATTERNS_FIELD_NUMBER

        public static final int HOST_PATTERNS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • hostPatterns_

        private com.google.protobuf.LazyStringArrayList hostPatterns_
      • PATH_PATTERNS_FIELD_NUMBER

        public static final int PATH_PATTERNS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • pathPatterns_

        private com.google.protobuf.LazyStringArrayList pathPatterns_
      • QUERY_PARAMETERS_FIELD_NUMBER

        public static final int QUERY_PARAMETERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • queryParameters_

        private java.util.List<NameMatcher> queryParameters_
      • headers_

        private java.util.List<NameMatcher> headers_
      • CONSTANT_KEYS_FIELD_NUMBER

        public static final int CONSTANT_KEYS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • constantKeys_

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> constantKeys_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • DEFAULT_INSTANCE

        private static final HttpKeyBuilder DEFAULT_INSTANCE
      • PARSER

        private static final com.google.protobuf.Parser<HttpKeyBuilder> PARSER
    • Constructor Detail

      • HttpKeyBuilder

        private HttpKeyBuilder​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • HttpKeyBuilder

        private HttpKeyBuilder()
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getHostPatternsList

        public com.google.protobuf.ProtocolStringList getHostPatternsList()
         host_pattern is an ordered list of host template patterns for the desired
         value.  If any host_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A host
         consists of labels separated by dots. Each label is matched against the
         label in the pattern as follows:
         - "*": Matches any single label.
         - "**": Matches zero or more labels (first or last part of host only).
         - "{<name>=...}": One or more label capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single label capture. Identical to {<name>=*}.
        
         Examples:
         - "example.com": Only applies to the exact host example.com.
         - "*.example.com": Matches subdomains of example.com.
         - "**.example.com": matches example.com, and all levels of subdomains.
         - "{project}.example.com": Extracts the third level subdomain.
         - "{project=**}.example.com": Extracts the third level+ subdomains.
         - "{project=**}": Extracts the entire host.
         
        repeated string host_patterns = 1;
        Specified by:
        getHostPatternsList in interface HttpKeyBuilderOrBuilder
        Returns:
        A list containing the hostPatterns.
      • getHostPatternsCount

        public int getHostPatternsCount()
         host_pattern is an ordered list of host template patterns for the desired
         value.  If any host_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A host
         consists of labels separated by dots. Each label is matched against the
         label in the pattern as follows:
         - "*": Matches any single label.
         - "**": Matches zero or more labels (first or last part of host only).
         - "{<name>=...}": One or more label capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single label capture. Identical to {<name>=*}.
        
         Examples:
         - "example.com": Only applies to the exact host example.com.
         - "*.example.com": Matches subdomains of example.com.
         - "**.example.com": matches example.com, and all levels of subdomains.
         - "{project}.example.com": Extracts the third level subdomain.
         - "{project=**}.example.com": Extracts the third level+ subdomains.
         - "{project=**}": Extracts the entire host.
         
        repeated string host_patterns = 1;
        Specified by:
        getHostPatternsCount in interface HttpKeyBuilderOrBuilder
        Returns:
        The count of hostPatterns.
      • getHostPatterns

        public java.lang.String getHostPatterns​(int index)
         host_pattern is an ordered list of host template patterns for the desired
         value.  If any host_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A host
         consists of labels separated by dots. Each label is matched against the
         label in the pattern as follows:
         - "*": Matches any single label.
         - "**": Matches zero or more labels (first or last part of host only).
         - "{<name>=...}": One or more label capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single label capture. Identical to {<name>=*}.
        
         Examples:
         - "example.com": Only applies to the exact host example.com.
         - "*.example.com": Matches subdomains of example.com.
         - "**.example.com": matches example.com, and all levels of subdomains.
         - "{project}.example.com": Extracts the third level subdomain.
         - "{project=**}.example.com": Extracts the third level+ subdomains.
         - "{project=**}": Extracts the entire host.
         
        repeated string host_patterns = 1;
        Specified by:
        getHostPatterns in interface HttpKeyBuilderOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The hostPatterns at the given index.
      • getHostPatternsBytes

        public com.google.protobuf.ByteString getHostPatternsBytes​(int index)
         host_pattern is an ordered list of host template patterns for the desired
         value.  If any host_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A host
         consists of labels separated by dots. Each label is matched against the
         label in the pattern as follows:
         - "*": Matches any single label.
         - "**": Matches zero or more labels (first or last part of host only).
         - "{<name>=...}": One or more label capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single label capture. Identical to {<name>=*}.
        
         Examples:
         - "example.com": Only applies to the exact host example.com.
         - "*.example.com": Matches subdomains of example.com.
         - "**.example.com": matches example.com, and all levels of subdomains.
         - "{project}.example.com": Extracts the third level subdomain.
         - "{project=**}.example.com": Extracts the third level+ subdomains.
         - "{project=**}": Extracts the entire host.
         
        repeated string host_patterns = 1;
        Specified by:
        getHostPatternsBytes in interface HttpKeyBuilderOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the hostPatterns at the given index.
      • getPathPatternsList

        public com.google.protobuf.ProtocolStringList getPathPatternsList()
         path_pattern is an ordered list of path template patterns for the desired
         value.  If any path_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A path
         consists of segments separated by slashes. Each segment is matched against
         the segment in the pattern as follows:
         - "*": Matches any single segment.
         - "**": Matches zero or more segments (first or last part of path only).
         - "{<name>=...}": One or more segment capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single segment capture. Identical to {<name>=*}.
         A custom method may also be specified by appending ":" and the custom
         method name or "*" to indicate any custom method (including no custom
         method).  For example, "/*/projects/{project_id}/**:*" extracts
         `{project_id}` for any version, resource and custom method that includes
         it.  By default, any custom method will be matched.
        
         Examples:
         - "/v1/{name=messages/*}": extracts a name like "messages/12345".
         - "/v1/messages/{message_id}": extracts a message_id like "12345".
         - "/v1/users/{user_id}/messages/{message_id}": extracts two key values.
         
        repeated string path_patterns = 2;
        Specified by:
        getPathPatternsList in interface HttpKeyBuilderOrBuilder
        Returns:
        A list containing the pathPatterns.
      • getPathPatternsCount

        public int getPathPatternsCount()
         path_pattern is an ordered list of path template patterns for the desired
         value.  If any path_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A path
         consists of segments separated by slashes. Each segment is matched against
         the segment in the pattern as follows:
         - "*": Matches any single segment.
         - "**": Matches zero or more segments (first or last part of path only).
         - "{<name>=...}": One or more segment capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single segment capture. Identical to {<name>=*}.
         A custom method may also be specified by appending ":" and the custom
         method name or "*" to indicate any custom method (including no custom
         method).  For example, "/*/projects/{project_id}/**:*" extracts
         `{project_id}` for any version, resource and custom method that includes
         it.  By default, any custom method will be matched.
        
         Examples:
         - "/v1/{name=messages/*}": extracts a name like "messages/12345".
         - "/v1/messages/{message_id}": extracts a message_id like "12345".
         - "/v1/users/{user_id}/messages/{message_id}": extracts two key values.
         
        repeated string path_patterns = 2;
        Specified by:
        getPathPatternsCount in interface HttpKeyBuilderOrBuilder
        Returns:
        The count of pathPatterns.
      • getPathPatterns

        public java.lang.String getPathPatterns​(int index)
         path_pattern is an ordered list of path template patterns for the desired
         value.  If any path_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A path
         consists of segments separated by slashes. Each segment is matched against
         the segment in the pattern as follows:
         - "*": Matches any single segment.
         - "**": Matches zero or more segments (first or last part of path only).
         - "{<name>=...}": One or more segment capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single segment capture. Identical to {<name>=*}.
         A custom method may also be specified by appending ":" and the custom
         method name or "*" to indicate any custom method (including no custom
         method).  For example, "/*/projects/{project_id}/**:*" extracts
         `{project_id}` for any version, resource and custom method that includes
         it.  By default, any custom method will be matched.
        
         Examples:
         - "/v1/{name=messages/*}": extracts a name like "messages/12345".
         - "/v1/messages/{message_id}": extracts a message_id like "12345".
         - "/v1/users/{user_id}/messages/{message_id}": extracts two key values.
         
        repeated string path_patterns = 2;
        Specified by:
        getPathPatterns in interface HttpKeyBuilderOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pathPatterns at the given index.
      • getPathPatternsBytes

        public com.google.protobuf.ByteString getPathPatternsBytes​(int index)
         path_pattern is an ordered list of path template patterns for the desired
         value.  If any path_pattern values are specified, then at least one must
         match, and the last one wins and sets any specified variables.  A path
         consists of segments separated by slashes. Each segment is matched against
         the segment in the pattern as follows:
         - "*": Matches any single segment.
         - "**": Matches zero or more segments (first or last part of path only).
         - "{<name>=...}": One or more segment capture, where "..." can be any
         template that does not include a capture.
         - "{<name>}": A single segment capture. Identical to {<name>=*}.
         A custom method may also be specified by appending ":" and the custom
         method name or "*" to indicate any custom method (including no custom
         method).  For example, "/*/projects/{project_id}/**:*" extracts
         `{project_id}` for any version, resource and custom method that includes
         it.  By default, any custom method will be matched.
        
         Examples:
         - "/v1/{name=messages/*}": extracts a name like "messages/12345".
         - "/v1/messages/{message_id}": extracts a message_id like "12345".
         - "/v1/users/{user_id}/messages/{message_id}": extracts two key values.
         
        repeated string path_patterns = 2;
        Specified by:
        getPathPatternsBytes in interface HttpKeyBuilderOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pathPatterns at the given index.
      • getQueryParametersList

        public java.util.List<NameMatcher> getQueryParametersList()
         List of query parameter names to try to match.
         For example: ["parent", "name", "resource.name"]
         We extract all the specified query_parameters (case-sensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given parameter appears multiple times (?foo=a&foo=b) we
         will report it as a comma-separated string (foo=a,b).
         
        repeated .grpc.lookup.v1.NameMatcher query_parameters = 3;
        Specified by:
        getQueryParametersList in interface HttpKeyBuilderOrBuilder
      • getQueryParametersOrBuilderList

        public java.util.List<? extends NameMatcherOrBuilder> getQueryParametersOrBuilderList()
         List of query parameter names to try to match.
         For example: ["parent", "name", "resource.name"]
         We extract all the specified query_parameters (case-sensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given parameter appears multiple times (?foo=a&foo=b) we
         will report it as a comma-separated string (foo=a,b).
         
        repeated .grpc.lookup.v1.NameMatcher query_parameters = 3;
        Specified by:
        getQueryParametersOrBuilderList in interface HttpKeyBuilderOrBuilder
      • getQueryParametersCount

        public int getQueryParametersCount()
         List of query parameter names to try to match.
         For example: ["parent", "name", "resource.name"]
         We extract all the specified query_parameters (case-sensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given parameter appears multiple times (?foo=a&foo=b) we
         will report it as a comma-separated string (foo=a,b).
         
        repeated .grpc.lookup.v1.NameMatcher query_parameters = 3;
        Specified by:
        getQueryParametersCount in interface HttpKeyBuilderOrBuilder
      • getQueryParameters

        public NameMatcher getQueryParameters​(int index)
         List of query parameter names to try to match.
         For example: ["parent", "name", "resource.name"]
         We extract all the specified query_parameters (case-sensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given parameter appears multiple times (?foo=a&foo=b) we
         will report it as a comma-separated string (foo=a,b).
         
        repeated .grpc.lookup.v1.NameMatcher query_parameters = 3;
        Specified by:
        getQueryParameters in interface HttpKeyBuilderOrBuilder
      • getQueryParametersOrBuilder

        public NameMatcherOrBuilder getQueryParametersOrBuilder​(int index)
         List of query parameter names to try to match.
         For example: ["parent", "name", "resource.name"]
         We extract all the specified query_parameters (case-sensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given parameter appears multiple times (?foo=a&foo=b) we
         will report it as a comma-separated string (foo=a,b).
         
        repeated .grpc.lookup.v1.NameMatcher query_parameters = 3;
        Specified by:
        getQueryParametersOrBuilder in interface HttpKeyBuilderOrBuilder
      • getHeadersList

        public java.util.List<NameMatcher> getHeadersList()
         List of headers to try to match.
         We extract all the specified header values (case-insensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given header appears multiple times in the request we will
         report it as a comma-separated string, in standard HTTP fashion.
         
        repeated .grpc.lookup.v1.NameMatcher headers = 4;
        Specified by:
        getHeadersList in interface HttpKeyBuilderOrBuilder
      • getHeadersOrBuilderList

        public java.util.List<? extends NameMatcherOrBuilder> getHeadersOrBuilderList()
         List of headers to try to match.
         We extract all the specified header values (case-insensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given header appears multiple times in the request we will
         report it as a comma-separated string, in standard HTTP fashion.
         
        repeated .grpc.lookup.v1.NameMatcher headers = 4;
        Specified by:
        getHeadersOrBuilderList in interface HttpKeyBuilderOrBuilder
      • getHeadersCount

        public int getHeadersCount()
         List of headers to try to match.
         We extract all the specified header values (case-insensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given header appears multiple times in the request we will
         report it as a comma-separated string, in standard HTTP fashion.
         
        repeated .grpc.lookup.v1.NameMatcher headers = 4;
        Specified by:
        getHeadersCount in interface HttpKeyBuilderOrBuilder
      • getHeaders

        public NameMatcher getHeaders​(int index)
         List of headers to try to match.
         We extract all the specified header values (case-insensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given header appears multiple times in the request we will
         report it as a comma-separated string, in standard HTTP fashion.
         
        repeated .grpc.lookup.v1.NameMatcher headers = 4;
        Specified by:
        getHeaders in interface HttpKeyBuilderOrBuilder
      • getHeadersOrBuilder

        public NameMatcherOrBuilder getHeadersOrBuilder​(int index)
         List of headers to try to match.
         We extract all the specified header values (case-insensitively).  If any
         are marked as "required_match" and are not present, this keybuilder fails
         to match.  If a given header appears multiple times in the request we will
         report it as a comma-separated string, in standard HTTP fashion.
         
        repeated .grpc.lookup.v1.NameMatcher headers = 4;
        Specified by:
        getHeadersOrBuilder in interface HttpKeyBuilderOrBuilder
      • internalGetConstantKeys

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetConstantKeys()
      • getConstantKeysCount

        public int getConstantKeysCount()
        Description copied from interface: HttpKeyBuilderOrBuilder
         You can optionally set one or more specific key/value pairs to be added to
         the key_map.  This can be useful to identify which builder built the key,
         for example if you are suppressing a lot of information from the URL, but
         need to separately cache and request URLs with that content.
         
        map<string, string> constant_keys = 5;
        Specified by:
        getConstantKeysCount in interface HttpKeyBuilderOrBuilder
      • containsConstantKeys

        public boolean containsConstantKeys​(java.lang.String key)
         You can optionally set one or more specific key/value pairs to be added to
         the key_map.  This can be useful to identify which builder built the key,
         for example if you are suppressing a lot of information from the URL, but
         need to separately cache and request URLs with that content.
         
        map<string, string> constant_keys = 5;
        Specified by:
        containsConstantKeys in interface HttpKeyBuilderOrBuilder
      • getConstantKeysMap

        public java.util.Map<java.lang.String,​java.lang.String> getConstantKeysMap()
         You can optionally set one or more specific key/value pairs to be added to
         the key_map.  This can be useful to identify which builder built the key,
         for example if you are suppressing a lot of information from the URL, but
         need to separately cache and request URLs with that content.
         
        map<string, string> constant_keys = 5;
        Specified by:
        getConstantKeysMap in interface HttpKeyBuilderOrBuilder
      • getConstantKeysOrDefault

        public java.lang.String getConstantKeysOrDefault​(java.lang.String key,
                                                         java.lang.String defaultValue)
         You can optionally set one or more specific key/value pairs to be added to
         the key_map.  This can be useful to identify which builder built the key,
         for example if you are suppressing a lot of information from the URL, but
         need to separately cache and request URLs with that content.
         
        map<string, string> constant_keys = 5;
        Specified by:
        getConstantKeysOrDefault in interface HttpKeyBuilderOrBuilder
      • getConstantKeysOrThrow

        public java.lang.String getConstantKeysOrThrow​(java.lang.String key)
         You can optionally set one or more specific key/value pairs to be added to
         the key_map.  This can be useful to identify which builder built the key,
         for example if you are suppressing a lot of information from the URL, but
         need to separately cache and request URLs with that content.
         
        map<string, string> constant_keys = 5;
        Specified by:
        getConstantKeysOrThrow in interface HttpKeyBuilderOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • 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.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • 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 HttpKeyBuilder parseFrom​(java.nio.ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HttpKeyBuilder parseFrom​(java.nio.ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HttpKeyBuilder parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HttpKeyBuilder parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HttpKeyBuilder parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static HttpKeyBuilder parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected HttpKeyBuilder.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getDefaultInstance

        public static HttpKeyBuilder getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<HttpKeyBuilder> 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.GeneratedMessage
      • getDefaultInstanceForType

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