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

io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump 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 scoped RDS implementation fills this message with all currently loaded route
 * configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both
 * the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the
 * dynamically obtained scopes via the SRDS API.
 * 
* * Protobuf type {@code envoy.admin.v3.ScopedRoutesConfigDump} */ public final class ScopedRoutesConfigDump extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.ScopedRoutesConfigDump) ScopedRoutesConfigDumpOrBuilder { private static final long serialVersionUID = 0L; // Use ScopedRoutesConfigDump.newBuilder() to construct. private ScopedRoutesConfigDump(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ScopedRoutesConfigDump() { inlineScopedRouteConfigs_ = java.util.Collections.emptyList(); dynamicScopedRouteConfigs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScopedRoutesConfigDump(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScopedRoutesConfigDump( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { inlineScopedRouteConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } inlineScopedRouteConfigs_.add( input.readMessage(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.parser(), extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { dynamicScopedRouteConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } dynamicScopedRouteConfigs_.add( input.readMessage(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.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)) { inlineScopedRouteConfigs_ = java.util.Collections.unmodifiableList(inlineScopedRouteConfigs_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { dynamicScopedRouteConfigs_ = java.util.Collections.unmodifiableList(dynamicScopedRouteConfigs_); } 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_ScopedRoutesConfigDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.class, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.Builder.class); } public interface InlineScopedRouteConfigsOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs) com.google.protobuf.MessageOrBuilder { /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ java.util.List getScopedRouteConfigsList(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ com.google.protobuf.Any getScopedRouteConfigs(int index); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ int getScopedRouteConfigsCount(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ java.util.List getScopedRouteConfigsOrBuilderList(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder( int index); /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; * @return The lastUpdated. */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder(); } /** * Protobuf type {@code envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs} */ public static final class InlineScopedRouteConfigs extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs) InlineScopedRouteConfigsOrBuilder { private static final long serialVersionUID = 0L; // Use InlineScopedRouteConfigs.newBuilder() to construct. private InlineScopedRouteConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InlineScopedRouteConfigs() { name_ = ""; scopedRouteConfigs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InlineScopedRouteConfigs(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InlineScopedRouteConfigs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } scopedRouteConfigs_.add( input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry)); 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; } 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)) { scopedRouteConfigs_ = java.util.Collections.unmodifiableList(scopedRouteConfigs_); } 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_ScopedRoutesConfigDump_InlineScopedRouteConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.class, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCOPED_ROUTE_CONFIGS_FIELD_NUMBER = 2; private java.util.List scopedRouteConfigs_; /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ @java.lang.Override public java.util.List getScopedRouteConfigsList() { return scopedRouteConfigs_; } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ @java.lang.Override public java.util.List getScopedRouteConfigsOrBuilderList() { return scopedRouteConfigs_; } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ @java.lang.Override public int getScopedRouteConfigsCount() { return scopedRouteConfigs_.size(); } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ @java.lang.Override public com.google.protobuf.Any getScopedRouteConfigs(int index) { return scopedRouteConfigs_.get(index); } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder( int index) { return scopedRouteConfigs_.get(index); } public static final int LAST_UPDATED_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * The timestamp when the scoped route config set 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; } /** *
     * The timestamp when the scoped route config set 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_; } /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 3; */ @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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < scopedRouteConfigs_.size(); i++) { output.writeMessage(2, scopedRouteConfigs_.get(i)); } if (lastUpdated_ != null) { output.writeMessage(3, getLastUpdated()); } 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(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < scopedRouteConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, scopedRouteConfigs_.get(i)); } if (lastUpdated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLastUpdated()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs other = (io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs) obj; if (!getName() .equals(other.getName())) return false; if (!getScopedRouteConfigsList() .equals(other.getScopedRouteConfigsList())) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getScopedRouteConfigsCount() > 0) { hash = (37 * hash) + SCOPED_ROUTE_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getScopedRouteConfigsList().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.ScopedRoutesConfigDump.InlineScopedRouteConfigs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs) io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_InlineScopedRouteConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.class, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getScopedRouteConfigsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (scopedRouteConfigsBuilder_ == null) { scopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { scopedRouteConfigsBuilder_.clear(); } 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_ScopedRoutesConfigDump_InlineScopedRouteConfigs_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs build() { io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs buildPartial() { io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs result = new io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (scopedRouteConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = java.util.Collections.unmodifiableList(scopedRouteConfigs_); bitField0_ = (bitField0_ & ~0x00000001); } result.scopedRouteConfigs_ = scopedRouteConfigs_; } else { result.scopedRouteConfigs_ = scopedRouteConfigsBuilder_.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.ScopedRoutesConfigDump.InlineScopedRouteConfigs) { return mergeFrom((io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs other) { if (other == io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (scopedRouteConfigsBuilder_ == null) { if (!other.scopedRouteConfigs_.isEmpty()) { if (scopedRouteConfigs_.isEmpty()) { scopedRouteConfigs_ = other.scopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.addAll(other.scopedRouteConfigs_); } onChanged(); } } else { if (!other.scopedRouteConfigs_.isEmpty()) { if (scopedRouteConfigsBuilder_.isEmpty()) { scopedRouteConfigsBuilder_.dispose(); scopedRouteConfigsBuilder_ = null; scopedRouteConfigs_ = other.scopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000001); scopedRouteConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getScopedRouteConfigsFieldBuilder() : null; } else { scopedRouteConfigsBuilder_.addAllMessages(other.scopedRouteConfigs_); } } } 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.ScopedRoutesConfigDump.InlineScopedRouteConfigs parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.util.List scopedRouteConfigs_ = java.util.Collections.emptyList(); private void ensureScopedRouteConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = new java.util.ArrayList(scopedRouteConfigs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> scopedRouteConfigsBuilder_; /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public java.util.List getScopedRouteConfigsList() { if (scopedRouteConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(scopedRouteConfigs_); } else { return scopedRouteConfigsBuilder_.getMessageList(); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public int getScopedRouteConfigsCount() { if (scopedRouteConfigsBuilder_ == null) { return scopedRouteConfigs_.size(); } else { return scopedRouteConfigsBuilder_.getCount(); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public com.google.protobuf.Any getScopedRouteConfigs(int index) { if (scopedRouteConfigsBuilder_ == null) { return scopedRouteConfigs_.get(index); } else { return scopedRouteConfigsBuilder_.getMessage(index); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder setScopedRouteConfigs( int index, com.google.protobuf.Any value) { if (scopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.set(index, value); onChanged(); } else { scopedRouteConfigsBuilder_.setMessage(index, value); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder setScopedRouteConfigs( int index, com.google.protobuf.Any.Builder builderForValue) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.set(index, builderForValue.build()); onChanged(); } else { scopedRouteConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder addScopedRouteConfigs(com.google.protobuf.Any value) { if (scopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(value); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(value); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder addScopedRouteConfigs( int index, com.google.protobuf.Any value) { if (scopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(index, value); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(index, value); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder addScopedRouteConfigs( com.google.protobuf.Any.Builder builderForValue) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(builderForValue.build()); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder addScopedRouteConfigs( int index, com.google.protobuf.Any.Builder builderForValue) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(index, builderForValue.build()); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder addAllScopedRouteConfigs( java.lang.Iterable values) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, scopedRouteConfigs_); onChanged(); } else { scopedRouteConfigsBuilder_.addAllMessages(values); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder clearScopedRouteConfigs() { if (scopedRouteConfigsBuilder_ == null) { scopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { scopedRouteConfigsBuilder_.clear(); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public Builder removeScopedRouteConfigs(int index) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.remove(index); onChanged(); } else { scopedRouteConfigsBuilder_.remove(index); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public com.google.protobuf.Any.Builder getScopedRouteConfigsBuilder( int index) { return getScopedRouteConfigsFieldBuilder().getBuilder(index); } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder( int index) { if (scopedRouteConfigsBuilder_ == null) { return scopedRouteConfigs_.get(index); } else { return scopedRouteConfigsBuilder_.getMessageOrBuilder(index); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public java.util.List getScopedRouteConfigsOrBuilderList() { if (scopedRouteConfigsBuilder_ != null) { return scopedRouteConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(scopedRouteConfigs_); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public com.google.protobuf.Any.Builder addScopedRouteConfigsBuilder() { return getScopedRouteConfigsFieldBuilder().addBuilder( com.google.protobuf.Any.getDefaultInstance()); } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public com.google.protobuf.Any.Builder addScopedRouteConfigsBuilder( int index) { return getScopedRouteConfigsFieldBuilder().addBuilder( index, com.google.protobuf.Any.getDefaultInstance()); } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 2; */ public java.util.List getScopedRouteConfigsBuilderList() { return getScopedRouteConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getScopedRouteConfigsFieldBuilder() { if (scopedRouteConfigsBuilder_ == null) { scopedRouteConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( scopedRouteConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); scopedRouteConfigs_ = null; } return scopedRouteConfigsBuilder_; } 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_; /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * The timestamp when the scoped route config set 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(); } } /** *
       * The timestamp when the scoped route config set 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; } /** *
       * The timestamp when the scoped route config set 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; } /** *
       * The timestamp when the scoped route config set 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; } /** *
       * The timestamp when the scoped route config set 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; } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 3; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * The timestamp when the scoped route config set 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_; } } /** *
       * The timestamp when the scoped route config set 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_; } @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.ScopedRoutesConfigDump.InlineScopedRouteConfigs) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs) private static final io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs(); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InlineScopedRouteConfigs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InlineScopedRouteConfigs(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.ScopedRoutesConfigDump.InlineScopedRouteConfigs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicScopedRouteConfigsOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) com.google.protobuf.MessageOrBuilder { /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * 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 scoped routes configuration was loaded.
     * 
* * string version_info = 2; * @return The versionInfo. */ java.lang.String getVersionInfo(); /** *
     * 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 scoped routes configuration was loaded.
     * 
* * string version_info = 2; * @return The bytes for versionInfo. */ com.google.protobuf.ByteString getVersionInfoBytes(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ java.util.List getScopedRouteConfigsList(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ com.google.protobuf.Any getScopedRouteConfigs(int index); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ int getScopedRouteConfigsCount(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ java.util.List getScopedRouteConfigsOrBuilderList(); /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder( int index); /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 4; * @return Whether the lastUpdated field is set. */ boolean hasLastUpdated(); /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 4; * @return The lastUpdated. */ com.google.protobuf.Timestamp getLastUpdated(); /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 4; */ 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 = 5; * @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 = 5; * @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 = 5; */ io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder(); /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @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 = 6; * @return The clientStatus. */ io.envoyproxy.envoy.admin.v3.ClientResourceStatus getClientStatus(); } /** *
   * [#next-free-field: 7]
   * 
* * Protobuf type {@code envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs} */ public static final class DynamicScopedRouteConfigs extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) DynamicScopedRouteConfigsOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicScopedRouteConfigs.newBuilder() to construct. private DynamicScopedRouteConfigs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicScopedRouteConfigs() { name_ = ""; versionInfo_ = ""; scopedRouteConfigs_ = java.util.Collections.emptyList(); clientStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicScopedRouteConfigs(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DynamicScopedRouteConfigs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); versionInfo_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } scopedRouteConfigs_.add( input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry)); break; } case 34: { 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 42: { 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 48: { 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = java.util.Collections.unmodifiableList(scopedRouteConfigs_); } 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_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.class, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * The name assigned to the scoped route configurations.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_INFO_FIELD_NUMBER = 2; private volatile java.lang.Object versionInfo_; /** *
     * 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 scoped routes configuration was loaded.
     * 
* * string version_info = 2; * @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; } } /** *
     * 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 scoped routes configuration was loaded.
     * 
* * string version_info = 2; * @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 SCOPED_ROUTE_CONFIGS_FIELD_NUMBER = 3; private java.util.List scopedRouteConfigs_; /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ @java.lang.Override public java.util.List getScopedRouteConfigsList() { return scopedRouteConfigs_; } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ @java.lang.Override public java.util.List getScopedRouteConfigsOrBuilderList() { return scopedRouteConfigs_; } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ @java.lang.Override public int getScopedRouteConfigsCount() { return scopedRouteConfigs_.size(); } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ @java.lang.Override public com.google.protobuf.Any getScopedRouteConfigs(int index) { return scopedRouteConfigs_.get(index); } /** *
     * The scoped route configurations.
     * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder( int index) { return scopedRouteConfigs_.get(index); } public static final int LAST_UPDATED_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastUpdated_; /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 4; * @return Whether the lastUpdated field is set. */ @java.lang.Override public boolean hasLastUpdated() { return lastUpdated_ != null; } /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 4; * @return The lastUpdated. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdated() { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } /** *
     * The timestamp when the scoped route config set was last updated.
     * 
* * .google.protobuf.Timestamp last_updated = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { return getLastUpdated(); } public static final int ERROR_STATE_FIELD_NUMBER = 5; 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 = 5; * @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 = 5; * @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 = 5; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder getErrorStateOrBuilder() { return getErrorState(); } public static final int CLIENT_STATUS_FIELD_NUMBER = 6; private int clientStatus_; /** *
     * The client status of this resource.
     * [#not-implemented-hide:]
     * 
* * .envoy.admin.v3.ClientResourceStatus client_status = 6; * @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 = 6; * @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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionInfo_); } for (int i = 0; i < scopedRouteConfigs_.size(); i++) { output.writeMessage(3, scopedRouteConfigs_.get(i)); } if (lastUpdated_ != null) { output.writeMessage(4, getLastUpdated()); } if (errorState_ != null) { output.writeMessage(5, getErrorState()); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { output.writeEnum(6, 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(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, versionInfo_); } for (int i = 0; i < scopedRouteConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, scopedRouteConfigs_.get(i)); } if (lastUpdated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLastUpdated()); } if (errorState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getErrorState()); } if (clientStatus_ != io.envoyproxy.envoy.admin.v3.ClientResourceStatus.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs other = (io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) obj; if (!getName() .equals(other.getName())) return false; if (!getVersionInfo() .equals(other.getVersionInfo())) return false; if (!getScopedRouteConfigsList() .equals(other.getScopedRouteConfigsList())) 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) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER; hash = (53 * hash) + getVersionInfo().hashCode(); if (getScopedRouteConfigsCount() > 0) { hash = (37 * hash) + SCOPED_ROUTE_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getScopedRouteConfigsList().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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs 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: 7]
     * 
* * Protobuf type {@code envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.class, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getScopedRouteConfigsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; versionInfo_ = ""; if (scopedRouteConfigsBuilder_ == null) { scopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { scopedRouteConfigsBuilder_.clear(); } 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_ScopedRoutesConfigDump_DynamicScopedRouteConfigs_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs build() { io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs buildPartial() { io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs result = new io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.versionInfo_ = versionInfo_; if (scopedRouteConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = java.util.Collections.unmodifiableList(scopedRouteConfigs_); bitField0_ = (bitField0_ & ~0x00000001); } result.scopedRouteConfigs_ = scopedRouteConfigs_; } else { result.scopedRouteConfigs_ = scopedRouteConfigsBuilder_.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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) { return mergeFrom((io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs other) { if (other == io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getVersionInfo().isEmpty()) { versionInfo_ = other.versionInfo_; onChanged(); } if (scopedRouteConfigsBuilder_ == null) { if (!other.scopedRouteConfigs_.isEmpty()) { if (scopedRouteConfigs_.isEmpty()) { scopedRouteConfigs_ = other.scopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.addAll(other.scopedRouteConfigs_); } onChanged(); } } else { if (!other.scopedRouteConfigs_.isEmpty()) { if (scopedRouteConfigsBuilder_.isEmpty()) { scopedRouteConfigsBuilder_.dispose(); scopedRouteConfigsBuilder_ = null; scopedRouteConfigs_ = other.scopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000001); scopedRouteConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getScopedRouteConfigsFieldBuilder() : null; } else { scopedRouteConfigsBuilder_.addAllMessages(other.scopedRouteConfigs_); } } } 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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name assigned to the scoped route configurations.
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object versionInfo_ = ""; /** *
       * This is the per-resource version information. This version is currently taken from the
       * :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
       * the scoped routes configuration was loaded.
       * 
* * string version_info = 2; * @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; } } /** *
       * 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 scoped routes configuration was loaded.
       * 
* * string version_info = 2; * @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; } } /** *
       * 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 scoped routes configuration was loaded.
       * 
* * string version_info = 2; * @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; } /** *
       * 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 scoped routes configuration was loaded.
       * 
* * string version_info = 2; * @return This builder for chaining. */ public Builder clearVersionInfo() { versionInfo_ = getDefaultInstance().getVersionInfo(); onChanged(); return this; } /** *
       * 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 scoped routes configuration was loaded.
       * 
* * string version_info = 2; * @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 java.util.List scopedRouteConfigs_ = java.util.Collections.emptyList(); private void ensureScopedRouteConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { scopedRouteConfigs_ = new java.util.ArrayList(scopedRouteConfigs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> scopedRouteConfigsBuilder_; /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public java.util.List getScopedRouteConfigsList() { if (scopedRouteConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(scopedRouteConfigs_); } else { return scopedRouteConfigsBuilder_.getMessageList(); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public int getScopedRouteConfigsCount() { if (scopedRouteConfigsBuilder_ == null) { return scopedRouteConfigs_.size(); } else { return scopedRouteConfigsBuilder_.getCount(); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public com.google.protobuf.Any getScopedRouteConfigs(int index) { if (scopedRouteConfigsBuilder_ == null) { return scopedRouteConfigs_.get(index); } else { return scopedRouteConfigsBuilder_.getMessage(index); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder setScopedRouteConfigs( int index, com.google.protobuf.Any value) { if (scopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.set(index, value); onChanged(); } else { scopedRouteConfigsBuilder_.setMessage(index, value); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder setScopedRouteConfigs( int index, com.google.protobuf.Any.Builder builderForValue) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.set(index, builderForValue.build()); onChanged(); } else { scopedRouteConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder addScopedRouteConfigs(com.google.protobuf.Any value) { if (scopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(value); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(value); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder addScopedRouteConfigs( int index, com.google.protobuf.Any value) { if (scopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(index, value); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(index, value); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder addScopedRouteConfigs( com.google.protobuf.Any.Builder builderForValue) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(builderForValue.build()); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder addScopedRouteConfigs( int index, com.google.protobuf.Any.Builder builderForValue) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.add(index, builderForValue.build()); onChanged(); } else { scopedRouteConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder addAllScopedRouteConfigs( java.lang.Iterable values) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, scopedRouteConfigs_); onChanged(); } else { scopedRouteConfigsBuilder_.addAllMessages(values); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder clearScopedRouteConfigs() { if (scopedRouteConfigsBuilder_ == null) { scopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { scopedRouteConfigsBuilder_.clear(); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public Builder removeScopedRouteConfigs(int index) { if (scopedRouteConfigsBuilder_ == null) { ensureScopedRouteConfigsIsMutable(); scopedRouteConfigs_.remove(index); onChanged(); } else { scopedRouteConfigsBuilder_.remove(index); } return this; } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public com.google.protobuf.Any.Builder getScopedRouteConfigsBuilder( int index) { return getScopedRouteConfigsFieldBuilder().getBuilder(index); } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public com.google.protobuf.AnyOrBuilder getScopedRouteConfigsOrBuilder( int index) { if (scopedRouteConfigsBuilder_ == null) { return scopedRouteConfigs_.get(index); } else { return scopedRouteConfigsBuilder_.getMessageOrBuilder(index); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public java.util.List getScopedRouteConfigsOrBuilderList() { if (scopedRouteConfigsBuilder_ != null) { return scopedRouteConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(scopedRouteConfigs_); } } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public com.google.protobuf.Any.Builder addScopedRouteConfigsBuilder() { return getScopedRouteConfigsFieldBuilder().addBuilder( com.google.protobuf.Any.getDefaultInstance()); } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public com.google.protobuf.Any.Builder addScopedRouteConfigsBuilder( int index) { return getScopedRouteConfigsFieldBuilder().addBuilder( index, com.google.protobuf.Any.getDefaultInstance()); } /** *
       * The scoped route configurations.
       * 
* * repeated .google.protobuf.Any scoped_route_configs = 3; */ public java.util.List getScopedRouteConfigsBuilderList() { return getScopedRouteConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getScopedRouteConfigsFieldBuilder() { if (scopedRouteConfigsBuilder_ == null) { scopedRouteConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( scopedRouteConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); scopedRouteConfigs_ = null; } return scopedRouteConfigsBuilder_; } 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_; /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; * @return Whether the lastUpdated field is set. */ public boolean hasLastUpdated() { return lastUpdatedBuilder_ != null || lastUpdated_ != null; } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; * @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(); } } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ 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; } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ public Builder setLastUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedBuilder_ == null) { lastUpdated_ = builderForValue.build(); onChanged(); } else { lastUpdatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ 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; } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ public Builder clearLastUpdated() { if (lastUpdatedBuilder_ == null) { lastUpdated_ = null; onChanged(); } else { lastUpdated_ = null; lastUpdatedBuilder_ = null; } return this; } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder() { onChanged(); return getLastUpdatedFieldBuilder().getBuilder(); } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder() { if (lastUpdatedBuilder_ != null) { return lastUpdatedBuilder_.getMessageOrBuilder(); } else { return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_; } } /** *
       * The timestamp when the scoped route config set was last updated.
       * 
* * .google.protobuf.Timestamp last_updated = 4; */ 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 = 5; * @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 = 5; * @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 = 5; */ 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 = 5; */ 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 = 5; */ 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 = 5; */ 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 = 5; */ 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 = 5; */ 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 = 5; */ 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 = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs) private static final io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs(); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicScopedRouteConfigs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DynamicScopedRouteConfigs(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.ScopedRoutesConfigDump.DynamicScopedRouteConfigs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int INLINE_SCOPED_ROUTE_CONFIGS_FIELD_NUMBER = 1; private java.util.List inlineScopedRouteConfigs_; /** *
   * The statically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ @java.lang.Override public java.util.List getInlineScopedRouteConfigsList() { return inlineScopedRouteConfigs_; } /** *
   * The statically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ @java.lang.Override public java.util.List getInlineScopedRouteConfigsOrBuilderList() { return inlineScopedRouteConfigs_; } /** *
   * The statically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ @java.lang.Override public int getInlineScopedRouteConfigsCount() { return inlineScopedRouteConfigs_.size(); } /** *
   * The statically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs getInlineScopedRouteConfigs(int index) { return inlineScopedRouteConfigs_.get(index); } /** *
   * The statically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigsOrBuilder getInlineScopedRouteConfigsOrBuilder( int index) { return inlineScopedRouteConfigs_.get(index); } public static final int DYNAMIC_SCOPED_ROUTE_CONFIGS_FIELD_NUMBER = 2; private java.util.List dynamicScopedRouteConfigs_; /** *
   * The dynamically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ @java.lang.Override public java.util.List getDynamicScopedRouteConfigsList() { return dynamicScopedRouteConfigs_; } /** *
   * The dynamically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ @java.lang.Override public java.util.List getDynamicScopedRouteConfigsOrBuilderList() { return dynamicScopedRouteConfigs_; } /** *
   * The dynamically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ @java.lang.Override public int getDynamicScopedRouteConfigsCount() { return dynamicScopedRouteConfigs_.size(); } /** *
   * The dynamically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs getDynamicScopedRouteConfigs(int index) { return dynamicScopedRouteConfigs_.get(index); } /** *
   * The dynamically loaded scoped route configs.
   * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder getDynamicScopedRouteConfigsOrBuilder( int index) { return dynamicScopedRouteConfigs_.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 < inlineScopedRouteConfigs_.size(); i++) { output.writeMessage(1, inlineScopedRouteConfigs_.get(i)); } for (int i = 0; i < dynamicScopedRouteConfigs_.size(); i++) { output.writeMessage(2, dynamicScopedRouteConfigs_.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 < inlineScopedRouteConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, inlineScopedRouteConfigs_.get(i)); } for (int i = 0; i < dynamicScopedRouteConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, dynamicScopedRouteConfigs_.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.ScopedRoutesConfigDump)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump other = (io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump) obj; if (!getInlineScopedRouteConfigsList() .equals(other.getInlineScopedRouteConfigsList())) return false; if (!getDynamicScopedRouteConfigsList() .equals(other.getDynamicScopedRouteConfigsList())) 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 (getInlineScopedRouteConfigsCount() > 0) { hash = (37 * hash) + INLINE_SCOPED_ROUTE_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getInlineScopedRouteConfigsList().hashCode(); } if (getDynamicScopedRouteConfigsCount() > 0) { hash = (37 * hash) + DYNAMIC_SCOPED_ROUTE_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getDynamicScopedRouteConfigsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump 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.ScopedRoutesConfigDump 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 scoped RDS implementation fills this message with all currently loaded route
   * configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both
   * the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the
   * dynamically obtained scopes via the SRDS API.
   * 
* * Protobuf type {@code envoy.admin.v3.ScopedRoutesConfigDump} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.ScopedRoutesConfigDump) io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDumpOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_ScopedRoutesConfigDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.class, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getInlineScopedRouteConfigsFieldBuilder(); getDynamicScopedRouteConfigsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (inlineScopedRouteConfigsBuilder_ == null) { inlineScopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { inlineScopedRouteConfigsBuilder_.clear(); } if (dynamicScopedRouteConfigsBuilder_ == null) { dynamicScopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dynamicScopedRouteConfigsBuilder_.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_ScopedRoutesConfigDump_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump build() { io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump buildPartial() { io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump result = new io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump(this); int from_bitField0_ = bitField0_; if (inlineScopedRouteConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { inlineScopedRouteConfigs_ = java.util.Collections.unmodifiableList(inlineScopedRouteConfigs_); bitField0_ = (bitField0_ & ~0x00000001); } result.inlineScopedRouteConfigs_ = inlineScopedRouteConfigs_; } else { result.inlineScopedRouteConfigs_ = inlineScopedRouteConfigsBuilder_.build(); } if (dynamicScopedRouteConfigsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dynamicScopedRouteConfigs_ = java.util.Collections.unmodifiableList(dynamicScopedRouteConfigs_); bitField0_ = (bitField0_ & ~0x00000002); } result.dynamicScopedRouteConfigs_ = dynamicScopedRouteConfigs_; } else { result.dynamicScopedRouteConfigs_ = dynamicScopedRouteConfigsBuilder_.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.ScopedRoutesConfigDump) { return mergeFrom((io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump other) { if (other == io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.getDefaultInstance()) return this; if (inlineScopedRouteConfigsBuilder_ == null) { if (!other.inlineScopedRouteConfigs_.isEmpty()) { if (inlineScopedRouteConfigs_.isEmpty()) { inlineScopedRouteConfigs_ = other.inlineScopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.addAll(other.inlineScopedRouteConfigs_); } onChanged(); } } else { if (!other.inlineScopedRouteConfigs_.isEmpty()) { if (inlineScopedRouteConfigsBuilder_.isEmpty()) { inlineScopedRouteConfigsBuilder_.dispose(); inlineScopedRouteConfigsBuilder_ = null; inlineScopedRouteConfigs_ = other.inlineScopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000001); inlineScopedRouteConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInlineScopedRouteConfigsFieldBuilder() : null; } else { inlineScopedRouteConfigsBuilder_.addAllMessages(other.inlineScopedRouteConfigs_); } } } if (dynamicScopedRouteConfigsBuilder_ == null) { if (!other.dynamicScopedRouteConfigs_.isEmpty()) { if (dynamicScopedRouteConfigs_.isEmpty()) { dynamicScopedRouteConfigs_ = other.dynamicScopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.addAll(other.dynamicScopedRouteConfigs_); } onChanged(); } } else { if (!other.dynamicScopedRouteConfigs_.isEmpty()) { if (dynamicScopedRouteConfigsBuilder_.isEmpty()) { dynamicScopedRouteConfigsBuilder_.dispose(); dynamicScopedRouteConfigsBuilder_ = null; dynamicScopedRouteConfigs_ = other.dynamicScopedRouteConfigs_; bitField0_ = (bitField0_ & ~0x00000002); dynamicScopedRouteConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDynamicScopedRouteConfigsFieldBuilder() : null; } else { dynamicScopedRouteConfigsBuilder_.addAllMessages(other.dynamicScopedRouteConfigs_); } } } 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.ScopedRoutesConfigDump parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List inlineScopedRouteConfigs_ = java.util.Collections.emptyList(); private void ensureInlineScopedRouteConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inlineScopedRouteConfigs_ = new java.util.ArrayList(inlineScopedRouteConfigs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigsOrBuilder> inlineScopedRouteConfigsBuilder_; /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public java.util.List getInlineScopedRouteConfigsList() { if (inlineScopedRouteConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(inlineScopedRouteConfigs_); } else { return inlineScopedRouteConfigsBuilder_.getMessageList(); } } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public int getInlineScopedRouteConfigsCount() { if (inlineScopedRouteConfigsBuilder_ == null) { return inlineScopedRouteConfigs_.size(); } else { return inlineScopedRouteConfigsBuilder_.getCount(); } } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs getInlineScopedRouteConfigs(int index) { if (inlineScopedRouteConfigsBuilder_ == null) { return inlineScopedRouteConfigs_.get(index); } else { return inlineScopedRouteConfigsBuilder_.getMessage(index); } } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder setInlineScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs value) { if (inlineScopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.set(index, value); onChanged(); } else { inlineScopedRouteConfigsBuilder_.setMessage(index, value); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder setInlineScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder builderForValue) { if (inlineScopedRouteConfigsBuilder_ == null) { ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.set(index, builderForValue.build()); onChanged(); } else { inlineScopedRouteConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder addInlineScopedRouteConfigs(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs value) { if (inlineScopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.add(value); onChanged(); } else { inlineScopedRouteConfigsBuilder_.addMessage(value); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder addInlineScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs value) { if (inlineScopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.add(index, value); onChanged(); } else { inlineScopedRouteConfigsBuilder_.addMessage(index, value); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder addInlineScopedRouteConfigs( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder builderForValue) { if (inlineScopedRouteConfigsBuilder_ == null) { ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.add(builderForValue.build()); onChanged(); } else { inlineScopedRouteConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder addInlineScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder builderForValue) { if (inlineScopedRouteConfigsBuilder_ == null) { ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.add(index, builderForValue.build()); onChanged(); } else { inlineScopedRouteConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder addAllInlineScopedRouteConfigs( java.lang.Iterable values) { if (inlineScopedRouteConfigsBuilder_ == null) { ensureInlineScopedRouteConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, inlineScopedRouteConfigs_); onChanged(); } else { inlineScopedRouteConfigsBuilder_.addAllMessages(values); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder clearInlineScopedRouteConfigs() { if (inlineScopedRouteConfigsBuilder_ == null) { inlineScopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { inlineScopedRouteConfigsBuilder_.clear(); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public Builder removeInlineScopedRouteConfigs(int index) { if (inlineScopedRouteConfigsBuilder_ == null) { ensureInlineScopedRouteConfigsIsMutable(); inlineScopedRouteConfigs_.remove(index); onChanged(); } else { inlineScopedRouteConfigsBuilder_.remove(index); } return this; } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder getInlineScopedRouteConfigsBuilder( int index) { return getInlineScopedRouteConfigsFieldBuilder().getBuilder(index); } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigsOrBuilder getInlineScopedRouteConfigsOrBuilder( int index) { if (inlineScopedRouteConfigsBuilder_ == null) { return inlineScopedRouteConfigs_.get(index); } else { return inlineScopedRouteConfigsBuilder_.getMessageOrBuilder(index); } } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public java.util.List getInlineScopedRouteConfigsOrBuilderList() { if (inlineScopedRouteConfigsBuilder_ != null) { return inlineScopedRouteConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(inlineScopedRouteConfigs_); } } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder addInlineScopedRouteConfigsBuilder() { return getInlineScopedRouteConfigsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.getDefaultInstance()); } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder addInlineScopedRouteConfigsBuilder( int index) { return getInlineScopedRouteConfigsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.getDefaultInstance()); } /** *
     * The statically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs inline_scoped_route_configs = 1; */ public java.util.List getInlineScopedRouteConfigsBuilderList() { return getInlineScopedRouteConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigsOrBuilder> getInlineScopedRouteConfigsFieldBuilder() { if (inlineScopedRouteConfigsBuilder_ == null) { inlineScopedRouteConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.Builder, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigsOrBuilder>( inlineScopedRouteConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); inlineScopedRouteConfigs_ = null; } return inlineScopedRouteConfigsBuilder_; } private java.util.List dynamicScopedRouteConfigs_ = java.util.Collections.emptyList(); private void ensureDynamicScopedRouteConfigsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dynamicScopedRouteConfigs_ = new java.util.ArrayList(dynamicScopedRouteConfigs_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder> dynamicScopedRouteConfigsBuilder_; /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public java.util.List getDynamicScopedRouteConfigsList() { if (dynamicScopedRouteConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(dynamicScopedRouteConfigs_); } else { return dynamicScopedRouteConfigsBuilder_.getMessageList(); } } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public int getDynamicScopedRouteConfigsCount() { if (dynamicScopedRouteConfigsBuilder_ == null) { return dynamicScopedRouteConfigs_.size(); } else { return dynamicScopedRouteConfigsBuilder_.getCount(); } } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs getDynamicScopedRouteConfigs(int index) { if (dynamicScopedRouteConfigsBuilder_ == null) { return dynamicScopedRouteConfigs_.get(index); } else { return dynamicScopedRouteConfigsBuilder_.getMessage(index); } } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder setDynamicScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs value) { if (dynamicScopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.set(index, value); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.setMessage(index, value); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder setDynamicScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder builderForValue) { if (dynamicScopedRouteConfigsBuilder_ == null) { ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.set(index, builderForValue.build()); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder addDynamicScopedRouteConfigs(io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs value) { if (dynamicScopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.add(value); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.addMessage(value); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder addDynamicScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs value) { if (dynamicScopedRouteConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.add(index, value); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.addMessage(index, value); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder addDynamicScopedRouteConfigs( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder builderForValue) { if (dynamicScopedRouteConfigsBuilder_ == null) { ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.add(builderForValue.build()); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder addDynamicScopedRouteConfigs( int index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder builderForValue) { if (dynamicScopedRouteConfigsBuilder_ == null) { ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.add(index, builderForValue.build()); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder addAllDynamicScopedRouteConfigs( java.lang.Iterable values) { if (dynamicScopedRouteConfigsBuilder_ == null) { ensureDynamicScopedRouteConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dynamicScopedRouteConfigs_); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.addAllMessages(values); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder clearDynamicScopedRouteConfigs() { if (dynamicScopedRouteConfigsBuilder_ == null) { dynamicScopedRouteConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.clear(); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public Builder removeDynamicScopedRouteConfigs(int index) { if (dynamicScopedRouteConfigsBuilder_ == null) { ensureDynamicScopedRouteConfigsIsMutable(); dynamicScopedRouteConfigs_.remove(index); onChanged(); } else { dynamicScopedRouteConfigsBuilder_.remove(index); } return this; } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder getDynamicScopedRouteConfigsBuilder( int index) { return getDynamicScopedRouteConfigsFieldBuilder().getBuilder(index); } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder getDynamicScopedRouteConfigsOrBuilder( int index) { if (dynamicScopedRouteConfigsBuilder_ == null) { return dynamicScopedRouteConfigs_.get(index); } else { return dynamicScopedRouteConfigsBuilder_.getMessageOrBuilder(index); } } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public java.util.List getDynamicScopedRouteConfigsOrBuilderList() { if (dynamicScopedRouteConfigsBuilder_ != null) { return dynamicScopedRouteConfigsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dynamicScopedRouteConfigs_); } } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addDynamicScopedRouteConfigsBuilder() { return getDynamicScopedRouteConfigsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.getDefaultInstance()); } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder addDynamicScopedRouteConfigsBuilder( int index) { return getDynamicScopedRouteConfigsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.getDefaultInstance()); } /** *
     * The dynamically loaded scoped route configs.
     * 
* * repeated .envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs dynamic_scoped_route_configs = 2; */ public java.util.List getDynamicScopedRouteConfigsBuilderList() { return getDynamicScopedRouteConfigsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder> getDynamicScopedRouteConfigsFieldBuilder() { if (dynamicScopedRouteConfigsBuilder_ == null) { dynamicScopedRouteConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.Builder, io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigsOrBuilder>( dynamicScopedRouteConfigs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dynamicScopedRouteConfigs_ = null; } return dynamicScopedRouteConfigsBuilder_; } @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.ScopedRoutesConfigDump) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.ScopedRoutesConfigDump) private static final io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump(); } public static io.envoyproxy.envoy.admin.v3.ScopedRoutesConfigDump getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScopedRoutesConfigDump parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScopedRoutesConfigDump(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.ScopedRoutesConfigDump getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy