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

io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps 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/init_dump.proto

package io.envoyproxy.envoy.admin.v3;

/**
 * 
 * Dumps of unready targets of envoy init managers. Envoy's admin fills this message with init managers,
 * which provides the information of their unready targets.
 * The :ref:`/init_dump <operations_admin_interface_init_dump>` will dump all unready targets information.
 * 
* * Protobuf type {@code envoy.admin.v3.UnreadyTargetsDumps} */ public final class UnreadyTargetsDumps extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.UnreadyTargetsDumps) UnreadyTargetsDumpsOrBuilder { private static final long serialVersionUID = 0L; // Use UnreadyTargetsDumps.newBuilder() to construct. private UnreadyTargetsDumps(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnreadyTargetsDumps() { unreadyTargetsDumps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnreadyTargetsDumps(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnreadyTargetsDumps( 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)) { unreadyTargetsDumps_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } unreadyTargetsDumps_.add( input.readMessage(io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.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)) { unreadyTargetsDumps_ = java.util.Collections.unmodifiableList(unreadyTargetsDumps_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.class, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.Builder.class); } public interface UnreadyTargetsDumpOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the init manager. Example: "init_manager_xxx".
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name of the init manager. Example: "init_manager_xxx".
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @return A list containing the targetNames. */ java.util.List getTargetNamesList(); /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @return The count of targetNames. */ int getTargetNamesCount(); /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @param index The index of the element to return. * @return The targetNames at the given index. */ java.lang.String getTargetNames(int index); /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @param index The index of the value to return. * @return The bytes of the targetNames at the given index. */ com.google.protobuf.ByteString getTargetNamesBytes(int index); } /** *
   * Message of unready targets information of an init manager.
   * 
* * Protobuf type {@code envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump} */ public static final class UnreadyTargetsDump extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump) UnreadyTargetsDumpOrBuilder { private static final long serialVersionUID = 0L; // Use UnreadyTargetsDump.newBuilder() to construct. private UnreadyTargetsDump(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnreadyTargetsDump() { name_ = ""; targetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnreadyTargetsDump(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnreadyTargetsDump( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { targetNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } targetNames_.add(s); 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)) { targetNames_ = targetNames_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.class, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * Name of the init manager. Example: "init_manager_xxx".
     * 
* * 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; } } /** *
     * Name of the init manager. Example: "init_manager_xxx".
     * 
* * 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 TARGET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList targetNames_; /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @return A list containing the targetNames. */ public com.google.protobuf.ProtocolStringList getTargetNamesList() { return targetNames_; } /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @return The count of targetNames. */ public int getTargetNamesCount() { return targetNames_.size(); } /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @param index The index of the element to return. * @return The targetNames at the given index. */ public java.lang.String getTargetNames(int index) { return targetNames_.get(index); } /** *
     * Names of unready targets of the init manager. Example: "target_xxx".
     * 
* * repeated string target_names = 2; * @param index The index of the value to return. * @return The bytes of the targetNames at the given index. */ public com.google.protobuf.ByteString getTargetNamesBytes(int index) { return targetNames_.getByteString(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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < targetNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetNames_.getRaw(i)); } 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_); } { int dataSize = 0; for (int i = 0; i < targetNames_.size(); i++) { dataSize += computeStringSizeNoTag(targetNames_.getRaw(i)); } size += dataSize; size += 1 * getTargetNamesList().size(); } 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.UnreadyTargetsDumps.UnreadyTargetsDump)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump other = (io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump) obj; if (!getName() .equals(other.getName())) return false; if (!getTargetNamesList() .equals(other.getTargetNamesList())) 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 (getTargetNamesCount() > 0) { hash = (37 * hash) + TARGET_NAMES_FIELD_NUMBER; hash = (53 * hash) + getTargetNamesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump 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.UnreadyTargetsDumps.UnreadyTargetsDump 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; } /** *
     * Message of unready targets information of an init manager.
     * 
* * Protobuf type {@code envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump) io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDumpOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.class, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; targetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_UnreadyTargetsDump_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump build() { io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump buildPartial() { io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump result = new io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { targetNames_ = targetNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.targetNames_ = targetNames_; 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.UnreadyTargetsDumps.UnreadyTargetsDump) { return mergeFrom((io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump other) { if (other == io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.targetNames_.isEmpty()) { if (targetNames_.isEmpty()) { targetNames_ = other.targetNames_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTargetNamesIsMutable(); targetNames_.addAll(other.targetNames_); } onChanged(); } 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.UnreadyTargetsDumps.UnreadyTargetsDump parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * Name of the init manager. Example: "init_manager_xxx".
       * 
* * 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; } } /** *
       * Name of the init manager. Example: "init_manager_xxx".
       * 
* * 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; } } /** *
       * Name of the init manager. Example: "init_manager_xxx".
       * 
* * 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; } /** *
       * Name of the init manager. Example: "init_manager_xxx".
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the init manager. Example: "init_manager_xxx".
       * 
* * 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 com.google.protobuf.LazyStringList targetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { targetNames_ = new com.google.protobuf.LazyStringArrayList(targetNames_); bitField0_ |= 0x00000001; } } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @return A list containing the targetNames. */ public com.google.protobuf.ProtocolStringList getTargetNamesList() { return targetNames_.getUnmodifiableView(); } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @return The count of targetNames. */ public int getTargetNamesCount() { return targetNames_.size(); } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @param index The index of the element to return. * @return The targetNames at the given index. */ public java.lang.String getTargetNames(int index) { return targetNames_.get(index); } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @param index The index of the value to return. * @return The bytes of the targetNames at the given index. */ public com.google.protobuf.ByteString getTargetNamesBytes(int index) { return targetNames_.getByteString(index); } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @param index The index to set the value at. * @param value The targetNames to set. * @return This builder for chaining. */ public Builder setTargetNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTargetNamesIsMutable(); targetNames_.set(index, value); onChanged(); return this; } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @param value The targetNames to add. * @return This builder for chaining. */ public Builder addTargetNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTargetNamesIsMutable(); targetNames_.add(value); onChanged(); return this; } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @param values The targetNames to add. * @return This builder for chaining. */ public Builder addAllTargetNames( java.lang.Iterable values) { ensureTargetNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, targetNames_); onChanged(); return this; } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @return This builder for chaining. */ public Builder clearTargetNames() { targetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Names of unready targets of the init manager. Example: "target_xxx".
       * 
* * repeated string target_names = 2; * @param value The bytes of the targetNames to add. * @return This builder for chaining. */ public Builder addTargetNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTargetNamesIsMutable(); targetNames_.add(value); 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.UnreadyTargetsDumps.UnreadyTargetsDump) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump) private static final io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump(); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnreadyTargetsDump parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnreadyTargetsDump(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.UnreadyTargetsDumps.UnreadyTargetsDump getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int UNREADY_TARGETS_DUMPS_FIELD_NUMBER = 1; private java.util.List unreadyTargetsDumps_; /** *
   * You can choose specific component to dump unready targets with mask query parameter.
   * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
   * The dumps of unready targets of all init managers.
   * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ @java.lang.Override public java.util.List getUnreadyTargetsDumpsList() { return unreadyTargetsDumps_; } /** *
   * You can choose specific component to dump unready targets with mask query parameter.
   * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
   * The dumps of unready targets of all init managers.
   * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ @java.lang.Override public java.util.List getUnreadyTargetsDumpsOrBuilderList() { return unreadyTargetsDumps_; } /** *
   * You can choose specific component to dump unready targets with mask query parameter.
   * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
   * The dumps of unready targets of all init managers.
   * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ @java.lang.Override public int getUnreadyTargetsDumpsCount() { return unreadyTargetsDumps_.size(); } /** *
   * You can choose specific component to dump unready targets with mask query parameter.
   * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
   * The dumps of unready targets of all init managers.
   * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump getUnreadyTargetsDumps(int index) { return unreadyTargetsDumps_.get(index); } /** *
   * You can choose specific component to dump unready targets with mask query parameter.
   * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
   * The dumps of unready targets of all init managers.
   * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDumpOrBuilder getUnreadyTargetsDumpsOrBuilder( int index) { return unreadyTargetsDumps_.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 < unreadyTargetsDumps_.size(); i++) { output.writeMessage(1, unreadyTargetsDumps_.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 < unreadyTargetsDumps_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, unreadyTargetsDumps_.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.UnreadyTargetsDumps)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps other = (io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps) obj; if (!getUnreadyTargetsDumpsList() .equals(other.getUnreadyTargetsDumpsList())) 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 (getUnreadyTargetsDumpsCount() > 0) { hash = (37 * hash) + UNREADY_TARGETS_DUMPS_FIELD_NUMBER; hash = (53 * hash) + getUnreadyTargetsDumpsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps 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.UnreadyTargetsDumps parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps 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.UnreadyTargetsDumps parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps 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.UnreadyTargetsDumps parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps 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.UnreadyTargetsDumps parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps 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.UnreadyTargetsDumps 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.UnreadyTargetsDumps 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.UnreadyTargetsDumps 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; } /** *
   * Dumps of unready targets of envoy init managers. Envoy's admin fills this message with init managers,
   * which provides the information of their unready targets.
   * The :ref:`/init_dump <operations_admin_interface_init_dump>` will dump all unready targets information.
   * 
* * Protobuf type {@code envoy.admin.v3.UnreadyTargetsDumps} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.UnreadyTargetsDumps) io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumpsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.class, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUnreadyTargetsDumpsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (unreadyTargetsDumpsBuilder_ == null) { unreadyTargetsDumps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { unreadyTargetsDumpsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.InitDumpProto.internal_static_envoy_admin_v3_UnreadyTargetsDumps_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps build() { io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps buildPartial() { io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps result = new io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps(this); int from_bitField0_ = bitField0_; if (unreadyTargetsDumpsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { unreadyTargetsDumps_ = java.util.Collections.unmodifiableList(unreadyTargetsDumps_); bitField0_ = (bitField0_ & ~0x00000001); } result.unreadyTargetsDumps_ = unreadyTargetsDumps_; } else { result.unreadyTargetsDumps_ = unreadyTargetsDumpsBuilder_.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.UnreadyTargetsDumps) { return mergeFrom((io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps other) { if (other == io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.getDefaultInstance()) return this; if (unreadyTargetsDumpsBuilder_ == null) { if (!other.unreadyTargetsDumps_.isEmpty()) { if (unreadyTargetsDumps_.isEmpty()) { unreadyTargetsDumps_ = other.unreadyTargetsDumps_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.addAll(other.unreadyTargetsDumps_); } onChanged(); } } else { if (!other.unreadyTargetsDumps_.isEmpty()) { if (unreadyTargetsDumpsBuilder_.isEmpty()) { unreadyTargetsDumpsBuilder_.dispose(); unreadyTargetsDumpsBuilder_ = null; unreadyTargetsDumps_ = other.unreadyTargetsDumps_; bitField0_ = (bitField0_ & ~0x00000001); unreadyTargetsDumpsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUnreadyTargetsDumpsFieldBuilder() : null; } else { unreadyTargetsDumpsBuilder_.addAllMessages(other.unreadyTargetsDumps_); } } } 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.UnreadyTargetsDumps parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List unreadyTargetsDumps_ = java.util.Collections.emptyList(); private void ensureUnreadyTargetsDumpsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { unreadyTargetsDumps_ = new java.util.ArrayList(unreadyTargetsDumps_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDumpOrBuilder> unreadyTargetsDumpsBuilder_; /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public java.util.List getUnreadyTargetsDumpsList() { if (unreadyTargetsDumpsBuilder_ == null) { return java.util.Collections.unmodifiableList(unreadyTargetsDumps_); } else { return unreadyTargetsDumpsBuilder_.getMessageList(); } } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public int getUnreadyTargetsDumpsCount() { if (unreadyTargetsDumpsBuilder_ == null) { return unreadyTargetsDumps_.size(); } else { return unreadyTargetsDumpsBuilder_.getCount(); } } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump getUnreadyTargetsDumps(int index) { if (unreadyTargetsDumpsBuilder_ == null) { return unreadyTargetsDumps_.get(index); } else { return unreadyTargetsDumpsBuilder_.getMessage(index); } } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder setUnreadyTargetsDumps( int index, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump value) { if (unreadyTargetsDumpsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.set(index, value); onChanged(); } else { unreadyTargetsDumpsBuilder_.setMessage(index, value); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder setUnreadyTargetsDumps( int index, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder builderForValue) { if (unreadyTargetsDumpsBuilder_ == null) { ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.set(index, builderForValue.build()); onChanged(); } else { unreadyTargetsDumpsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder addUnreadyTargetsDumps(io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump value) { if (unreadyTargetsDumpsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.add(value); onChanged(); } else { unreadyTargetsDumpsBuilder_.addMessage(value); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder addUnreadyTargetsDumps( int index, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump value) { if (unreadyTargetsDumpsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.add(index, value); onChanged(); } else { unreadyTargetsDumpsBuilder_.addMessage(index, value); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder addUnreadyTargetsDumps( io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder builderForValue) { if (unreadyTargetsDumpsBuilder_ == null) { ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.add(builderForValue.build()); onChanged(); } else { unreadyTargetsDumpsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder addUnreadyTargetsDumps( int index, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder builderForValue) { if (unreadyTargetsDumpsBuilder_ == null) { ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.add(index, builderForValue.build()); onChanged(); } else { unreadyTargetsDumpsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder addAllUnreadyTargetsDumps( java.lang.Iterable values) { if (unreadyTargetsDumpsBuilder_ == null) { ensureUnreadyTargetsDumpsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unreadyTargetsDumps_); onChanged(); } else { unreadyTargetsDumpsBuilder_.addAllMessages(values); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder clearUnreadyTargetsDumps() { if (unreadyTargetsDumpsBuilder_ == null) { unreadyTargetsDumps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { unreadyTargetsDumpsBuilder_.clear(); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public Builder removeUnreadyTargetsDumps(int index) { if (unreadyTargetsDumpsBuilder_ == null) { ensureUnreadyTargetsDumpsIsMutable(); unreadyTargetsDumps_.remove(index); onChanged(); } else { unreadyTargetsDumpsBuilder_.remove(index); } return this; } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder getUnreadyTargetsDumpsBuilder( int index) { return getUnreadyTargetsDumpsFieldBuilder().getBuilder(index); } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDumpOrBuilder getUnreadyTargetsDumpsOrBuilder( int index) { if (unreadyTargetsDumpsBuilder_ == null) { return unreadyTargetsDumps_.get(index); } else { return unreadyTargetsDumpsBuilder_.getMessageOrBuilder(index); } } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public java.util.List getUnreadyTargetsDumpsOrBuilderList() { if (unreadyTargetsDumpsBuilder_ != null) { return unreadyTargetsDumpsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(unreadyTargetsDumps_); } } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder addUnreadyTargetsDumpsBuilder() { return getUnreadyTargetsDumpsFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.getDefaultInstance()); } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder addUnreadyTargetsDumpsBuilder( int index) { return getUnreadyTargetsDumpsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.getDefaultInstance()); } /** *
     * You can choose specific component to dump unready targets with mask query parameter.
     * See :ref:`/init_dump?mask={} <operations_admin_interface_init_dump_by_mask>` for more information.
     * The dumps of unready targets of all init managers.
     * 
* * repeated .envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump unready_targets_dumps = 1; */ public java.util.List getUnreadyTargetsDumpsBuilderList() { return getUnreadyTargetsDumpsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDumpOrBuilder> getUnreadyTargetsDumpsFieldBuilder() { if (unreadyTargetsDumpsBuilder_ == null) { unreadyTargetsDumpsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump.Builder, io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDumpOrBuilder>( unreadyTargetsDumps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); unreadyTargetsDumps_ = null; } return unreadyTargetsDumpsBuilder_; } @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.UnreadyTargetsDumps) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.UnreadyTargetsDumps) private static final io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps(); } public static io.envoyproxy.envoy.admin.v3.UnreadyTargetsDumps getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnreadyTargetsDumps parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnreadyTargetsDumps(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.UnreadyTargetsDumps getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy