Class ImageVersion

  • All Implemented Interfaces:
    ImageVersionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ImageVersion
    extends com.google.protobuf.GeneratedMessageV3
    implements ImageVersionOrBuilder
     ImageVersion information
     
    Protobuf type google.cloud.orchestration.airflow.service.v1.ImageVersion
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ImageVersion.Builder
      ImageVersion information
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • IMAGE_VERSION_ID_FIELD_NUMBER

        public static final int IMAGE_VERSION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IS_DEFAULT_FIELD_NUMBER

        public static final int IS_DEFAULT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER

        public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RELEASE_DATE_FIELD_NUMBER

        public static final int RELEASE_DATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATION_DISABLED_FIELD_NUMBER

        public static final int CREATION_DISABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPGRADE_DISABLED_FIELD_NUMBER

        public static final int UPGRADE_DISABLED_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getImageVersionId

        public String getImageVersionId()
         The string identifier of the ImageVersion, in the form:
         "composer-x.y.z-airflow-a.b.c"
         
        string image_version_id = 1;
        Specified by:
        getImageVersionId in interface ImageVersionOrBuilder
        Returns:
        The imageVersionId.
      • getImageVersionIdBytes

        public com.google.protobuf.ByteString getImageVersionIdBytes()
         The string identifier of the ImageVersion, in the form:
         "composer-x.y.z-airflow-a.b.c"
         
        string image_version_id = 1;
        Specified by:
        getImageVersionIdBytes in interface ImageVersionOrBuilder
        Returns:
        The bytes for imageVersionId.
      • getIsDefault

        public boolean getIsDefault()
         Whether this is the default ImageVersion used by Composer during
         environment creation if no input ImageVersion is specified.
         
        bool is_default = 2;
        Specified by:
        getIsDefault in interface ImageVersionOrBuilder
        Returns:
        The isDefault.
      • getSupportedPythonVersionsList

        public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList()
         supported python versions
         
        repeated string supported_python_versions = 3;
        Specified by:
        getSupportedPythonVersionsList in interface ImageVersionOrBuilder
        Returns:
        A list containing the supportedPythonVersions.
      • getSupportedPythonVersionsCount

        public int getSupportedPythonVersionsCount()
         supported python versions
         
        repeated string supported_python_versions = 3;
        Specified by:
        getSupportedPythonVersionsCount in interface ImageVersionOrBuilder
        Returns:
        The count of supportedPythonVersions.
      • getSupportedPythonVersions

        public String getSupportedPythonVersions​(int index)
         supported python versions
         
        repeated string supported_python_versions = 3;
        Specified by:
        getSupportedPythonVersions in interface ImageVersionOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The supportedPythonVersions at the given index.
      • getSupportedPythonVersionsBytes

        public com.google.protobuf.ByteString getSupportedPythonVersionsBytes​(int index)
         supported python versions
         
        repeated string supported_python_versions = 3;
        Specified by:
        getSupportedPythonVersionsBytes in interface ImageVersionOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the supportedPythonVersions at the given index.
      • hasReleaseDate

        public boolean hasReleaseDate()
         The date of the version release.
         
        .google.type.Date release_date = 4;
        Specified by:
        hasReleaseDate in interface ImageVersionOrBuilder
        Returns:
        Whether the releaseDate field is set.
      • getReleaseDate

        public com.google.type.Date getReleaseDate()
         The date of the version release.
         
        .google.type.Date release_date = 4;
        Specified by:
        getReleaseDate in interface ImageVersionOrBuilder
        Returns:
        The releaseDate.
      • getReleaseDateOrBuilder

        public com.google.type.DateOrBuilder getReleaseDateOrBuilder()
         The date of the version release.
         
        .google.type.Date release_date = 4;
        Specified by:
        getReleaseDateOrBuilder in interface ImageVersionOrBuilder
      • getCreationDisabled

        public boolean getCreationDisabled()
         Whether it is impossible to create an environment with the image version.
         
        bool creation_disabled = 5;
        Specified by:
        getCreationDisabled in interface ImageVersionOrBuilder
        Returns:
        The creationDisabled.
      • getUpgradeDisabled

        public boolean getUpgradeDisabled()
         Whether it is impossible to upgrade an environment running with the image
         version.
         
        bool upgrade_disabled = 6;
        Specified by:
        getUpgradeDisabled in interface ImageVersionOrBuilder
        Returns:
        The upgradeDisabled.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 ImageVersion parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

        public ImageVersion.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ImageVersion.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ImageVersion.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static ImageVersion getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<ImageVersion> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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