Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/health/v3/hds.proto
package io.envoyproxy.envoy.service.health.v3;
/**
*
* The cluster name and locality is provided to Envoy for the endpoints that it
* health checks to support statistics reporting, logging and debugging by the
* Envoy instance (outside of HDS). For maximum usefulness, it should match the
* same cluster structure as that provided by EDS.
* [#next-free-field: 6]
*
*
* Protobuf type {@code envoy.service.health.v3.ClusterHealthCheck}
*/
public final class ClusterHealthCheck extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.service.health.v3.ClusterHealthCheck)
ClusterHealthCheckOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClusterHealthCheck.newBuilder() to construct.
private ClusterHealthCheck(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClusterHealthCheck() {
clusterName_ = "";
healthChecks_ = java.util.Collections.emptyList();
localityEndpoints_ = java.util.Collections.emptyList();
transportSocketMatches_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClusterHealthCheck();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClusterHealthCheck(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
clusterName_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
healthChecks_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
healthChecks_.add(
input.readMessage(io.envoyproxy.envoy.config.core.v3.HealthCheck.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
localityEndpoints_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
localityEndpoints_.add(
input.readMessage(io.envoyproxy.envoy.service.health.v3.LocalityEndpoints.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
transportSocketMatches_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
transportSocketMatches_.add(
input.readMessage(io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatch.parser(), extensionRegistry));
break;
}
case 42: {
io.envoyproxy.envoy.config.core.v3.BindConfig.Builder subBuilder = null;
if (upstreamBindConfig_ != null) {
subBuilder = upstreamBindConfig_.toBuilder();
}
upstreamBindConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.BindConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(upstreamBindConfig_);
upstreamBindConfig_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
healthChecks_ = java.util.Collections.unmodifiableList(healthChecks_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
localityEndpoints_ = java.util.Collections.unmodifiableList(localityEndpoints_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
transportSocketMatches_ = java.util.Collections.unmodifiableList(transportSocketMatches_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.service.health.v3.HdsProto.internal_static_envoy_service_health_v3_ClusterHealthCheck_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.service.health.v3.HdsProto.internal_static_envoy_service_health_v3_ClusterHealthCheck_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck.class, io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck.Builder.class);
}
public static final int CLUSTER_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object clusterName_;
/**
* string cluster_name = 1;
* @return The clusterName.
*/
@java.lang.Override
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clusterName_ = s;
return s;
}
}
/**
* string cluster_name = 1;
* @return The bytes for clusterName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterNameBytes() {
java.lang.Object ref = clusterName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HEALTH_CHECKS_FIELD_NUMBER = 2;
private java.util.List healthChecks_;
/**
* repeated .envoy.config.core.v3.HealthCheck health_checks = 2;
*/
@java.lang.Override
public java.util.List getHealthChecksList() {
return healthChecks_;
}
/**
* repeated .envoy.config.core.v3.HealthCheck health_checks = 2;
*/
@java.lang.Override
public java.util.List extends io.envoyproxy.envoy.config.core.v3.HealthCheckOrBuilder>
getHealthChecksOrBuilderList() {
return healthChecks_;
}
/**
* repeated .envoy.config.core.v3.HealthCheck health_checks = 2;
*/
@java.lang.Override
public int getHealthChecksCount() {
return healthChecks_.size();
}
/**
* repeated .envoy.config.core.v3.HealthCheck health_checks = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.HealthCheck getHealthChecks(int index) {
return healthChecks_.get(index);
}
/**
* repeated .envoy.config.core.v3.HealthCheck health_checks = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.HealthCheckOrBuilder getHealthChecksOrBuilder(
int index) {
return healthChecks_.get(index);
}
public static final int LOCALITY_ENDPOINTS_FIELD_NUMBER = 3;
private java.util.List localityEndpoints_;
/**
* repeated .envoy.service.health.v3.LocalityEndpoints locality_endpoints = 3;
*/
@java.lang.Override
public java.util.List getLocalityEndpointsList() {
return localityEndpoints_;
}
/**
* repeated .envoy.service.health.v3.LocalityEndpoints locality_endpoints = 3;
*/
@java.lang.Override
public java.util.List extends io.envoyproxy.envoy.service.health.v3.LocalityEndpointsOrBuilder>
getLocalityEndpointsOrBuilderList() {
return localityEndpoints_;
}
/**
* repeated .envoy.service.health.v3.LocalityEndpoints locality_endpoints = 3;
*/
@java.lang.Override
public int getLocalityEndpointsCount() {
return localityEndpoints_.size();
}
/**
* repeated .envoy.service.health.v3.LocalityEndpoints locality_endpoints = 3;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.health.v3.LocalityEndpoints getLocalityEndpoints(int index) {
return localityEndpoints_.get(index);
}
/**
* repeated .envoy.service.health.v3.LocalityEndpoints locality_endpoints = 3;
*/
@java.lang.Override
public io.envoyproxy.envoy.service.health.v3.LocalityEndpointsOrBuilder getLocalityEndpointsOrBuilder(
int index) {
return localityEndpoints_.get(index);
}
public static final int TRANSPORT_SOCKET_MATCHES_FIELD_NUMBER = 4;
private java.util.List transportSocketMatches_;
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
@java.lang.Override
public int getTransportSocketMatchesCount() {
return transportSocketMatches_.size();
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatchOrBuilder getTransportSocketMatchesOrBuilder(
int index) {
return transportSocketMatches_.get(index);
}
public static final int UPSTREAM_BIND_CONFIG_FIELD_NUMBER = 5;
private io.envoyproxy.envoy.config.core.v3.BindConfig upstreamBindConfig_;
/**
*
* Optional configuration used to bind newly established upstream connections.
* If the address and port are empty, no bind will be performed.
*
*
* .envoy.config.core.v3.BindConfig upstream_bind_config = 5;
* @return Whether the upstreamBindConfig field is set.
*/
@java.lang.Override
public boolean hasUpstreamBindConfig() {
return upstreamBindConfig_ != null;
}
/**
*
* Optional configuration used to bind newly established upstream connections.
* If the address and port are empty, no bind will be performed.
*
* Optional configuration used to bind newly established upstream connections.
* If the address and port are empty, no bind will be performed.
*
*
* .envoy.config.core.v3.BindConfig upstream_bind_config = 5;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.BindConfigOrBuilder getUpstreamBindConfigOrBuilder() {
return getUpstreamBindConfig();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterName_);
}
for (int i = 0; i < healthChecks_.size(); i++) {
output.writeMessage(2, healthChecks_.get(i));
}
for (int i = 0; i < localityEndpoints_.size(); i++) {
output.writeMessage(3, localityEndpoints_.get(i));
}
for (int i = 0; i < transportSocketMatches_.size(); i++) {
output.writeMessage(4, transportSocketMatches_.get(i));
}
if (upstreamBindConfig_ != null) {
output.writeMessage(5, getUpstreamBindConfig());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterName_);
}
for (int i = 0; i < healthChecks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, healthChecks_.get(i));
}
for (int i = 0; i < localityEndpoints_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, localityEndpoints_.get(i));
}
for (int i = 0; i < transportSocketMatches_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, transportSocketMatches_.get(i));
}
if (upstreamBindConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getUpstreamBindConfig());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck)) {
return super.equals(obj);
}
io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck other = (io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck) obj;
if (!getClusterName()
.equals(other.getClusterName())) return false;
if (!getHealthChecksList()
.equals(other.getHealthChecksList())) return false;
if (!getLocalityEndpointsList()
.equals(other.getLocalityEndpointsList())) return false;
if (!getTransportSocketMatchesList()
.equals(other.getTransportSocketMatchesList())) return false;
if (hasUpstreamBindConfig() != other.hasUpstreamBindConfig()) return false;
if (hasUpstreamBindConfig()) {
if (!getUpstreamBindConfig()
.equals(other.getUpstreamBindConfig())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClusterName().hashCode();
if (getHealthChecksCount() > 0) {
hash = (37 * hash) + HEALTH_CHECKS_FIELD_NUMBER;
hash = (53 * hash) + getHealthChecksList().hashCode();
}
if (getLocalityEndpointsCount() > 0) {
hash = (37 * hash) + LOCALITY_ENDPOINTS_FIELD_NUMBER;
hash = (53 * hash) + getLocalityEndpointsList().hashCode();
}
if (getTransportSocketMatchesCount() > 0) {
hash = (37 * hash) + TRANSPORT_SOCKET_MATCHES_FIELD_NUMBER;
hash = (53 * hash) + getTransportSocketMatchesList().hashCode();
}
if (hasUpstreamBindConfig()) {
hash = (37 * hash) + UPSTREAM_BIND_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getUpstreamBindConfig().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.service.health.v3.ClusterHealthCheck prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* The cluster name and locality is provided to Envoy for the endpoints that it
* health checks to support statistics reporting, logging and debugging by the
* Envoy instance (outside of HDS). For maximum usefulness, it should match the
* same cluster structure as that provided by EDS.
* [#next-free-field: 6]
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
public int getTransportSocketMatchesCount() {
if (transportSocketMatchesBuilder_ == null) {
return transportSocketMatches_.size();
} else {
return transportSocketMatchesBuilder_.getCount();
}
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
public Builder setTransportSocketMatches(
int index, io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatch value) {
if (transportSocketMatchesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransportSocketMatchesIsMutable();
transportSocketMatches_.set(index, value);
onChanged();
} else {
transportSocketMatchesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
public Builder addTransportSocketMatches(io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatch value) {
if (transportSocketMatchesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransportSocketMatchesIsMutable();
transportSocketMatches_.add(value);
onChanged();
} else {
transportSocketMatchesBuilder_.addMessage(value);
}
return this;
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
public Builder addTransportSocketMatches(
int index, io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatch value) {
if (transportSocketMatchesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransportSocketMatchesIsMutable();
transportSocketMatches_.add(index, value);
onChanged();
} else {
transportSocketMatchesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
public io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatch.Builder getTransportSocketMatchesBuilder(
int index) {
return getTransportSocketMatchesFieldBuilder().getBuilder(index);
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
*
* repeated .envoy.config.cluster.v3.Cluster.TransportSocketMatch transport_socket_matches = 4;
*/
public io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatchOrBuilder getTransportSocketMatchesOrBuilder(
int index) {
if (transportSocketMatchesBuilder_ == null) {
return transportSocketMatches_.get(index); } else {
return transportSocketMatchesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*
* Optional map that gets filtered by :ref:`health_checks.transport_socket_match_criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>`
* on connection when health checking. For more details, see
* :ref:`config.cluster.v3.Cluster.transport_socket_matches <envoy_v3_api_field_config.cluster.v3.Cluster.transport_socket_matches>`.
*