Class CheckUpgradeResponse

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

    public final class CheckUpgradeResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements CheckUpgradeResponseOrBuilder
     Message containing information about the result of an upgrade check
     operation.
     
    Protobuf type google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
    See Also:
    Serialized Form
    • Field Detail

      • BUILD_LOG_URI_FIELD_NUMBER

        public static final int BUILD_LOG_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER

        public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER

        public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IMAGE_VERSION_FIELD_NUMBER

        public static final int IMAGE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PYPI_DEPENDENCIES_FIELD_NUMBER

        public static final int PYPI_DEPENDENCIES_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()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

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

        public String getBuildLogUri()
         Output only. Url for a docker build log of an upgraded image.
         
        string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBuildLogUri in interface CheckUpgradeResponseOrBuilder
        Returns:
        The buildLogUri.
      • getBuildLogUriBytes

        public com.google.protobuf.ByteString getBuildLogUriBytes()
         Output only. Url for a docker build log of an upgraded image.
         
        string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBuildLogUriBytes in interface CheckUpgradeResponseOrBuilder
        Returns:
        The bytes for buildLogUri.
      • getContainsPypiModulesConflictValue

        public int getContainsPypiModulesConflictValue()
         Output only. Whether build has succeeded or failed on modules conflicts.
         
        .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContainsPypiModulesConflictValue in interface CheckUpgradeResponseOrBuilder
        Returns:
        The enum numeric value on the wire for containsPypiModulesConflict.
      • getContainsPypiModulesConflict

        public CheckUpgradeResponse.ConflictResult getContainsPypiModulesConflict()
         Output only. Whether build has succeeded or failed on modules conflicts.
         
        .google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult contains_pypi_modules_conflict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContainsPypiModulesConflict in interface CheckUpgradeResponseOrBuilder
        Returns:
        The containsPypiModulesConflict.
      • getPypiConflictBuildLogExtract

        public String getPypiConflictBuildLogExtract()
         Output only. Extract from a docker image build log containing information
         about pypi modules conflicts.
         
        string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPypiConflictBuildLogExtract in interface CheckUpgradeResponseOrBuilder
        Returns:
        The pypiConflictBuildLogExtract.
      • getPypiConflictBuildLogExtractBytes

        public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes()
         Output only. Extract from a docker image build log containing information
         about pypi modules conflicts.
         
        string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPypiConflictBuildLogExtractBytes in interface CheckUpgradeResponseOrBuilder
        Returns:
        The bytes for pypiConflictBuildLogExtract.
      • getImageVersionBytes

        public com.google.protobuf.ByteString getImageVersionBytes()
         Composer image for which the build was happening.
         
        string image_version = 5;
        Specified by:
        getImageVersionBytes in interface CheckUpgradeResponseOrBuilder
        Returns:
        The bytes for imageVersion.
      • containsPypiDependencies

        public boolean containsPypiDependencies​(String key)
         Pypi dependencies specified in the environment configuration, at the time
         when the build was triggered.
         
        map<string, string> pypi_dependencies = 6;
        Specified by:
        containsPypiDependencies in interface CheckUpgradeResponseOrBuilder
      • 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 CheckUpgradeResponse parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<CheckUpgradeResponse> 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 CheckUpgradeResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder