public static final class HealthCheck.GrpcHealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.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 type
envoy.config.core.v4alpha.HealthCheck.GrpcHealthCheck| Modifier and Type | Method and Description |
|---|---|
HealthCheck.GrpcHealthCheck.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck.GrpcHealthCheck |
build() |
HealthCheck.GrpcHealthCheck |
buildPartial() |
HealthCheck.GrpcHealthCheck.Builder |
clear() |
HealthCheck.GrpcHealthCheck.Builder |
clearAuthority()
The value of the :authority header in the gRPC health check request.
|
HealthCheck.GrpcHealthCheck.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HealthCheck.GrpcHealthCheck.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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>`_.
|
HealthCheck.GrpcHealthCheck.Builder |
clone() |
String |
getAuthority()
The value of the :authority header in the gRPC health check request.
|
com.google.protobuf.ByteString |
getAuthorityBytes()
The value of the :authority header in the gRPC health check request.
|
HealthCheck.GrpcHealthCheck |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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>`_.
|
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>`_.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HealthCheck.GrpcHealthCheck.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HealthCheck.GrpcHealthCheck.Builder |
mergeFrom(HealthCheck.GrpcHealthCheck other) |
HealthCheck.GrpcHealthCheck.Builder |
mergeFrom(com.google.protobuf.Message other) |
HealthCheck.GrpcHealthCheck.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HealthCheck.GrpcHealthCheck.Builder |
setAuthority(String value)
The value of the :authority header in the gRPC health check request.
|
HealthCheck.GrpcHealthCheck.Builder |
setAuthorityBytes(com.google.protobuf.ByteString value)
The value of the :authority header in the gRPC health check request.
|
HealthCheck.GrpcHealthCheck.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HealthCheck.GrpcHealthCheck.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HealthCheck.GrpcHealthCheck.Builder |
setServiceName(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.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>`_.
|
HealthCheck.GrpcHealthCheck.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HealthCheck.GrpcHealthCheck build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck.GrpcHealthCheck buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HealthCheck.GrpcHealthCheck.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder mergeFrom(HealthCheck.GrpcHealthCheck other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public HealthCheck.GrpcHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.GrpcHealthCheck.Builder>IOExceptionpublic 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;getServiceName in interface HealthCheck.GrpcHealthCheckOrBuilderpublic 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;getServiceNameBytes in interface HealthCheck.GrpcHealthCheckOrBuilderpublic HealthCheck.GrpcHealthCheck.Builder setServiceName(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;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;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;public 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_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }getAuthority in interface HealthCheck.GrpcHealthCheckOrBuilderpublic 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_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }getAuthorityBytes in interface HealthCheck.GrpcHealthCheckOrBuilderpublic HealthCheck.GrpcHealthCheck.Builder setAuthority(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_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }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_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }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_api_field_config.endpoint.v3.Endpoint.HealthCheckConfig.hostname>` field.
string authority = 2 [(.validate.rules) = { ... }public final HealthCheck.GrpcHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>public final HealthCheck.GrpcHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.GrpcHealthCheck.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.