Class Release.ReleaseRequirements

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.ReleaseRequirements
All Implemented Interfaces:
Release.ReleaseRequirementsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Release

public static final class Release.ReleaseRequirements extends com.google.protobuf.GeneratedMessage implements Release.ReleaseRequirementsOrBuilder
 Set of requirements to be fulfilled on the Unit when using this Release.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.ReleaseRequirements
See Also:
  • Field Details

    • UPGRADEABLE_FROM_RELEASES_FIELD_NUMBER

      public static final int UPGRADEABLE_FROM_RELEASES_FIELD_NUMBER
      See Also:
  • 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
    • getUpgradeableFromReleasesList

      public com.google.protobuf.ProtocolStringList getUpgradeableFromReleasesList()
       Optional. A list of releases from which a unit can be upgraded to this
       one (optional). If left empty no constraints will be applied. When
       provided, unit upgrade requests to this release will check and enforce
       this constraint.
       
      repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUpgradeableFromReleasesList in interface Release.ReleaseRequirementsOrBuilder
      Returns:
      A list containing the upgradeableFromReleases.
    • getUpgradeableFromReleasesCount

      public int getUpgradeableFromReleasesCount()
       Optional. A list of releases from which a unit can be upgraded to this
       one (optional). If left empty no constraints will be applied. When
       provided, unit upgrade requests to this release will check and enforce
       this constraint.
       
      repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUpgradeableFromReleasesCount in interface Release.ReleaseRequirementsOrBuilder
      Returns:
      The count of upgradeableFromReleases.
    • getUpgradeableFromReleases

      public String getUpgradeableFromReleases(int index)
       Optional. A list of releases from which a unit can be upgraded to this
       one (optional). If left empty no constraints will be applied. When
       provided, unit upgrade requests to this release will check and enforce
       this constraint.
       
      repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUpgradeableFromReleases in interface Release.ReleaseRequirementsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The upgradeableFromReleases at the given index.
    • getUpgradeableFromReleasesBytes

      public com.google.protobuf.ByteString getUpgradeableFromReleasesBytes(int index)
       Optional. A list of releases from which a unit can be upgraded to this
       one (optional). If left empty no constraints will be applied. When
       provided, unit upgrade requests to this release will check and enforce
       this constraint.
       
      repeated string upgradeable_from_releases = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUpgradeableFromReleasesBytes in interface Release.ReleaseRequirementsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the upgradeableFromReleases at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Release.ReleaseRequirements parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Release.ReleaseRequirements parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Release.ReleaseRequirements parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Release.ReleaseRequirements.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Release.ReleaseRequirements.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Release.ReleaseRequirements.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Release.ReleaseRequirements getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Release.ReleaseRequirements> parser()
    • getParserForType

      public com.google.protobuf.Parser<Release.ReleaseRequirements> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Release.ReleaseRequirements getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder