Class CompatibilityStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompatibilityStatus.Builder>
com.google.container.v1beta1.CompatibilityStatus.Builder
All Implemented Interfaces:
CompatibilityStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CompatibilityStatus

public static final class CompatibilityStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompatibilityStatus.Builder> implements CompatibilityStatusOrBuilder
 CompatibilityStatus is the status regarding the control plane's
 compatibility.
 
Protobuf type google.container.v1beta1.CompatibilityStatus
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CompatibilityStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CompatibilityStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CompatibilityStatus.Builder>
    • getDefaultInstanceForType

      public CompatibilityStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CompatibilityStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CompatibilityStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CompatibilityStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompatibilityStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CompatibilityStatus.Builder>
    • mergeFrom

      public CompatibilityStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompatibilityStatus.Builder>
      Throws:
      IOException
    • getDowngradableVersion

      public String getDowngradableVersion()
       Output only. The GKE version that the cluster can be safely downgraded to
       if the cluster is emulating the previous minor version. It is usually the
       cluster's previous version before a minor version upgrade.
       
      string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDowngradableVersion in interface CompatibilityStatusOrBuilder
      Returns:
      The downgradableVersion.
    • getDowngradableVersionBytes

      public com.google.protobuf.ByteString getDowngradableVersionBytes()
       Output only. The GKE version that the cluster can be safely downgraded to
       if the cluster is emulating the previous minor version. It is usually the
       cluster's previous version before a minor version upgrade.
       
      string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDowngradableVersionBytes in interface CompatibilityStatusOrBuilder
      Returns:
      The bytes for downgradableVersion.
    • setDowngradableVersion

      public CompatibilityStatus.Builder setDowngradableVersion(String value)
       Output only. The GKE version that the cluster can be safely downgraded to
       if the cluster is emulating the previous minor version. It is usually the
       cluster's previous version before a minor version upgrade.
       
      string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The downgradableVersion to set.
      Returns:
      This builder for chaining.
    • clearDowngradableVersion

      public CompatibilityStatus.Builder clearDowngradableVersion()
       Output only. The GKE version that the cluster can be safely downgraded to
       if the cluster is emulating the previous minor version. It is usually the
       cluster's previous version before a minor version upgrade.
       
      string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDowngradableVersionBytes

      public CompatibilityStatus.Builder setDowngradableVersionBytes(com.google.protobuf.ByteString value)
       Output only. The GKE version that the cluster can be safely downgraded to
       if the cluster is emulating the previous minor version. It is usually the
       cluster's previous version before a minor version upgrade.
       
      string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for downgradableVersion to set.
      Returns:
      This builder for chaining.
    • hasEmulatedVersionTime

      public boolean hasEmulatedVersionTime()
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEmulatedVersionTime in interface CompatibilityStatusOrBuilder
      Returns:
      Whether the emulatedVersionTime field is set.
    • getEmulatedVersionTime

      public com.google.protobuf.Timestamp getEmulatedVersionTime()
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEmulatedVersionTime in interface CompatibilityStatusOrBuilder
      Returns:
      The emulatedVersionTime.
    • setEmulatedVersionTime

      public CompatibilityStatus.Builder setEmulatedVersionTime(com.google.protobuf.Timestamp value)
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEmulatedVersionTime

      public CompatibilityStatus.Builder setEmulatedVersionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEmulatedVersionTime

      public CompatibilityStatus.Builder mergeEmulatedVersionTime(com.google.protobuf.Timestamp value)
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEmulatedVersionTime

      public CompatibilityStatus.Builder clearEmulatedVersionTime()
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEmulatedVersionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEmulatedVersionTimeBuilder()
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEmulatedVersionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEmulatedVersionTimeOrBuilder()
       Output only. Last time the control plane became available after a minor
       version binary upgrade with emulated version set. It indicates the last
       time the cluster entered the rollback safe mode.
       
      .google.protobuf.Timestamp emulated_version_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEmulatedVersionTimeOrBuilder in interface CompatibilityStatusOrBuilder