Class HealthCheck.GrpcHealthCheck.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<HealthCheck.GrpcHealthCheck.Builder>
-
- io.envoyproxy.envoy.config.core.v3.HealthCheck.GrpcHealthCheck.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HealthCheck.GrpcHealthCheckOrBuilder,java.lang.Cloneable
- Enclosing class:
- HealthCheck.GrpcHealthCheck
public static final class HealthCheck.GrpcHealthCheck.Builder extends com.google.protobuf.GeneratedMessage.Builder<HealthCheck.GrpcHealthCheck.Builder> implements HealthCheck.GrpcHealthCheckOrBuilder
`grpc.health.v1.Health <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto>`_-based healthcheck. See `gRPC doc <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for details.
Protobuf typeenvoy.config.core.v3.HealthCheck.GrpcHealthCheck
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Objectauthority_private intbitField0_private java.util.List<HeaderValueOption>initialMetadata_private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>initialMetadataBuilder_private java.lang.ObjectserviceName_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheck.GrpcHealthCheck.BuilderaddAllInitialMetadata(java.lang.Iterable<? extends HeaderValueOption> values)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuilderaddInitialMetadata(int index, HeaderValueOption value)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuilderaddInitialMetadata(int index, HeaderValueOption.Builder builderForValue)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuilderaddInitialMetadata(HeaderValueOption value)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuilderaddInitialMetadata(HeaderValueOption.Builder builderForValue)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HeaderValueOption.BuilderaddInitialMetadataBuilder()Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HeaderValueOption.BuilderaddInitialMetadataBuilder(int index)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheckbuild()HealthCheck.GrpcHealthCheckbuildPartial()private voidbuildPartial0(HealthCheck.GrpcHealthCheck result)private voidbuildPartialRepeatedFields(HealthCheck.GrpcHealthCheck result)HealthCheck.GrpcHealthCheck.Builderclear()HealthCheck.GrpcHealthCheck.BuilderclearAuthority()The value of the :authority header in the gRPC health check request.HealthCheck.GrpcHealthCheck.BuilderclearInitialMetadata()Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuilderclearServiceName()An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.private voidensureInitialMetadataIsMutable()java.lang.StringgetAuthority()The value of the :authority header in the gRPC health check request.com.google.protobuf.ByteStringgetAuthorityBytes()The value of the :authority header in the gRPC health check request.HealthCheck.GrpcHealthCheckgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeaderValueOptiongetInitialMetadata(int index)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HeaderValueOption.BuildergetInitialMetadataBuilder(int index)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.java.util.List<HeaderValueOption.Builder>getInitialMetadataBuilderList()Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.intgetInitialMetadataCount()Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>getInitialMetadataFieldBuilder()java.util.List<HeaderValueOption>getInitialMetadataList()Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HeaderValueOptionOrBuildergetInitialMetadataOrBuilder(int index)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.java.util.List<? extends HeaderValueOptionOrBuilder>getInitialMetadataOrBuilderList()Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.java.lang.StringgetServiceName()An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.com.google.protobuf.ByteStringgetServiceNameBytes()An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HealthCheck.GrpcHealthCheck.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HealthCheck.GrpcHealthCheck.BuildermergeFrom(com.google.protobuf.Message other)HealthCheck.GrpcHealthCheck.BuildermergeFrom(HealthCheck.GrpcHealthCheck other)HealthCheck.GrpcHealthCheck.BuilderremoveInitialMetadata(int index)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuildersetAuthority(java.lang.String value)The value of the :authority header in the gRPC health check request.HealthCheck.GrpcHealthCheck.BuildersetAuthorityBytes(com.google.protobuf.ByteString value)The value of the :authority header in the gRPC health check request.HealthCheck.GrpcHealthCheck.BuildersetInitialMetadata(int index, HeaderValueOption value)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuildersetInitialMetadata(int index, HeaderValueOption.Builder builderForValue)Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster.HealthCheck.GrpcHealthCheck.BuildersetServiceName(java.lang.String value)An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.HealthCheck.GrpcHealthCheck.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
serviceName_
private java.lang.Object serviceName_
-
authority_
private java.lang.Object authority_
-
initialMetadata_
private java.util.List<HeaderValueOption> initialMetadata_
-
initialMetadataBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> initialMetadataBuilder_
-
-
Method Detail
-
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<HealthCheck.GrpcHealthCheck.Builder>
-
clear
public HealthCheck.GrpcHealthCheck.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<HealthCheck.GrpcHealthCheck.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<HealthCheck.GrpcHealthCheck.Builder>
-
getDefaultInstanceForType
public HealthCheck.GrpcHealthCheck getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HealthCheck.GrpcHealthCheck build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HealthCheck.GrpcHealthCheck buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(HealthCheck.GrpcHealthCheck result)
-
buildPartial0
private void buildPartial0(HealthCheck.GrpcHealthCheck result)
-
mergeFrom
public HealthCheck.GrpcHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.GrpcHealthCheck.Builder>
-
mergeFrom
public HealthCheck.GrpcHealthCheck.Builder mergeFrom(HealthCheck.GrpcHealthCheck other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HealthCheck.GrpcHealthCheck.Builder>
-
mergeFrom
public HealthCheck.GrpcHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HealthCheck.GrpcHealthCheck.Builder>- Throws:
java.io.IOException
-
getServiceName
public java.lang.String getServiceName()
An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_. message. See `gRPC health-checking overview <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
string service_name = 1;- Specified by:
getServiceNamein interfaceHealthCheck.GrpcHealthCheckOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_. message. See `gRPC health-checking overview <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
string service_name = 1;- Specified by:
getServiceNameBytesin interfaceHealthCheck.GrpcHealthCheckOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
public HealthCheck.GrpcHealthCheck.Builder setServiceName(java.lang.String value)
An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_. message. See `gRPC health-checking overview <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
string service_name = 1;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
public HealthCheck.GrpcHealthCheck.Builder clearServiceName()
An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_. message. See `gRPC health-checking overview <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
string service_name = 1;- Returns:
- This builder for chaining.
-
setServiceNameBytes
public HealthCheck.GrpcHealthCheck.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
An optional service name parameter which will be sent to gRPC service in `grpc.health.v1.HealthCheckRequest <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_. message. See `gRPC health-checking overview <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
string service_name = 1;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
getAuthority
public java.lang.String getAuthority()
The value of the :authority header in the gRPC health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The authority header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }- Specified by:
getAuthorityin interfaceHealthCheck.GrpcHealthCheckOrBuilder- Returns:
- The authority.
-
getAuthorityBytes
public com.google.protobuf.ByteString getAuthorityBytes()
The value of the :authority header in the gRPC health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The authority header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }- Specified by:
getAuthorityBytesin interfaceHealthCheck.GrpcHealthCheckOrBuilder- Returns:
- The bytes for authority.
-
setAuthority
public HealthCheck.GrpcHealthCheck.Builder setAuthority(java.lang.String value)
The value of the :authority header in the gRPC health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The authority header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }- Parameters:
value- The authority to set.- Returns:
- This builder for chaining.
-
clearAuthority
public HealthCheck.GrpcHealthCheck.Builder clearAuthority()
The value of the :authority header in the gRPC health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The authority header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAuthorityBytes
public HealthCheck.GrpcHealthCheck.Builder setAuthorityBytes(com.google.protobuf.ByteString value)
The value of the :authority header in the gRPC health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The authority header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_v3_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for authority to set.- Returns:
- This builder for chaining.
-
ensureInitialMetadataIsMutable
private void ensureInitialMetadataIsMutable()
-
getInitialMetadataList
public java.util.List<HeaderValueOption> getInitialMetadataList()
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }- Specified by:
getInitialMetadataListin interfaceHealthCheck.GrpcHealthCheckOrBuilder
-
getInitialMetadataCount
public int getInitialMetadataCount()
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }- Specified by:
getInitialMetadataCountin interfaceHealthCheck.GrpcHealthCheckOrBuilder
-
getInitialMetadata
public HeaderValueOption getInitialMetadata(int index)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }- Specified by:
getInitialMetadatain interfaceHealthCheck.GrpcHealthCheckOrBuilder
-
setInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder setInitialMetadata(int index, HeaderValueOption value)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
setInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder setInitialMetadata(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
addInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder addInitialMetadata(HeaderValueOption value)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
addInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder addInitialMetadata(int index, HeaderValueOption value)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
addInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder addInitialMetadata(HeaderValueOption.Builder builderForValue)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
addInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder addInitialMetadata(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
addAllInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder addAllInitialMetadata(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
clearInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder clearInitialMetadata()
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
removeInitialMetadata
public HealthCheck.GrpcHealthCheck.Builder removeInitialMetadata(int index)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
getInitialMetadataBuilder
public HeaderValueOption.Builder getInitialMetadataBuilder(int index)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
getInitialMetadataOrBuilder
public HeaderValueOptionOrBuilder getInitialMetadataOrBuilder(int index)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }- Specified by:
getInitialMetadataOrBuilderin interfaceHealthCheck.GrpcHealthCheckOrBuilder
-
getInitialMetadataOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getInitialMetadataOrBuilderList()
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }- Specified by:
getInitialMetadataOrBuilderListin interfaceHealthCheck.GrpcHealthCheckOrBuilder
-
addInitialMetadataBuilder
public HeaderValueOption.Builder addInitialMetadataBuilder()
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
addInitialMetadataBuilder
public HeaderValueOption.Builder addInitialMetadataBuilder(int index)
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
getInitialMetadataBuilderList
public java.util.List<HeaderValueOption.Builder> getInitialMetadataBuilderList()
Specifies a list of key-value pairs that should be added to the metadata of each GRPC call that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption initial_metadata = 3 [(.validate.rules) = { ... }
-
getInitialMetadataFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getInitialMetadataFieldBuilder()
-
-