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/admin/v2alpha/config_dump.proto
package io.envoyproxy.envoy.admin.v2alpha;
/**
*
* Envoy's cluster manager fills this message with all currently known clusters. Cluster
* configuration information can be used to recreate an Envoy configuration by populating all
* clusters as static clusters or by returning them in a CDS response.
*
*
* Protobuf type {@code envoy.admin.v2alpha.ClustersConfigDump}
*/
public final class ClustersConfigDump extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v2alpha.ClustersConfigDump)
ClustersConfigDumpOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClustersConfigDump.newBuilder() to construct.
private ClustersConfigDump(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClustersConfigDump() {
versionInfo_ = "";
staticClusters_ = java.util.Collections.emptyList();
dynamicActiveClusters_ = java.util.Collections.emptyList();
dynamicWarmingClusters_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClustersConfigDump(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
versionInfo_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
staticClusters_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
staticClusters_.add(
input.readMessage(io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.StaticCluster.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
dynamicActiveClusters_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
dynamicActiveClusters_.add(
input.readMessage(io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
dynamicWarmingClusters_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
dynamicWarmingClusters_.add(
input.readMessage(io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
staticClusters_ = java.util.Collections.unmodifiableList(staticClusters_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
dynamicActiveClusters_ = java.util.Collections.unmodifiableList(dynamicActiveClusters_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
dynamicWarmingClusters_ = java.util.Collections.unmodifiableList(dynamicWarmingClusters_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.class, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.Builder.class);
}
public interface StaticClusterOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.admin.v2alpha.ClustersConfigDump.StaticCluster)
com.google.protobuf.MessageOrBuilder {
/**
*
* The timestamp when the Cluster was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getLastUpdatedFieldBuilder() {
if (lastUpdatedBuilder_ == null) {
lastUpdatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getLastUpdated(),
getParentForChildren(),
isClean());
lastUpdated_ = null;
}
return lastUpdatedBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.admin.v2alpha.ClustersConfigDump.StaticCluster)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v2alpha.ClustersConfigDump.StaticCluster)
private static final io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.StaticCluster DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.StaticCluster();
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.StaticCluster getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public StaticCluster parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StaticCluster(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.StaticCluster getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DynamicClusterOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* Describes a dynamically loaded cluster via the CDS API.
*
*
* Protobuf type {@code envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster}
*/
public static final class DynamicCluster extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster)
DynamicClusterOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicCluster.newBuilder() to construct.
private DynamicCluster(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicCluster() {
versionInfo_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DynamicCluster(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
versionInfo_ = s;
break;
}
case 18: {
io.envoyproxy.envoy.api.v2.Cluster.Builder subBuilder = null;
if (cluster_ != null) {
subBuilder = cluster_.toBuilder();
}
cluster_ = input.readMessage(io.envoyproxy.envoy.api.v2.Cluster.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cluster_);
cluster_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (lastUpdated_ != null) {
subBuilder = lastUpdated_.toBuilder();
}
lastUpdated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lastUpdated_);
lastUpdated_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_DynamicCluster_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_DynamicCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.class, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.Builder.class);
}
public static final int VERSION_INFO_FIELD_NUMBER = 1;
private volatile java.lang.Object versionInfo_;
/**
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
*
* string version_info = 1;
*/
public com.google.protobuf.ByteString
getVersionInfoBytes() {
java.lang.Object ref = versionInfo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
versionInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_FIELD_NUMBER = 2;
private io.envoyproxy.envoy.api.v2.Cluster cluster_;
/**
*
* The timestamp when the Cluster was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 3;
*/
public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() {
return getLastUpdated();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getVersionInfoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionInfo_);
}
if (cluster_ != null) {
output.writeMessage(2, getCluster());
}
if (lastUpdated_ != null) {
output.writeMessage(3, getLastUpdated());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getVersionInfoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionInfo_);
}
if (cluster_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCluster());
}
if (lastUpdated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getLastUpdated());
}
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.admin.v2alpha.ClustersConfigDump.DynamicCluster)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster other = (io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster) obj;
boolean result = true;
result = result && getVersionInfo()
.equals(other.getVersionInfo());
result = result && (hasCluster() == other.hasCluster());
if (hasCluster()) {
result = result && getCluster()
.equals(other.getCluster());
}
result = result && (hasLastUpdated() == other.hasLastUpdated());
if (hasLastUpdated()) {
result = result && getLastUpdated()
.equals(other.getLastUpdated());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getVersionInfo().hashCode();
if (hasCluster()) {
hash = (37 * hash) + CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getCluster().hashCode();
}
if (hasLastUpdated()) {
hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER;
hash = (53 * hash) + getLastUpdated().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster 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.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster 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.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster 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.admin.v2alpha.ClustersConfigDump.DynamicCluster parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster 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.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Describes a dynamically loaded cluster via the CDS API.
*
*
* Protobuf type {@code envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster)
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicClusterOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_DynamicCluster_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_DynamicCluster_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.class, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.Builder.class);
}
// Construct using io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
versionInfo_ = "";
if (clusterBuilder_ == null) {
cluster_ = null;
} else {
cluster_ = null;
clusterBuilder_ = null;
}
if (lastUpdatedBuilder_ == null) {
lastUpdated_ = null;
} else {
lastUpdated_ = null;
lastUpdatedBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.admin.v2alpha.ConfigDumpProto.internal_static_envoy_admin_v2alpha_ClustersConfigDump_DynamicCluster_descriptor;
}
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster getDefaultInstanceForType() {
return io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.getDefaultInstance();
}
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster build() {
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster buildPartial() {
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster result = new io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster(this);
result.versionInfo_ = versionInfo_;
if (clusterBuilder_ == null) {
result.cluster_ = cluster_;
} else {
result.cluster_ = clusterBuilder_.build();
}
if (lastUpdatedBuilder_ == null) {
result.lastUpdated_ = lastUpdated_;
} else {
result.lastUpdated_ = lastUpdatedBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster) {
return mergeFrom((io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster other) {
if (other == io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.getDefaultInstance()) return this;
if (!other.getVersionInfo().isEmpty()) {
versionInfo_ = other.versionInfo_;
onChanged();
}
if (other.hasCluster()) {
mergeCluster(other.getCluster());
}
if (other.hasLastUpdated()) {
mergeLastUpdated(other.getLastUpdated());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object versionInfo_ = "";
/**
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* This is the per-resource version information. This version is currently taken from the
* :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
* that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
* the API.
*
* The timestamp when the Cluster was last updated.
*
*
* .google.protobuf.Timestamp last_updated = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getLastUpdatedFieldBuilder() {
if (lastUpdatedBuilder_ == null) {
lastUpdatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getLastUpdated(),
getParentForChildren(),
isClean());
lastUpdated_ = null;
}
return lastUpdatedBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster)
private static final io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster();
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DynamicCluster parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DynamicCluster(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int VERSION_INFO_FIELD_NUMBER = 1;
private volatile java.lang.Object versionInfo_;
/**
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
*
* string version_info = 1;
*/
public com.google.protobuf.ByteString
getVersionInfoBytes() {
java.lang.Object ref = versionInfo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
versionInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATIC_CLUSTERS_FIELD_NUMBER = 2;
private java.util.List staticClusters_;
/**
*
* The dynamically loaded active clusters. These are clusters that are available to service
* data plane traffic.
*
*
* repeated .envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster dynamic_active_clusters = 3 [(.gogoproto.nullable) = false];
*/
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicClusterOrBuilder getDynamicActiveClustersOrBuilder(
int index) {
return dynamicActiveClusters_.get(index);
}
public static final int DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER = 4;
private java.util.List dynamicWarmingClusters_;
/**
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
*
* repeated .envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4 [(.gogoproto.nullable) = false];
*/
public int getDynamicWarmingClustersCount() {
return dynamicWarmingClusters_.size();
}
/**
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
*
* repeated .envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4 [(.gogoproto.nullable) = false];
*/
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicClusterOrBuilder getDynamicWarmingClustersOrBuilder(
int index) {
return dynamicWarmingClusters_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getVersionInfoBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionInfo_);
}
for (int i = 0; i < staticClusters_.size(); i++) {
output.writeMessage(2, staticClusters_.get(i));
}
for (int i = 0; i < dynamicActiveClusters_.size(); i++) {
output.writeMessage(3, dynamicActiveClusters_.get(i));
}
for (int i = 0; i < dynamicWarmingClusters_.size(); i++) {
output.writeMessage(4, dynamicWarmingClusters_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getVersionInfoBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionInfo_);
}
for (int i = 0; i < staticClusters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, staticClusters_.get(i));
}
for (int i = 0; i < dynamicActiveClusters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, dynamicActiveClusters_.get(i));
}
for (int i = 0; i < dynamicWarmingClusters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, dynamicWarmingClusters_.get(i));
}
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.admin.v2alpha.ClustersConfigDump)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump other = (io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump) obj;
boolean result = true;
result = result && getVersionInfo()
.equals(other.getVersionInfo());
result = result && getStaticClustersList()
.equals(other.getStaticClustersList());
result = result && getDynamicActiveClustersList()
.equals(other.getDynamicActiveClustersList());
result = result && getDynamicWarmingClustersList()
.equals(other.getDynamicWarmingClustersList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getVersionInfo().hashCode();
if (getStaticClustersCount() > 0) {
hash = (37 * hash) + STATIC_CLUSTERS_FIELD_NUMBER;
hash = (53 * hash) + getStaticClustersList().hashCode();
}
if (getDynamicActiveClustersCount() > 0) {
hash = (37 * hash) + DYNAMIC_ACTIVE_CLUSTERS_FIELD_NUMBER;
hash = (53 * hash) + getDynamicActiveClustersList().hashCode();
}
if (getDynamicWarmingClustersCount() > 0) {
hash = (37 * hash) + DYNAMIC_WARMING_CLUSTERS_FIELD_NUMBER;
hash = (53 * hash) + getDynamicWarmingClustersList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump 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.admin.v2alpha.ClustersConfigDump parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump 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.admin.v2alpha.ClustersConfigDump parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump 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.admin.v2alpha.ClustersConfigDump parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump 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.admin.v2alpha.ClustersConfigDump parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Envoy's cluster manager fills this message with all currently known clusters. Cluster
* configuration information can be used to recreate an Envoy configuration by populating all
* clusters as static clusters or by returning them in a CDS response.
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
* This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
* last processed CDS discovery response. If there are only static bootstrap clusters, this field
* will be "".
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
*
* repeated .envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4 [(.gogoproto.nullable) = false];
*/
public Builder setDynamicWarmingClusters(
int index, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster value) {
if (dynamicWarmingClustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDynamicWarmingClustersIsMutable();
dynamicWarmingClusters_.set(index, value);
onChanged();
} else {
dynamicWarmingClustersBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
*
* repeated .envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4 [(.gogoproto.nullable) = false];
*/
public Builder addDynamicWarmingClusters(
int index, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster value) {
if (dynamicWarmingClustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDynamicWarmingClustersIsMutable();
dynamicWarmingClusters_.add(index, value);
onChanged();
} else {
dynamicWarmingClustersBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
* The dynamically loaded warming clusters. These are clusters that are currently undergoing
* warming in preparation to service data plane traffic. Note that if attempting to recreate an
* Envoy configuration from a configuration dump, the warming clusters should generally be
* discarded.
*
*
* repeated .envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster dynamic_warming_clusters = 4 [(.gogoproto.nullable) = false];
*/
public java.util.List
getDynamicWarmingClustersBuilderList() {
return getDynamicWarmingClustersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.Builder, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicClusterOrBuilder>
getDynamicWarmingClustersFieldBuilder() {
if (dynamicWarmingClustersBuilder_ == null) {
dynamicWarmingClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster.Builder, io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump.DynamicClusterOrBuilder>(
dynamicWarmingClusters_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
dynamicWarmingClusters_ = null;
}
return dynamicWarmingClustersBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.admin.v2alpha.ClustersConfigDump)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v2alpha.ClustersConfigDump)
private static final io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump();
}
public static io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ClustersConfigDump parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClustersConfigDump(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public io.envoyproxy.envoy.admin.v2alpha.ClustersConfigDump getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}