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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/admin/v3/config_dump_shared.proto

// Protobuf Java Version: 3.25.5
package io.envoyproxy.envoy.admin.v3;

/**
 * Protobuf type {@code envoy.admin.v3.UpdateFailureState}
 */
public final class UpdateFailureState extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:envoy.admin.v3.UpdateFailureState)
    UpdateFailureStateOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UpdateFailureState.newBuilder() to construct.
  private UpdateFailureState(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private UpdateFailureState() {
    details_ = "";
    versionInfo_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new UpdateFailureState();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_UpdateFailureState_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_UpdateFailureState_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.envoyproxy.envoy.admin.v3.UpdateFailureState.class, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder.class);
  }

  private int bitField0_;
  public static final int FAILED_CONFIGURATION_FIELD_NUMBER = 1;
  private com.google.protobuf.Any failedConfiguration_;
  /**
   * 
   * What the component configuration would have been if the update had succeeded.
   * This field may not be populated by xDS clients due to storage overhead.
   * 
* * .google.protobuf.Any failed_configuration = 1; * @return Whether the failedConfiguration field is set. */ @java.lang.Override public boolean hasFailedConfiguration() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * What the component configuration would have been if the update had succeeded.
   * This field may not be populated by xDS clients due to storage overhead.
   * 
* * .google.protobuf.Any failed_configuration = 1; * @return The failedConfiguration. */ @java.lang.Override public com.google.protobuf.Any getFailedConfiguration() { return failedConfiguration_ == null ? com.google.protobuf.Any.getDefaultInstance() : failedConfiguration_; } /** *
   * What the component configuration would have been if the update had succeeded.
   * This field may not be populated by xDS clients due to storage overhead.
   * 
* * .google.protobuf.Any failed_configuration = 1; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getFailedConfigurationOrBuilder() { return failedConfiguration_ == null ? com.google.protobuf.Any.getDefaultInstance() : failedConfiguration_; } public static final int LAST_UPDATE_ATTEMPT_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp lastUpdateAttempt_; /** *
   * Time of the latest failed update attempt.
   * 
* * .google.protobuf.Timestamp last_update_attempt = 2; * @return Whether the lastUpdateAttempt field is set. */ @java.lang.Override public boolean hasLastUpdateAttempt() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Time of the latest failed update attempt.
   * 
* * .google.protobuf.Timestamp last_update_attempt = 2; * @return The lastUpdateAttempt. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateAttempt() { return lastUpdateAttempt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateAttempt_; } /** *
   * Time of the latest failed update attempt.
   * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdateAttemptOrBuilder() { return lastUpdateAttempt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateAttempt_; } public static final int DETAILS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object details_ = ""; /** *
   * Details about the last failed update attempt.
   * 
* * string details = 3; * @return The details. */ @java.lang.Override public java.lang.String getDetails() { java.lang.Object ref = details_; 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(); details_ = s; return s; } } /** *
   * Details about the last failed update attempt.
   * 
* * string details = 3; * @return The bytes for details. */ @java.lang.Override public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); details_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_INFO_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object versionInfo_ = ""; /** *
   * This is the version of the rejected resource.
   * [#not-implemented-hide:]
   * 
* * string version_info = 4; * @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 version of the rejected resource.
   * [#not-implemented-hide:]
   * 
* * string version_info = 4; * @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; } } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getFailedConfiguration()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getLastUpdateAttempt()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, details_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, versionInfo_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFailedConfiguration()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getLastUpdateAttempt()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, details_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, versionInfo_); } size += getUnknownFields().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.UpdateFailureState)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.UpdateFailureState other = (io.envoyproxy.envoy.admin.v3.UpdateFailureState) obj; if (hasFailedConfiguration() != other.hasFailedConfiguration()) return false; if (hasFailedConfiguration()) { if (!getFailedConfiguration() .equals(other.getFailedConfiguration())) return false; } if (hasLastUpdateAttempt() != other.hasLastUpdateAttempt()) return false; if (hasLastUpdateAttempt()) { if (!getLastUpdateAttempt() .equals(other.getLastUpdateAttempt())) return false; } if (!getDetails() .equals(other.getDetails())) return false; if (!getVersionInfo() .equals(other.getVersionInfo())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFailedConfiguration()) { hash = (37 * hash) + FAILED_CONFIGURATION_FIELD_NUMBER; hash = (53 * hash) + getFailedConfiguration().hashCode(); } if (hasLastUpdateAttempt()) { hash = (37 * hash) + LAST_UPDATE_ATTEMPT_FIELD_NUMBER; hash = (53 * hash) + getLastUpdateAttempt().hashCode(); } hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + getDetails().hashCode(); hash = (37 * hash) + VERSION_INFO_FIELD_NUMBER; hash = (53 * hash) + getVersionInfo().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState 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.UpdateFailureState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState 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.UpdateFailureState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState 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.UpdateFailureState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState 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.UpdateFailureState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState 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.UpdateFailureState 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.UpdateFailureState 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.UpdateFailureState 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.UpdateFailureState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.UpdateFailureState) io.envoyproxy.envoy.admin.v3.UpdateFailureStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_UpdateFailureState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_UpdateFailureState_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.UpdateFailureState.class, io.envoyproxy.envoy.admin.v3.UpdateFailureState.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.UpdateFailureState.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFailedConfigurationFieldBuilder(); getLastUpdateAttemptFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; failedConfiguration_ = null; if (failedConfigurationBuilder_ != null) { failedConfigurationBuilder_.dispose(); failedConfigurationBuilder_ = null; } lastUpdateAttempt_ = null; if (lastUpdateAttemptBuilder_ != null) { lastUpdateAttemptBuilder_.dispose(); lastUpdateAttemptBuilder_ = null; } details_ = ""; versionInfo_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_UpdateFailureState_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureState getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureState build() { io.envoyproxy.envoy.admin.v3.UpdateFailureState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.UpdateFailureState buildPartial() { io.envoyproxy.envoy.admin.v3.UpdateFailureState result = new io.envoyproxy.envoy.admin.v3.UpdateFailureState(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.admin.v3.UpdateFailureState result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.failedConfiguration_ = failedConfigurationBuilder_ == null ? failedConfiguration_ : failedConfigurationBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lastUpdateAttempt_ = lastUpdateAttemptBuilder_ == null ? lastUpdateAttempt_ : lastUpdateAttemptBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.details_ = details_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.versionInfo_ = versionInfo_; } result.bitField0_ |= to_bitField0_; } @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.UpdateFailureState) { return mergeFrom((io.envoyproxy.envoy.admin.v3.UpdateFailureState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.UpdateFailureState other) { if (other == io.envoyproxy.envoy.admin.v3.UpdateFailureState.getDefaultInstance()) return this; if (other.hasFailedConfiguration()) { mergeFailedConfiguration(other.getFailedConfiguration()); } if (other.hasLastUpdateAttempt()) { mergeLastUpdateAttempt(other.getLastUpdateAttempt()); } if (!other.getDetails().isEmpty()) { details_ = other.details_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getVersionInfo().isEmpty()) { versionInfo_ = other.versionInfo_; bitField0_ |= 0x00000008; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getFailedConfigurationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getLastUpdateAttemptFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { details_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { versionInfo_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.Any failedConfiguration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> failedConfigurationBuilder_; /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; * @return Whether the failedConfiguration field is set. */ public boolean hasFailedConfiguration() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; * @return The failedConfiguration. */ public com.google.protobuf.Any getFailedConfiguration() { if (failedConfigurationBuilder_ == null) { return failedConfiguration_ == null ? com.google.protobuf.Any.getDefaultInstance() : failedConfiguration_; } else { return failedConfigurationBuilder_.getMessage(); } } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ public Builder setFailedConfiguration(com.google.protobuf.Any value) { if (failedConfigurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } failedConfiguration_ = value; } else { failedConfigurationBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ public Builder setFailedConfiguration( com.google.protobuf.Any.Builder builderForValue) { if (failedConfigurationBuilder_ == null) { failedConfiguration_ = builderForValue.build(); } else { failedConfigurationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ public Builder mergeFailedConfiguration(com.google.protobuf.Any value) { if (failedConfigurationBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && failedConfiguration_ != null && failedConfiguration_ != com.google.protobuf.Any.getDefaultInstance()) { getFailedConfigurationBuilder().mergeFrom(value); } else { failedConfiguration_ = value; } } else { failedConfigurationBuilder_.mergeFrom(value); } if (failedConfiguration_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ public Builder clearFailedConfiguration() { bitField0_ = (bitField0_ & ~0x00000001); failedConfiguration_ = null; if (failedConfigurationBuilder_ != null) { failedConfigurationBuilder_.dispose(); failedConfigurationBuilder_ = null; } onChanged(); return this; } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ public com.google.protobuf.Any.Builder getFailedConfigurationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getFailedConfigurationFieldBuilder().getBuilder(); } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ public com.google.protobuf.AnyOrBuilder getFailedConfigurationOrBuilder() { if (failedConfigurationBuilder_ != null) { return failedConfigurationBuilder_.getMessageOrBuilder(); } else { return failedConfiguration_ == null ? com.google.protobuf.Any.getDefaultInstance() : failedConfiguration_; } } /** *
     * What the component configuration would have been if the update had succeeded.
     * This field may not be populated by xDS clients due to storage overhead.
     * 
* * .google.protobuf.Any failed_configuration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getFailedConfigurationFieldBuilder() { if (failedConfigurationBuilder_ == null) { failedConfigurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getFailedConfiguration(), getParentForChildren(), isClean()); failedConfiguration_ = null; } return failedConfigurationBuilder_; } private com.google.protobuf.Timestamp lastUpdateAttempt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateAttemptBuilder_; /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; * @return Whether the lastUpdateAttempt field is set. */ public boolean hasLastUpdateAttempt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; * @return The lastUpdateAttempt. */ public com.google.protobuf.Timestamp getLastUpdateAttempt() { if (lastUpdateAttemptBuilder_ == null) { return lastUpdateAttempt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateAttempt_; } else { return lastUpdateAttemptBuilder_.getMessage(); } } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public Builder setLastUpdateAttempt(com.google.protobuf.Timestamp value) { if (lastUpdateAttemptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdateAttempt_ = value; } else { lastUpdateAttemptBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public Builder setLastUpdateAttempt( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateAttemptBuilder_ == null) { lastUpdateAttempt_ = builderForValue.build(); } else { lastUpdateAttemptBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public Builder mergeLastUpdateAttempt(com.google.protobuf.Timestamp value) { if (lastUpdateAttemptBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && lastUpdateAttempt_ != null && lastUpdateAttempt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getLastUpdateAttemptBuilder().mergeFrom(value); } else { lastUpdateAttempt_ = value; } } else { lastUpdateAttemptBuilder_.mergeFrom(value); } if (lastUpdateAttempt_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public Builder clearLastUpdateAttempt() { bitField0_ = (bitField0_ & ~0x00000002); lastUpdateAttempt_ = null; if (lastUpdateAttemptBuilder_ != null) { lastUpdateAttemptBuilder_.dispose(); lastUpdateAttemptBuilder_ = null; } onChanged(); return this; } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public com.google.protobuf.Timestamp.Builder getLastUpdateAttemptBuilder() { bitField0_ |= 0x00000002; onChanged(); return getLastUpdateAttemptFieldBuilder().getBuilder(); } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public com.google.protobuf.TimestampOrBuilder getLastUpdateAttemptOrBuilder() { if (lastUpdateAttemptBuilder_ != null) { return lastUpdateAttemptBuilder_.getMessageOrBuilder(); } else { return lastUpdateAttempt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateAttempt_; } } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateAttemptFieldBuilder() { if (lastUpdateAttemptBuilder_ == null) { lastUpdateAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastUpdateAttempt(), getParentForChildren(), isClean()); lastUpdateAttempt_ = null; } return lastUpdateAttemptBuilder_; } private java.lang.Object details_ = ""; /** *
     * Details about the last failed update attempt.
     * 
* * string details = 3; * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Details about the last failed update attempt.
     * 
* * string details = 3; * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); details_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Details about the last failed update attempt.
     * 
* * string details = 3; * @param value The details to set. * @return This builder for chaining. */ public Builder setDetails( java.lang.String value) { if (value == null) { throw new NullPointerException(); } details_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Details about the last failed update attempt.
     * 
* * string details = 3; * @return This builder for chaining. */ public Builder clearDetails() { details_ = getDefaultInstance().getDetails(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Details about the last failed update attempt.
     * 
* * string details = 3; * @param value The bytes for details to set. * @return This builder for chaining. */ public Builder setDetailsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); details_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object versionInfo_ = ""; /** *
     * This is the version of the rejected resource.
     * [#not-implemented-hide:]
     * 
* * string version_info = 4; * @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 version of the rejected resource.
     * [#not-implemented-hide:]
     * 
* * string version_info = 4; * @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 version of the rejected resource.
     * [#not-implemented-hide:]
     * 
* * string version_info = 4; * @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; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * This is the version of the rejected resource.
     * [#not-implemented-hide:]
     * 
* * string version_info = 4; * @return This builder for chaining. */ public Builder clearVersionInfo() { versionInfo_ = getDefaultInstance().getVersionInfo(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * This is the version of the rejected resource.
     * [#not-implemented-hide:]
     * 
* * string version_info = 4; * @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; bitField0_ |= 0x00000008; 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.UpdateFailureState) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.UpdateFailureState) private static final io.envoyproxy.envoy.admin.v3.UpdateFailureState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.UpdateFailureState(); } public static io.envoyproxy.envoy.admin.v3.UpdateFailureState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateFailureState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; 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.UpdateFailureState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy