Class CheckUpgradeResponse.Builder (1.46.0)

public static final class CheckUpgradeResponse.Builder extends GeneratedMessageV3.Builder<CheckUpgradeResponse.Builder> implements CheckUpgradeResponseOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckUpgradeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

build()

public CheckUpgradeResponse build()
Returns
Type Description
CheckUpgradeResponse

buildPartial()

public CheckUpgradeResponse buildPartial()
Returns
Type Description
CheckUpgradeResponse

clear()

public CheckUpgradeResponse.Builder clear()
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

clearBuildLogUri()

public CheckUpgradeResponse.Builder clearBuildLogUri()

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
CheckUpgradeResponse.Builder

This builder for chaining.

clearContainsPypiModulesConflict()

public CheckUpgradeResponse.Builder clearContainsPypiModulesConflict()

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.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CheckUpgradeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

clearImageVersion()

public CheckUpgradeResponse.Builder clearImageVersion()

Composer image for which the build was happening.

string image_version = 5;

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckUpgradeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

clearPypiConflictBuildLogExtract()

public CheckUpgradeResponse.Builder clearPypiConflictBuildLogExtract()

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
CheckUpgradeResponse.Builder

This builder for chaining.

clearPypiDependencies()

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

clone()

public CheckUpgradeResponse.Builder clone()
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMutablePypiDependencies() (deprecated)

public Map<String,String> getMutablePypiDependencies()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckUpgradeResponse other)

public CheckUpgradeResponse.Builder mergeFrom(CheckUpgradeResponse other)
Parameter
Name Description
other CheckUpgradeResponse
Returns
Type Description
CheckUpgradeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckUpgradeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CheckUpgradeResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckUpgradeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

putAllPypiDependencies(Map<String,String> values)

public CheckUpgradeResponse.Builder putAllPypiDependencies(Map<String,String> values)

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

map<string, string> pypi_dependencies = 6;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
CheckUpgradeResponse.Builder

putPypiDependencies(String key, String value)

public CheckUpgradeResponse.Builder putPypiDependencies(String key, String value)

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
value String
Returns
Type Description
CheckUpgradeResponse.Builder

removePypiDependencies(String key)

public CheckUpgradeResponse.Builder removePypiDependencies(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
CheckUpgradeResponse.Builder

setBuildLogUri(String value)

public CheckUpgradeResponse.Builder setBuildLogUri(String value)

Output only. Url for a docker build log of an upgraded image.

string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The buildLogUri to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setBuildLogUriBytes(ByteString value)

public CheckUpgradeResponse.Builder setBuildLogUriBytes(ByteString value)

Output only. Url for a docker build log of an upgraded image.

string build_log_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for buildLogUri to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setContainsPypiModulesConflict(CheckUpgradeResponse.ConflictResult value)

public CheckUpgradeResponse.Builder setContainsPypiModulesConflict(CheckUpgradeResponse.ConflictResult value)

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

Parameter
Name Description
value CheckUpgradeResponse.ConflictResult

The containsPypiModulesConflict to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setContainsPypiModulesConflictValue(int value)

public CheckUpgradeResponse.Builder setContainsPypiModulesConflictValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for containsPypiModulesConflict to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CheckUpgradeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

setImageVersion(String value)

public CheckUpgradeResponse.Builder setImageVersion(String value)

Composer image for which the build was happening.

string image_version = 5;

Parameter
Name Description
value String

The imageVersion to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setImageVersionBytes(ByteString value)

public CheckUpgradeResponse.Builder setImageVersionBytes(ByteString value)

Composer image for which the build was happening.

string image_version = 5;

Parameter
Name Description
value ByteString

The bytes for imageVersion to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setPypiConflictBuildLogExtract(String value)

public CheckUpgradeResponse.Builder setPypiConflictBuildLogExtract(String value)

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

Parameter
Name Description
value String

The pypiConflictBuildLogExtract to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setPypiConflictBuildLogExtractBytes(ByteString value)

public CheckUpgradeResponse.Builder setPypiConflictBuildLogExtractBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for pypiConflictBuildLogExtract to set.

Returns
Type Description
CheckUpgradeResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckUpgradeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckUpgradeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckUpgradeResponse.Builder
Overrides