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
CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER
public static final int CONTAINS_PYPI_MODULES_CONFLICT_FIELD_NUMBER
Field Value
IMAGE_VERSION_FIELD_NUMBER
public static final int IMAGE_VERSION_FIELD_NUMBER
Field Value
public static final int PYPI_CONFLICT_BUILD_LOG_EXTRACT_FIELD_NUMBER
Field Value
PYPI_DEPENDENCIES_FIELD_NUMBER
public static final int PYPI_DEPENDENCIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CheckUpgradeResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CheckUpgradeResponse.Builder newBuilder()
Returns
newBuilder(CheckUpgradeResponse prototype)
public static CheckUpgradeResponse.Builder newBuilder(CheckUpgradeResponse prototype)
Parameter
Returns
public static CheckUpgradeResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckUpgradeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CheckUpgradeResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CheckUpgradeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CheckUpgradeResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CheckUpgradeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckUpgradeResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CheckUpgradeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckUpgradeResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckUpgradeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CheckUpgradeResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CheckUpgradeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CheckUpgradeResponse> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
Overrides
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.
|
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()
public Map<String,String> getPypiDependencies()
Returns
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
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
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
Returns
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
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CheckUpgradeResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CheckUpgradeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CheckUpgradeResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions