Class CheckUpgradeResponse (1.42.0)

public final class CheckUpgradeResponse extends GeneratedMessageV3 implements CheckUpgradeResponseOrBuilder

Message containing information about the result of an upgrade check operation.

Protobuf type google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse

Static Fields

BUILD_LOG_URI_FIELD_NUMBER

public static final int BUILD_LOG_URI_FIELD_NUMBER
Field Value
Type Description
int

CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER

public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_VERSION_FIELD_NUMBER

public static final int IMAGE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER

public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER
Field Value
Type Description
int

PYPI_DEPENDENCIES_FIELD_NUMBER

public static final int PYPI_DEPENDENCIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CheckUpgradeResponse getDefaultInstance()
Returns
Type Description
CheckUpgradeResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CheckUpgradeResponse.Builder newBuilder()
Returns
Type Description
CheckUpgradeResponse.Builder

newBuilder(CheckUpgradeResponse prototype)

public static CheckUpgradeResponse.Builder newBuilder(CheckUpgradeResponse prototype)
Parameter
Name Description
prototype CheckUpgradeResponse
Returns
Type Description
CheckUpgradeResponse.Builder

parseDelimitedFrom(InputStream input)

public static CheckUpgradeResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckUpgradeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CheckUpgradeResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckUpgradeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckUpgradeResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckUpgradeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckUpgradeResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckUpgradeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CheckUpgradeResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckUpgradeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CheckUpgradeResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckUpgradeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CheckUpgradeResponse> parser()
Returns
Type Description
Parser<CheckUpgradeResponse>

Methods

containsPypiDependencies(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
String

The buildLogUri.

getBuildLogUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for buildLogUri.

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];

Returns
Type Description
CheckUpgradeResponse.ConflictResult

The containsPypiModulesConflict.

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];

Returns
Type Description
int

The enum numeric value on the wire for containsPypiModulesConflict.

getDefaultInstanceForType()

public CheckUpgradeResponse getDefaultInstanceForType()
Returns
Type Description
CheckUpgradeResponse

getImageVersion()

public String getImageVersion()

Composer image for which the build was happening.

string image_version = 5;

Returns
Type Description
String

The imageVersion.

getImageVersionBytes()

public ByteString getImageVersionBytes()

Composer image for which the build was happening.

string image_version = 5;

Returns
Type Description
ByteString

The bytes for imageVersion.

getParserForType()

public Parser<CheckUpgradeResponse> getParserForType()
Returns
Type Description
Parser<CheckUpgradeResponse>
Overrides

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];

Returns
Type Description
String

The pypiConflictBuildLogExtract.

getPypiConflictBuildLogExtractBytes()

public 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];

Returns
Type Description
ByteString

The bytes for pypiConflictBuildLogExtract.

getPypiDependencies() (deprecated)

public Map<String,String> getPypiDependencies()
Returns
Type Description
Map<String,String>

getPypiDependenciesCount()

public int getPypiDependenciesCount()

Pypi dependencies specified in the environment configuration, at the time when the build was triggered.

map<string, string> pypi_dependencies = 6;

Returns
Type Description
int

getPypiDependenciesMap()

public Map<String,String> getPypiDependenciesMap()

Pypi dependencies specified in the environment configuration, at the time when the build was triggered.

map<string, string> pypi_dependencies = 6;

Returns
Type Description
Map<String,String>

getPypiDependenciesOrDefault(String key, String defaultValue)

public String getPypiDependenciesOrDefault(String key, String defaultValue)

Pypi dependencies specified in the environment configuration, at the time when the build was triggered.

map<string, string> pypi_dependencies = 6;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getPypiDependenciesOrThrow(String key)

public String getPypiDependenciesOrThrow(String key)

Pypi dependencies specified in the environment configuration, at the time when the build was triggered.

map<string, string> pypi_dependencies = 6;

Parameter
Name Description
key String
Returns
Type Description
String

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CheckUpgradeResponse.Builder newBuilderForType()
Returns
Type Description
CheckUpgradeResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckUpgradeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CheckUpgradeResponse.Builder toBuilder()
Returns
Type Description
CheckUpgradeResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException