Class HttpService.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HttpService.Builder>
com.google.protobuf.GeneratedMessage.Builder<HttpService.Builder>
io.envoyproxy.envoy.config.core.v3.HttpService.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HttpServiceOrBuilder, Cloneable
- Enclosing class:
HttpService
public static final class HttpService.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HttpService.Builder>
implements HttpServiceOrBuilder
HTTP service configuration.Protobuf type
envoy.config.core.v3.HttpService-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.addRequestHeadersToAdd(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.Specifies a list of HTTP headers that should be added to each request handled by this virtual host.addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.Specifies a list of HTTP headers that should be added to each request handled by this virtual host.addRequestHeadersToAddBuilder(int index) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.build()clear()The service's HTTP URI.Specifies a list of HTTP headers that should be added to each request handled by this virtual host.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe service's HTTP URI.The service's HTTP URI.The service's HTTP URI.getRequestHeadersToAdd(int index) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.getRequestHeadersToAddBuilder(int index) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.Specifies a list of HTTP headers that should be added to each request handled by this virtual host.intSpecifies a list of HTTP headers that should be added to each request handled by this virtual host.Specifies a list of HTTP headers that should be added to each request handled by this virtual host.getRequestHeadersToAddOrBuilder(int index) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.List<? extends HeaderValueOptionOrBuilder> Specifies a list of HTTP headers that should be added to each request handled by this virtual host.booleanThe service's HTTP URI.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HttpService other) mergeHttpUri(HttpUri value) The service's HTTP URI.removeRequestHeadersToAdd(int index) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.setHttpUri(HttpUri value) The service's HTTP URI.setHttpUri(HttpUri.Builder builderForValue) The service's HTTP URI.setRequestHeadersToAdd(int index, HeaderValueOption value) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<HttpService.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HttpService.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HttpService.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpService.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HttpService.Builder>
-
mergeFrom
public HttpService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpService.Builder>- Throws:
IOException
-
hasHttpUri
public boolean hasHttpUri()The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1;- Specified by:
hasHttpUriin interfaceHttpServiceOrBuilder- Returns:
- Whether the httpUri field is set.
-
getHttpUri
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1;- Specified by:
getHttpUriin interfaceHttpServiceOrBuilder- Returns:
- The httpUri.
-
setHttpUri
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1; -
setHttpUri
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1; -
mergeHttpUri
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1; -
clearHttpUri
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1; -
getHttpUriBuilder
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1; -
getHttpUriOrBuilder
The service's HTTP URI. For example: .. code-block:: yaml http_uri: uri: https://www.myserviceapi.com/v1/data cluster: www.myserviceapi.com|443
.envoy.config.core.v3.HttpUri http_uri = 1;- Specified by:
getHttpUriOrBuilderin interfaceHttpServiceOrBuilder
-
getRequestHeadersToAddList
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddListin interfaceHttpServiceOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddCountin interfaceHttpServiceOrBuilder
-
getRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddin interfaceHttpServiceOrBuilder
-
setRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
setRequestHeadersToAdd
public HttpService.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
addRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
addRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
addRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
addRequestHeadersToAdd
public HttpService.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
addAllRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
clearRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
removeRequestHeadersToAdd
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
getRequestHeadersToAddBuilder
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
getRequestHeadersToAddOrBuilder
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderin interfaceHttpServiceOrBuilder
-
getRequestHeadersToAddOrBuilderList
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceHttpServiceOrBuilder
-
addRequestHeadersToAddBuilder
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
addRequestHeadersToAddBuilder
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... } -
getRequestHeadersToAddBuilderList
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 2 [(.validate.rules) = { ... }
-