All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.admin.v3.EndpointsConfigDump Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/admin/v3/config_dump_shared.proto

package io.envoyproxy.envoy.admin.v3;

/**
 * 
 * Envoy's admin fill this message with all currently known endpoints. Endpoint
 * configuration information can be used to recreate an Envoy configuration by populating all
 * endpoints as static endpoints or by returning them in an EDS response.
 * 
* * Protobuf type {@code envoy.admin.v3.EndpointsConfigDump} */ public final class EndpointsConfigDump extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.EndpointsConfigDump) EndpointsConfigDumpOrBuilder { private static final long serialVersionUID = 0L; // Use EndpointsConfigDump.newBuilder() to construct. private EndpointsConfigDump(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EndpointsConfigDump() { staticEndpointConfigs_ = java.util.Collections.emptyList(); dynamicEndpointConfigs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EndpointsConfigDump(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EndpointsConfigDump( 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 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { staticEndpointConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } staticEndpointConfigs_.add( input.readMessage(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { dynamicEndpointConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } dynamicEndpointConfigs_.add( input.readMessage(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.parser(), extensionRegistry)); 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)) { staticEndpointConfigs_ = java.util.Collections.unmodifiableList(staticEndpointConfigs_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { dynamicEndpointConfigs_ = java.util.Collections.unmodifiableList(dynamicEndpointConfigs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.class, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.Builder.class); } public interface StaticEndpointConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) com.google.protobuf.MessageOrBuilder { /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 1; * @return Whether the endpointConfig field is set. */ boolean hasEndpointConfig(); /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 1; * @return The endpointConfig. */ com.google.protobuf.Any getEndpointConfig(); /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 1; */ com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder(); /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return The lastUpdated. */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder(); } /** * Protobuf type {@code envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig} */ public static final class StaticEndpointConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) StaticEndpointConfigOrBuilder { private static final long serialVersionUID = 0L; // Use StaticEndpointConfig.newBuilder() to construct. private StaticEndpointConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StaticEndpointConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StaticEndpointConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StaticEndpointConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { com.google.protobuf.Any.Builder subBuilder = null; if (endpointConfig_ != null) { subBuilder = endpointConfig_.toBuilder(); } endpointConfig_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(endpointConfig_); endpointConfig_ = subBuilder.buildPartial(); } break; } case 18: { 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; } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.class, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder.class); } public static final int ENDPOINT_CONFIG_FIELD_NUMBER = 1; private com.google.protobuf.Any endpointConfig_; /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 1; * @return Whether the endpointConfig field is set. */ @java.lang.Override public boolean hasEndpointConfig() { return endpointConfig_ != null; } /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 1; * @return The endpointConfig. */ @java.lang.Override public com.google.protobuf.Any getEndpointConfig() { return endpointConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : endpointConfig_; } /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 1; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder() { return getEndpointConfig(); } public static final int LAST_UPDATED_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; * @return The lastUpdated. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdated() { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 2; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { return getLastUpdated(); } 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 (endpointConfig_ != null) { output.writeMessage(1, getEndpointConfig()); } if (lastUpdated_ != null) { output.writeMessage(2, getLastUpdated()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (endpointConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEndpointConfig()); } if (lastUpdated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, 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.v3.EndpointsConfigDump.StaticEndpointConfig)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig other = (io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) obj; if (hasEndpointConfig() != other.hasEndpointConfig()) return false; if (hasEndpointConfig()) { if (!getEndpointConfig() .equals(other.getEndpointConfig())) return false; } if (hasLastUpdated() != other.hasLastUpdated()) return false; if (hasLastUpdated()) { if (!getLastUpdated() .equals(other.getLastUpdated())) 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(); if (hasEndpointConfig()) { hash = (37 * hash) + ENDPOINT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEndpointConfig().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.v3.EndpointsConfigDump.StaticEndpointConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig 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.v3.EndpointsConfigDump.StaticEndpointConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig 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.v3.EndpointsConfigDump.StaticEndpointConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig 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.v3.EndpointsConfigDump.StaticEndpointConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig 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.v3.EndpointsConfigDump.StaticEndpointConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig 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.admin.v3.EndpointsConfigDump.StaticEndpointConfig 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; } /** * Protobuf type {@code envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.class, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (endpointConfigBuilder_ == null) { endpointConfig_ = null; } else { endpointConfig_ = null; endpointConfigBuilder_ = null; } if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_StaticEndpointConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig build() { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig buildPartial() { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig result = new io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig(this); if (endpointConfigBuilder_ == null) { result.endpointConfig_ = endpointConfig_; } else { result.endpointConfig_ = endpointConfigBuilder_.build(); } if (lastUpdatedBuilder_ == null) { result.lastUpdated_ = lastUpdated_; } else { result.lastUpdated_ = lastUpdatedBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) { return mergeFrom((io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig other) { if (other == io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.getDefaultInstance()) return this; if (other.hasEndpointConfig()) { mergeEndpointConfig(other.getEndpointConfig()); } if (other.hasLastUpdated()) { mergeLastUpdated(other.getLastUpdated()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Any endpointConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> endpointConfigBuilder_; /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; * @return Whether the endpointConfig field is set. */ public boolean hasEndpointConfig() { return endpointConfigBuilder_ != null || endpointConfig_ != null; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; * @return The endpointConfig. */ public com.google.protobuf.Any getEndpointConfig() { if (endpointConfigBuilder_ == null) { return endpointConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : endpointConfig_; } else { return endpointConfigBuilder_.getMessage(); } } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ public Builder setEndpointConfig(com.google.protobuf.Any value) { if (endpointConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endpointConfig_ = value; onChanged(); } else { endpointConfigBuilder_.setMessage(value); } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ public Builder setEndpointConfig( com.google.protobuf.Any.Builder builderForValue) { if (endpointConfigBuilder_ == null) { endpointConfig_ = builderForValue.build(); onChanged(); } else { endpointConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ public Builder mergeEndpointConfig(com.google.protobuf.Any value) { if (endpointConfigBuilder_ == null) { if (endpointConfig_ != null) { endpointConfig_ = com.google.protobuf.Any.newBuilder(endpointConfig_).mergeFrom(value).buildPartial(); } else { endpointConfig_ = value; } onChanged(); } else { endpointConfigBuilder_.mergeFrom(value); } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ public Builder clearEndpointConfig() { if (endpointConfigBuilder_ == null) { endpointConfig_ = null; onChanged(); } else { endpointConfig_ = null; endpointConfigBuilder_ = null; } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ public com.google.protobuf.Any.Builder getEndpointConfigBuilder() { onChanged(); return getEndpointConfigFieldBuilder().getBuilder(); } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ public com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder() { if (endpointConfigBuilder_ != null) { return endpointConfigBuilder_.getMessageOrBuilder(); } else { return endpointConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : endpointConfig_; } } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getEndpointConfigFieldBuilder() { if (endpointConfigBuilder_ == null) { endpointConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getEndpointConfig(), getParentForChildren(), isClean()); endpointConfig_ = null; } return endpointConfigBuilder_; } private com.google.protobuf.Timestamp lastUpdated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_; /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; * @return The lastUpdated. */ public com.google.protobuf.Timestamp getLastUpdated() { if (lastUpdatedBuilder_ == null) { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } else { return lastUpdatedBuilder_.getMessage(); } } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder setLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdated_ = value; onChanged(); } else { lastUpdatedBuilder_.setMessage(value); } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder setLastUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedBuilder_ == null) { lastUpdated_ = builderForValue.build(); onChanged(); } else { lastUpdatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder mergeLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (lastUpdated_ != null) { lastUpdated_ = com.google.protobuf.Timestamp.newBuilder(lastUpdated_).mergeFrom(value).buildPartial(); } else { lastUpdated_ = value; } onChanged(); } else { lastUpdatedBuilder_.mergeFrom(value); } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public Builder clearLastUpdated() { if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; onChanged(); } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 2; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { if (lastUpdatedBuilder_ != null) { return lastUpdatedBuilder_.getMessageOrBuilder(); } else { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint 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_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig) private static final io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig(); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StaticEndpointConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StaticEndpointConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicEndpointConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) com.google.protobuf.MessageOrBuilder { /** *
     * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
     * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
     * the endpoint configuration was loaded.
     * 
* * string version_info = 1; * @return The versionInfo. */ java.lang.String getVersionInfo(); /** *
     * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
     * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
     * the endpoint configuration was loaded.
     * 
* * string version_info = 1; * @return The bytes for versionInfo. */ com.google.protobuf.ByteString getVersionInfoBytes(); /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 2; * @return Whether the endpointConfig field is set. */ boolean hasEndpointConfig(); /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 2; * @return The endpointConfig. */ com.google.protobuf.Any getEndpointConfig(); /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 2; */ com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder(); /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder(); /** *
     * Set if the last update failed, cleared after the next successful update.
     * The ``error_state`` field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; * @return Whether the errorState field is set. */ boolean hasErrorState(); /** *
     * Set if the last update failed, cleared after the next successful update.
     * The ``error_state`` field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; * @return The errorState. */ io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState(); /** *
     * Set if the last update failed, cleared after the next successful update.
     * The ``error_state`` field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder(); /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return The enum numeric value on the wire for clientStatus. */ int getClientStatusValue(); /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return The clientStatus. */ io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus(); } /** *
   * [#next-free-field: 6]
   * 
* * Protobuf type {@code envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig} */ public static final class DynamicEndpointConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) DynamicEndpointConfigOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicEndpointConfig.newBuilder() to construct. private DynamicEndpointConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicEndpointConfig() { versionInfo_ = ""; clientStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicEndpointConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DynamicEndpointConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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(); versionInfo_ = s; break; } case 18: { com.google.protobuf.Any.Builder subBuilder = null; if (endpointConfig_ != null) { subBuilder = endpointConfig_.toBuilder(); } endpointConfig_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(endpointConfig_); endpointConfig_ = 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; } case 34: { io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder subBuilder = null; if (errorState_ != null) { subBuilder = errorState_.toBuilder(); } errorState_ = input.readMessage(io.envoyproxy.envoy.admin.v3.UpdateFailureState.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(errorState_); errorState_ = subBuilder.buildPartial(); } break; } case 40: { int rawValue = input.readEnum(); clientStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.class, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder.class); } public static final int VERSION_INFO_FIELD_NUMBER = 1; private volatile java.lang.Object versionInfo_; /** *
     * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
     * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
     * the endpoint configuration was loaded.
     * 
* * string version_info = 1; * @return The versionInfo. */ @java.lang.Override public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; 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(); versionInfo_ = s; return s; } } /** *
     * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
     * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
     * the endpoint configuration was loaded.
     * 
* * string version_info = 1; * @return The bytes for versionInfo. */ @java.lang.Override 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 ENDPOINT_CONFIG_FIELD_NUMBER = 2; private com.google.protobuf.Any endpointConfig_; /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 2; * @return Whether the endpointConfig field is set. */ @java.lang.Override public boolean hasEndpointConfig() { return endpointConfig_ != null; } /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 2; * @return The endpointConfig. */ @java.lang.Override public com.google.protobuf.Any getEndpointConfig() { return endpointConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : endpointConfig_; } /** *
     * The endpoint config.
     * 
* * .google.protobuf.Any endpoint_config = 2; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder() { return getEndpointConfig(); } public static final int LAST_UPDATED_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdated() { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } /** *
     * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { return getLastUpdated(); } public static final int ERROR_STATE_FIELD_NUMBER = 4; private io.envoyproxy.envoy.admin.v3.UpdateFailureState errorState_; /** *
     * Set if the last update failed, cleared after the next successful update.
     * The ``error_state`` field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; * @return Whether the errorState field is set. */ @java.lang.Override public boolean hasErrorState() { return errorState_ != null; } /** *
     * Set if the last update failed, cleared after the next successful update.
     * The ``error_state`` field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; * @return The errorState. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState() { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } /** *
     * Set if the last update failed, cleared after the next successful update.
     * The ``error_state`` field contains the rejected version of this particular
     * resource along with the reason and timestamp. For successfully updated or
     * acknowledged resource, this field should be empty.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { return getErrorState(); } public static final int CLIENT_STATUS_FIELD_NUMBER = 5; private int clientStatus_; /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return The enum numeric value on the wire for clientStatus. */ @java.lang.Override public int getClientStatusValue() { return clientStatus_; } /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return The clientStatus. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.admin.v3.ClientResourceStatus result = io.envoyproxy.envoy.admin.v3.ClientResourceStatus.valueOf(clientStatus_); return result == null ? io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNRECOGNIZED : result; } 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(versionInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionInfo_); } if (endpointConfig_ != null) { output.writeMessage(2, getEndpointConfig()); } if (lastUpdated_ != null) { output.writeMessage(3, getLastUpdated()); } if (errorState_ != null) { output.writeMessage(4, getErrorState()); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { output.writeEnum(5, clientStatus_); } 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(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionInfo_); } if (endpointConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEndpointConfig()); } if (lastUpdated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLastUpdated()); } if (errorState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getErrorState()); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, clientStatus_); } 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.v3.EndpointsConfigDump.DynamicEndpointConfig)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig other = (io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) obj; if (!getVersionInfo() .equals(other.getVersionInfo())) return false; if (hasEndpointConfig() != other.hasEndpointConfig()) return false; if (hasEndpointConfig()) { if (!getEndpointConfig() .equals(other.getEndpointConfig())) return false; } if (hasLastUpdated() != other.hasLastUpdated()) return false; if (hasLastUpdated()) { if (!getLastUpdated() .equals(other.getLastUpdated())) return false; } if (hasErrorState() != other.hasErrorState()) return false; if (hasErrorState()) { if (!getErrorState() .equals(other.getErrorState())) return false; } if (clientStatus_ != other.clientStatus_) 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) + VERSION_INFO_FIELD_NUMBER; hash = (53 * hash) + getVersionInfo().hashCode(); if (hasEndpointConfig()) { hash = (37 * hash) + ENDPOINT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEndpointConfig().hashCode(); } if (hasLastUpdated()) { hash = (37 * hash) + LAST_UPDATED_FIELD_NUMBER; hash = (53 * hash) + getLastUpdated().hashCode(); } if (hasErrorState()) { hash = (37 * hash) + ERROR_STATE_FIELD_NUMBER; hash = (53 * hash) + getErrorState().hashCode(); } hash = (37 * hash) + CLIENT_STATUS_FIELD_NUMBER; hash = (53 * hash) + clientStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig 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.v3.EndpointsConfigDump.DynamicEndpointConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig 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.v3.EndpointsConfigDump.DynamicEndpointConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig 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.v3.EndpointsConfigDump.DynamicEndpointConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig 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.v3.EndpointsConfigDump.DynamicEndpointConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig 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.admin.v3.EndpointsConfigDump.DynamicEndpointConfig 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; } /** *
     * [#next-free-field: 6]
     * 
* * Protobuf type {@code envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.class, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); versionInfo_ = ""; if (endpointConfigBuilder_ == null) { endpointConfig_ = null; } else { endpointConfig_ = null; endpointConfigBuilder_ = null; } if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } if (errorStateBuilder_ == null) { errorState_ = null; } else { errorState_ = null; errorStateBuilder_ = null; } clientStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_DynamicEndpointConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig build() { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig buildPartial() { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig result = new io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig(this); result.versionInfo_ = versionInfo_; if (endpointConfigBuilder_ == null) { result.endpointConfig_ = endpointConfig_; } else { result.endpointConfig_ = endpointConfigBuilder_.build(); } if (lastUpdatedBuilder_ == null) { result.lastUpdated_ = lastUpdated_; } else { result.lastUpdated_ = lastUpdatedBuilder_.build(); } if (errorStateBuilder_ == null) { result.errorState_ = errorState_; } else { result.errorState_ = errorStateBuilder_.build(); } result.clientStatus_ = clientStatus_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) { return mergeFrom((io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig other) { if (other == io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.getDefaultInstance()) return this; if (!other.getVersionInfo().isEmpty()) { versionInfo_ = other.versionInfo_; onChanged(); } if (other.hasEndpointConfig()) { mergeEndpointConfig(other.getEndpointConfig()); } if (other.hasLastUpdated()) { mergeLastUpdated(other.getLastUpdated()); } if (other.hasErrorState()) { mergeErrorState(other.getErrorState()); } if (other.clientStatus_ != 0) { setClientStatusValue(other.getClientStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object versionInfo_ = ""; /** *
       * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       * the endpoint configuration was loaded.
       * 
* * string version_info = 1; * @return The versionInfo. */ public java.lang.String getVersionInfo() { java.lang.Object ref = versionInfo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionInfo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       * the endpoint configuration was loaded.
       * 
* * string version_info = 1; * @return The bytes for versionInfo. */ public com.google.protobuf.ByteString getVersionInfoBytes() { java.lang.Object ref = versionInfo_; if (ref instanceof 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; } } /** *
       * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       * the endpoint configuration was loaded.
       * 
* * string version_info = 1; * @param value The versionInfo to set. * @return This builder for chaining. */ public Builder setVersionInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } versionInfo_ = value; onChanged(); return this; } /** *
       * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       * the endpoint configuration was loaded.
       * 
* * string version_info = 1; * @return This builder for chaining. */ public Builder clearVersionInfo() { versionInfo_ = getDefaultInstance().getVersionInfo(); onChanged(); return this; } /** *
       * [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
       * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       * the endpoint configuration was loaded.
       * 
* * string version_info = 1; * @param value The bytes for versionInfo to set. * @return This builder for chaining. */ public Builder setVersionInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionInfo_ = value; onChanged(); return this; } private com.google.protobuf.Any endpointConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> endpointConfigBuilder_; /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; * @return Whether the endpointConfig field is set. */ public boolean hasEndpointConfig() { return endpointConfigBuilder_ != null || endpointConfig_ != null; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; * @return The endpointConfig. */ public com.google.protobuf.Any getEndpointConfig() { if (endpointConfigBuilder_ == null) { return endpointConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : endpointConfig_; } else { return endpointConfigBuilder_.getMessage(); } } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ public Builder setEndpointConfig(com.google.protobuf.Any value) { if (endpointConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endpointConfig_ = value; onChanged(); } else { endpointConfigBuilder_.setMessage(value); } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ public Builder setEndpointConfig( com.google.protobuf.Any.Builder builderForValue) { if (endpointConfigBuilder_ == null) { endpointConfig_ = builderForValue.build(); onChanged(); } else { endpointConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ public Builder mergeEndpointConfig(com.google.protobuf.Any value) { if (endpointConfigBuilder_ == null) { if (endpointConfig_ != null) { endpointConfig_ = com.google.protobuf.Any.newBuilder(endpointConfig_).mergeFrom(value).buildPartial(); } else { endpointConfig_ = value; } onChanged(); } else { endpointConfigBuilder_.mergeFrom(value); } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ public Builder clearEndpointConfig() { if (endpointConfigBuilder_ == null) { endpointConfig_ = null; onChanged(); } else { endpointConfig_ = null; endpointConfigBuilder_ = null; } return this; } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ public com.google.protobuf.Any.Builder getEndpointConfigBuilder() { onChanged(); return getEndpointConfigFieldBuilder().getBuilder(); } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ public com.google.protobuf.AnyOrBuilder getEndpointConfigOrBuilder() { if (endpointConfigBuilder_ != null) { return endpointConfigBuilder_.getMessageOrBuilder(); } else { return endpointConfig_ == null ? com.google.protobuf.Any.getDefaultInstance() : endpointConfig_; } } /** *
       * The endpoint config.
       * 
* * .google.protobuf.Any endpoint_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getEndpointConfigFieldBuilder() { if (endpointConfigBuilder_ == null) { endpointConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getEndpointConfig(), getParentForChildren(), isClean()); endpointConfig_ = null; } return endpointConfigBuilder_; } private com.google.protobuf.Timestamp lastUpdated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_; /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ public com.google.protobuf.Timestamp getLastUpdated() { if (lastUpdatedBuilder_ == null) { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } else { return lastUpdatedBuilder_.getMessage(); } } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder setLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdated_ = value; onChanged(); } else { lastUpdatedBuilder_.setMessage(value); } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder setLastUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedBuilder_ == null) { lastUpdated_ = builderForValue.build(); onChanged(); } else { lastUpdatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder mergeLastUpdated(com.google.protobuf.Timestamp value) { if (lastUpdatedBuilder_ == null) { if (lastUpdated_ != null) { lastUpdated_ = com.google.protobuf.Timestamp.newBuilder(lastUpdated_).mergeFrom(value).buildPartial(); } else { lastUpdated_ = value; } onChanged(); } else { lastUpdatedBuilder_.mergeFrom(value); } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public Builder clearLastUpdated() { if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; onChanged(); } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { if (lastUpdatedBuilder_ != null) { return lastUpdatedBuilder_.getMessageOrBuilder(); } else { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } } /** *
       * [#not-implemented-hide:] The timestamp when the Endpoint 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_; } private io.envoyproxy.envoy.admin.v3.UpdateFailureState errorState_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder> errorStateBuilder_; /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; * @return Whether the errorState field is set. */ public boolean hasErrorState() { return errorStateBuilder_ != null || errorState_ != null; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; * @return The errorState. */ public io.envoyproxy.envoy.admin.v3.UpdateFailureState getErrorState() { if (errorStateBuilder_ == null) { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } else { return errorStateBuilder_.getMessage(); } } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ public Builder setErrorState(io.envoyproxy.envoy.admin.v3.UpdateFailureState value) { if (errorStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } errorState_ = value; onChanged(); } else { errorStateBuilder_.setMessage(value); } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ public Builder setErrorState( io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder builderForValue) { if (errorStateBuilder_ == null) { errorState_ = builderForValue.build(); onChanged(); } else { errorStateBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ public Builder mergeErrorState(io.envoyproxy.envoy.admin.v3.UpdateFailureState value) { if (errorStateBuilder_ == null) { if (errorState_ != null) { errorState_ = io.envoyproxy.envoy.admin.v3.UpdateFailureState.newBuilder(errorState_).mergeFrom(value).buildPartial(); } else { errorState_ = value; } onChanged(); } else { errorStateBuilder_.mergeFrom(value); } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ public Builder clearErrorState() { if (errorStateBuilder_ == null) { errorState_ = null; onChanged(); } else { errorState_ = null; errorStateBuilder_ = null; } return this; } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ public io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder getErrorStateBuilder() { onChanged(); return getErrorStateFieldBuilder().getBuilder(); } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { if (errorStateBuilder_ != null) { return errorStateBuilder_.getMessageOrBuilder(); } else { return errorState_ == null ? io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance() : errorState_; } } /** *
       * Set if the last update failed, cleared after the next successful update.
       * The ``error_state`` field contains the rejected version of this particular
       * resource along with the reason and timestamp. For successfully updated or
       * acknowledged resource, this field should be empty.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.UpdateFailureState error_state = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder> getErrorStateFieldBuilder() { if (errorStateBuilder_ == null) { errorStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UpdateFailureState, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder, io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder>( getErrorState(), getParentForChildren(), isClean()); errorState_ = null; } return errorStateBuilder_; } private int clientStatus_ = 0; /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return The enum numeric value on the wire for clientStatus. */ @java.lang.Override public int getClientStatusValue() { return clientStatus_; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @param value The enum numeric value on the wire for clientStatus to set. * @return This builder for chaining. */ public Builder setClientStatusValue(int value) { clientStatus_ = value; onChanged(); return this; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return The clientStatus. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.admin.v3.ClientResourceStatus result = io.envoyproxy.envoy.admin.v3.ClientResourceStatus.valueOf(clientStatus_); return result == null ? io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNRECOGNIZED : result; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @param value The clientStatus to set. * @return This builder for chaining. */ public Builder setClientStatus(io.envoyproxy.envoy.admin.v3.ClientResourceStatus value) { if (value == null) { throw new NullPointerException(); } clientStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * The client status of this resource.
       * [#not-implemented-hide:]
       * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 5; * @return This builder for chaining. */ public Builder clearClientStatus() { clientStatus_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig) private static final io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig(); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicEndpointConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DynamicEndpointConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int STATIC_ENDPOINT_CONFIGS_FIELD_NUMBER = 2; private java.util.List staticEndpointConfigs_; /** *
   * The statically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ @java.lang.Override public java.util.List getStaticEndpointConfigsList() { return staticEndpointConfigs_; } /** *
   * The statically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ @java.lang.Override public java.util.List getStaticEndpointConfigsOrBuilderList() { return staticEndpointConfigs_; } /** *
   * The statically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ @java.lang.Override public int getStaticEndpointConfigsCount() { return staticEndpointConfigs_.size(); } /** *
   * The statically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig getStaticEndpointConfigs(int index) { return staticEndpointConfigs_.get(index); } /** *
   * The statically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfigOrBuilder getStaticEndpointConfigsOrBuilder( int index) { return staticEndpointConfigs_.get(index); } public static final int DYNAMIC_ENDPOINT_CONFIGS_FIELD_NUMBER = 3; private java.util.List dynamicEndpointConfigs_; /** *
   * The dynamically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ @java.lang.Override public java.util.List getDynamicEndpointConfigsList() { return dynamicEndpointConfigs_; } /** *
   * The dynamically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ @java.lang.Override public java.util.List getDynamicEndpointConfigsOrBuilderList() { return dynamicEndpointConfigs_; } /** *
   * The dynamically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ @java.lang.Override public int getDynamicEndpointConfigsCount() { return dynamicEndpointConfigs_.size(); } /** *
   * The dynamically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig getDynamicEndpointConfigs(int index) { return dynamicEndpointConfigs_.get(index); } /** *
   * The dynamically loaded endpoint configs.
   * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfigOrBuilder getDynamicEndpointConfigsOrBuilder( int index) { return dynamicEndpointConfigs_.get(index); } 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 { for (int i = 0; i < staticEndpointConfigs_.size(); i++) { output.writeMessage(2, staticEndpointConfigs_.get(i)); } for (int i = 0; i < dynamicEndpointConfigs_.size(); i++) { output.writeMessage(3, dynamicEndpointConfigs_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < staticEndpointConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, staticEndpointConfigs_.get(i)); } for (int i = 0; i < dynamicEndpointConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, dynamicEndpointConfigs_.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.v3.EndpointsConfigDump)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.EndpointsConfigDump other = (io.envoyproxy.envoy.admin.v3.EndpointsConfigDump) obj; if (!getStaticEndpointConfigsList() .equals(other.getStaticEndpointConfigsList())) return false; if (!getDynamicEndpointConfigsList() .equals(other.getDynamicEndpointConfigsList())) 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(); if (getStaticEndpointConfigsCount() > 0) { hash = (37 * hash) + STATIC_ENDPOINT_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getStaticEndpointConfigsList().hashCode(); } if (getDynamicEndpointConfigsCount() > 0) { hash = (37 * hash) + DYNAMIC_ENDPOINT_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getDynamicEndpointConfigsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump 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.v3.EndpointsConfigDump parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump 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.v3.EndpointsConfigDump parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump 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.v3.EndpointsConfigDump parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump 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.v3.EndpointsConfigDump parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump 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.admin.v3.EndpointsConfigDump 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; } /** *
   * Envoy's admin fill this message with all currently known endpoints. Endpoint
   * configuration information can be used to recreate an Envoy configuration by populating all
   * endpoints as static endpoints or by returning them in an EDS response.
   * 
* * Protobuf type {@code envoy.admin.v3.EndpointsConfigDump} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.EndpointsConfigDump) io.envoyproxy.envoy.admin.v3.EndpointsConfigDumpOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.class, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStaticEndpointConfigsFieldBuilder(); getDynamicEndpointConfigsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (staticEndpointConfigsBuilder_ == null) { staticEndpointConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { staticEndpointConfigsBuilder_.clear(); } if (dynamicEndpointConfigsBuilder_ == null) { dynamicEndpointConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dynamicEndpointConfigsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_EndpointsConfigDump_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump build() { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump buildPartial() { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump result = new io.envoyproxy.envoy.admin.v3.EndpointsConfigDump(this); int from_bitField0_ = bitField0_; if (staticEndpointConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { staticEndpointConfigs_ = java.util.Collections.unmodifiableList(staticEndpointConfigs_); bitField0_ = (bitField0_ & ~0x00000001); } result.staticEndpointConfigs_ = staticEndpointConfigs_; } else { result.staticEndpointConfigs_ = staticEndpointConfigsBuilder_.build(); } if (dynamicEndpointConfigsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dynamicEndpointConfigs_ = java.util.Collections.unmodifiableList(dynamicEndpointConfigs_); bitField0_ = (bitField0_ & ~0x00000002); } result.dynamicEndpointConfigs_ = dynamicEndpointConfigs_; } else { result.dynamicEndpointConfigs_ = dynamicEndpointConfigsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.admin.v3.EndpointsConfigDump) { return mergeFrom((io.envoyproxy.envoy.admin.v3.EndpointsConfigDump)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump other) { if (other == io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.getDefaultInstance()) return this; if (staticEndpointConfigsBuilder_ == null) { if (!other.staticEndpointConfigs_.isEmpty()) { if (staticEndpointConfigs_.isEmpty()) { staticEndpointConfigs_ = other.staticEndpointConfigs_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.addAll(other.staticEndpointConfigs_); } onChanged(); } } else { if (!other.staticEndpointConfigs_.isEmpty()) { if (staticEndpointConfigsBuilder_.isEmpty()) { staticEndpointConfigsBuilder_.dispose(); staticEndpointConfigsBuilder_ = null; staticEndpointConfigs_ = other.staticEndpointConfigs_; bitField0_ = (bitField0_ & ~0x00000001); staticEndpointConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStaticEndpointConfigsFieldBuilder() : null; } else { staticEndpointConfigsBuilder_.addAllMessages(other.staticEndpointConfigs_); } } } if (dynamicEndpointConfigsBuilder_ == null) { if (!other.dynamicEndpointConfigs_.isEmpty()) { if (dynamicEndpointConfigs_.isEmpty()) { dynamicEndpointConfigs_ = other.dynamicEndpointConfigs_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.addAll(other.dynamicEndpointConfigs_); } onChanged(); } } else { if (!other.dynamicEndpointConfigs_.isEmpty()) { if (dynamicEndpointConfigsBuilder_.isEmpty()) { dynamicEndpointConfigsBuilder_.dispose(); dynamicEndpointConfigsBuilder_ = null; dynamicEndpointConfigs_ = other.dynamicEndpointConfigs_; bitField0_ = (bitField0_ & ~0x00000002); dynamicEndpointConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDynamicEndpointConfigsFieldBuilder() : null; } else { dynamicEndpointConfigsBuilder_.addAllMessages(other.dynamicEndpointConfigs_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.admin.v3.EndpointsConfigDump parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.EndpointsConfigDump) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List staticEndpointConfigs_ = java.util.Collections.emptyList(); private void ensureStaticEndpointConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { staticEndpointConfigs_ = new java.util.ArrayList(staticEndpointConfigs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfigOrBuilder> staticEndpointConfigsBuilder_; /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public java.util.List getStaticEndpointConfigsList() { if (staticEndpointConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(staticEndpointConfigs_); } else { return staticEndpointConfigsBuilder_.getMessageList(); } } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public int getStaticEndpointConfigsCount() { if (staticEndpointConfigsBuilder_ == null) { return staticEndpointConfigs_.size(); } else { return staticEndpointConfigsBuilder_.getCount(); } } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig getStaticEndpointConfigs(int index) { if (staticEndpointConfigsBuilder_ == null) { return staticEndpointConfigs_.get(index); } else { return staticEndpointConfigsBuilder_.getMessage(index); } } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder setStaticEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig value) { if (staticEndpointConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.set(index, value); onChanged(); } else { staticEndpointConfigsBuilder_.setMessage(index, value); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder setStaticEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) { if (staticEndpointConfigsBuilder_ == null) { ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.set(index, builderForValue.build()); onChanged(); } else { staticEndpointConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder addStaticEndpointConfigs(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig value) { if (staticEndpointConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.add(value); onChanged(); } else { staticEndpointConfigsBuilder_.addMessage(value); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder addStaticEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig value) { if (staticEndpointConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.add(index, value); onChanged(); } else { staticEndpointConfigsBuilder_.addMessage(index, value); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder addStaticEndpointConfigs( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) { if (staticEndpointConfigsBuilder_ == null) { ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.add(builderForValue.build()); onChanged(); } else { staticEndpointConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder addStaticEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) { if (staticEndpointConfigsBuilder_ == null) { ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.add(index, builderForValue.build()); onChanged(); } else { staticEndpointConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder addAllStaticEndpointConfigs( java.lang.Iterable values) { if (staticEndpointConfigsBuilder_ == null) { ensureStaticEndpointConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, staticEndpointConfigs_); onChanged(); } else { staticEndpointConfigsBuilder_.addAllMessages(values); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder clearStaticEndpointConfigs() { if (staticEndpointConfigsBuilder_ == null) { staticEndpointConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { staticEndpointConfigsBuilder_.clear(); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public Builder removeStaticEndpointConfigs(int index) { if (staticEndpointConfigsBuilder_ == null) { ensureStaticEndpointConfigsIsMutable(); staticEndpointConfigs_.remove(index); onChanged(); } else { staticEndpointConfigsBuilder_.remove(index); } return this; } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder getStaticEndpointConfigsBuilder( int index) { return getStaticEndpointConfigsFieldBuilder().getBuilder(index); } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfigOrBuilder getStaticEndpointConfigsOrBuilder( int index) { if (staticEndpointConfigsBuilder_ == null) { return staticEndpointConfigs_.get(index); } else { return staticEndpointConfigsBuilder_.getMessageOrBuilder(index); } } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public java.util.List getStaticEndpointConfigsOrBuilderList() { if (staticEndpointConfigsBuilder_ != null) { return staticEndpointConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(staticEndpointConfigs_); } } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder addStaticEndpointConfigsBuilder() { return getStaticEndpointConfigsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.getDefaultInstance()); } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder addStaticEndpointConfigsBuilder( int index) { return getStaticEndpointConfigsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.getDefaultInstance()); } /** *
     * The statically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; */ public java.util.List getStaticEndpointConfigsBuilderList() { return getStaticEndpointConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfigOrBuilder> getStaticEndpointConfigsFieldBuilder() { if (staticEndpointConfigsBuilder_ == null) { staticEndpointConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.Builder, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfigOrBuilder>( staticEndpointConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); staticEndpointConfigs_ = null; } return staticEndpointConfigsBuilder_; } private java.util.List dynamicEndpointConfigs_ = java.util.Collections.emptyList(); private void ensureDynamicEndpointConfigsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dynamicEndpointConfigs_ = new java.util.ArrayList(dynamicEndpointConfigs_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfigOrBuilder> dynamicEndpointConfigsBuilder_; /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public java.util.List getDynamicEndpointConfigsList() { if (dynamicEndpointConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(dynamicEndpointConfigs_); } else { return dynamicEndpointConfigsBuilder_.getMessageList(); } } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public int getDynamicEndpointConfigsCount() { if (dynamicEndpointConfigsBuilder_ == null) { return dynamicEndpointConfigs_.size(); } else { return dynamicEndpointConfigsBuilder_.getCount(); } } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig getDynamicEndpointConfigs(int index) { if (dynamicEndpointConfigsBuilder_ == null) { return dynamicEndpointConfigs_.get(index); } else { return dynamicEndpointConfigsBuilder_.getMessage(index); } } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder setDynamicEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig value) { if (dynamicEndpointConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.set(index, value); onChanged(); } else { dynamicEndpointConfigsBuilder_.setMessage(index, value); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder setDynamicEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) { if (dynamicEndpointConfigsBuilder_ == null) { ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.set(index, builderForValue.build()); onChanged(); } else { dynamicEndpointConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder addDynamicEndpointConfigs(io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig value) { if (dynamicEndpointConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.add(value); onChanged(); } else { dynamicEndpointConfigsBuilder_.addMessage(value); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder addDynamicEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig value) { if (dynamicEndpointConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.add(index, value); onChanged(); } else { dynamicEndpointConfigsBuilder_.addMessage(index, value); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder addDynamicEndpointConfigs( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) { if (dynamicEndpointConfigsBuilder_ == null) { ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.add(builderForValue.build()); onChanged(); } else { dynamicEndpointConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder addDynamicEndpointConfigs( int index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) { if (dynamicEndpointConfigsBuilder_ == null) { ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.add(index, builderForValue.build()); onChanged(); } else { dynamicEndpointConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder addAllDynamicEndpointConfigs( java.lang.Iterable values) { if (dynamicEndpointConfigsBuilder_ == null) { ensureDynamicEndpointConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dynamicEndpointConfigs_); onChanged(); } else { dynamicEndpointConfigsBuilder_.addAllMessages(values); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder clearDynamicEndpointConfigs() { if (dynamicEndpointConfigsBuilder_ == null) { dynamicEndpointConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dynamicEndpointConfigsBuilder_.clear(); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public Builder removeDynamicEndpointConfigs(int index) { if (dynamicEndpointConfigsBuilder_ == null) { ensureDynamicEndpointConfigsIsMutable(); dynamicEndpointConfigs_.remove(index); onChanged(); } else { dynamicEndpointConfigsBuilder_.remove(index); } return this; } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder getDynamicEndpointConfigsBuilder( int index) { return getDynamicEndpointConfigsFieldBuilder().getBuilder(index); } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfigOrBuilder getDynamicEndpointConfigsOrBuilder( int index) { if (dynamicEndpointConfigsBuilder_ == null) { return dynamicEndpointConfigs_.get(index); } else { return dynamicEndpointConfigsBuilder_.getMessageOrBuilder(index); } } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public java.util.List getDynamicEndpointConfigsOrBuilderList() { if (dynamicEndpointConfigsBuilder_ != null) { return dynamicEndpointConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dynamicEndpointConfigs_); } } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder addDynamicEndpointConfigsBuilder() { return getDynamicEndpointConfigsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.getDefaultInstance()); } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder addDynamicEndpointConfigsBuilder( int index) { return getDynamicEndpointConfigsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.getDefaultInstance()); } /** *
     * The dynamically loaded endpoint configs.
     * 
* * repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; */ public java.util.List getDynamicEndpointConfigsBuilderList() { return getDynamicEndpointConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfigOrBuilder> getDynamicEndpointConfigsFieldBuilder() { if (dynamicEndpointConfigsBuilder_ == null) { dynamicEndpointConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.Builder, io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfigOrBuilder>( dynamicEndpointConfigs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dynamicEndpointConfigs_ = null; } return dynamicEndpointConfigsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.admin.v3.EndpointsConfigDump) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.EndpointsConfigDump) private static final io.envoyproxy.envoy.admin.v3.EndpointsConfigDump DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.EndpointsConfigDump(); } public static io.envoyproxy.envoy.admin.v3.EndpointsConfigDump getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EndpointsConfigDump parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EndpointsConfigDump(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.EndpointsConfigDump getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy