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

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

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

package io.envoyproxy.envoy.admin.v3;

/**
 * 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();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private UpdateFailureState(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.Any.Builder subBuilder = null;
            if (failedConfiguration_ != null) {
              subBuilder = failedConfiguration_.toBuilder();
            }
            failedConfiguration_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(failedConfiguration_);
              failedConfiguration_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (lastUpdateAttempt_ != null) {
              subBuilder = lastUpdateAttempt_.toBuilder();
            }
            lastUpdateAttempt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(lastUpdateAttempt_);
              lastUpdateAttempt_ = subBuilder.buildPartial();
            }

            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            details_ = s;
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

            versionInfo_ = 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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.envoyproxy.envoy.admin.v3.ConfigDumpSharedProto.internal_static_envoy_admin_v3_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);
  }

  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 failedConfiguration_ != null; } /** *
   * 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 getFailedConfiguration(); } 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 lastUpdateAttempt_ != null; } /** *
   * 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 getLastUpdateAttempt(); } public static final int DETAILS_FIELD_NUMBER = 3; 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; 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 (failedConfiguration_ != null) { output.writeMessage(1, getFailedConfiguration()); } if (lastUpdateAttempt_ != null) { 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_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (failedConfiguration_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFailedConfiguration()); } if (lastUpdateAttempt_ != null) { 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 += 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.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 (!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 (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) + unknownFields.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (failedConfigurationBuilder_ == null) { failedConfiguration_ = null; } else { failedConfiguration_ = null; failedConfigurationBuilder_ = null; } if (lastUpdateAttemptBuilder_ == null) { lastUpdateAttempt_ = null; } else { lastUpdateAttempt_ = null; 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 (failedConfigurationBuilder_ == null) { result.failedConfiguration_ = failedConfiguration_; } else { result.failedConfiguration_ = failedConfigurationBuilder_.build(); } if (lastUpdateAttemptBuilder_ == null) { result.lastUpdateAttempt_ = lastUpdateAttempt_; } else { result.lastUpdateAttempt_ = lastUpdateAttemptBuilder_.build(); } result.details_ = details_; result.versionInfo_ = versionInfo_; 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.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_; onChanged(); } if (!other.getVersionInfo().isEmpty()) { versionInfo_ = other.versionInfo_; 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.UpdateFailureState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.admin.v3.UpdateFailureState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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 failedConfigurationBuilder_ != null || failedConfiguration_ != null; } /** *
     * 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; onChanged(); } else { failedConfigurationBuilder_.setMessage(value); } 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(); onChanged(); } else { failedConfigurationBuilder_.setMessage(builderForValue.build()); } 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 (failedConfiguration_ != null) { failedConfiguration_ = com.google.protobuf.Any.newBuilder(failedConfiguration_).mergeFrom(value).buildPartial(); } else { failedConfiguration_ = value; } onChanged(); } else { failedConfigurationBuilder_.mergeFrom(value); } 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() { if (failedConfigurationBuilder_ == null) { failedConfiguration_ = null; onChanged(); } else { failedConfiguration_ = null; failedConfigurationBuilder_ = null; } 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() { 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 lastUpdateAttemptBuilder_ != null || lastUpdateAttempt_ != null; } /** *
     * 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; onChanged(); } else { lastUpdateAttemptBuilder_.setMessage(value); } 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(); onChanged(); } else { lastUpdateAttemptBuilder_.setMessage(builderForValue.build()); } 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 (lastUpdateAttempt_ != null) { lastUpdateAttempt_ = com.google.protobuf.Timestamp.newBuilder(lastUpdateAttempt_).mergeFrom(value).buildPartial(); } else { lastUpdateAttempt_ = value; } onChanged(); } else { lastUpdateAttemptBuilder_.mergeFrom(value); } return this; } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public Builder clearLastUpdateAttempt() { if (lastUpdateAttemptBuilder_ == null) { lastUpdateAttempt_ = null; onChanged(); } else { lastUpdateAttempt_ = null; lastUpdateAttemptBuilder_ = null; } return this; } /** *
     * Time of the latest failed update attempt.
     * 
* * .google.protobuf.Timestamp last_update_attempt = 2; */ public com.google.protobuf.Timestamp.Builder getLastUpdateAttemptBuilder() { 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; onChanged(); return this; } /** *
     * Details about the last failed update attempt.
     * 
* * string details = 3; * @return This builder for chaining. */ public Builder clearDetails() { details_ = getDefaultInstance().getDetails(); 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; 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; 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(); 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; 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 { return new UpdateFailureState(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.UpdateFailureState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy