Class ImageVersion (1.23.0)

publicfinalclass ImageVersionextendsGeneratedMessageV3implementsImageVersionOrBuilder

Image Version information

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.ImageVersion

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

CREATION_DISABLED_FIELD_NUMBER

publicstaticfinalintCREATION_DISABLED_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_VERSION_ID_FIELD_NUMBER

publicstaticfinalintIMAGE_VERSION_ID_FIELD_NUMBER
Field Value
Type Description
int

IS_DEFAULT_FIELD_NUMBER

publicstaticfinalintIS_DEFAULT_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_DATE_FIELD_NUMBER

publicstaticfinalintRELEASE_DATE_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER

publicstaticfinalintSUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

UPGRADE_DISABLED_FIELD_NUMBER

publicstaticfinalintUPGRADE_DISABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticImageVersiongetDefaultInstance()
Returns
Type Description
ImageVersion

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticImageVersion.BuildernewBuilder()
Returns
Type Description
ImageVersion.Builder

newBuilder(ImageVersion prototype)

publicstaticImageVersion.BuildernewBuilder(ImageVersionprototype)
Parameter
Name Description
prototype ImageVersion
Returns
Type Description
ImageVersion.Builder

parseDelimitedFrom(InputStream input)

publicstaticImageVersionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageVersion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticImageVersionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageVersion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticImageVersionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImageVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticImageVersionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticImageVersionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ImageVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticImageVersionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticImageVersionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImageVersion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticImageVersionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticImageVersionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticImageVersionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageVersion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticImageVersionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImageVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticImageVersionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageVersion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ImageVersion>parser()
Returns
Type Description
Parser<ImageVersion>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreationDisabled()

publicbooleangetCreationDisabled()

Whether it is impossible to create an environment with the image version.

bool creation_disabled = 5;

Returns
Type Description
boolean

The creationDisabled.

getDefaultInstanceForType()

publicImageVersiongetDefaultInstanceForType()
Returns
Type Description
ImageVersion

getImageVersionId()

publicStringgetImageVersionId()

The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"

string image_version_id = 1;

Returns
Type Description
String

The imageVersionId.

getImageVersionIdBytes()

publicByteStringgetImageVersionIdBytes()

The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"

string image_version_id = 1;

Returns
Type Description
ByteString

The bytes for imageVersionId.

getIsDefault()

publicbooleangetIsDefault()

Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.

bool is_default = 2;

Returns
Type Description
boolean

The isDefault.

getParserForType()

publicParser<ImageVersion>getParserForType()
Returns
Type Description
Parser<ImageVersion>
Overrides

getReleaseDate()

publicDategetReleaseDate()

The date of the version release.

.google.type.Date release_date = 4;

Returns
Type Description
com.google.type.Date

The releaseDate.

getReleaseDateOrBuilder()

publicDateOrBuildergetReleaseDateOrBuilder()

The date of the version release.

.google.type.Date release_date = 4;

Returns
Type Description
com.google.type.DateOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSupportedPythonVersions(int index)

publicStringgetSupportedPythonVersions(intindex)

supported python versions

repeated string supported_python_versions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The supportedPythonVersions at the given index.

getSupportedPythonVersionsBytes(int index)

publicByteStringgetSupportedPythonVersionsBytes(intindex)

supported python versions

repeated string supported_python_versions = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the supportedPythonVersions at the given index.

getSupportedPythonVersionsCount()

publicintgetSupportedPythonVersionsCount()

supported python versions

repeated string supported_python_versions = 3;

Returns
Type Description
int

The count of supportedPythonVersions.

getSupportedPythonVersionsList()

publicProtocolStringListgetSupportedPythonVersionsList()

supported python versions

repeated string supported_python_versions = 3;

Returns
Type Description
ProtocolStringList

A list containing the supportedPythonVersions.

getUpgradeDisabled()

publicbooleangetUpgradeDisabled()

Whether it is impossible to upgrade an environment running with the image version.

bool upgrade_disabled = 6;

Returns
Type Description
boolean

The upgradeDisabled.

hasReleaseDate()

publicbooleanhasReleaseDate()

The date of the version release.

.google.type.Date release_date = 4;

Returns
Type Description
boolean

Whether the releaseDate field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicImageVersion.BuildernewBuilderForType()
Returns
Type Description
ImageVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedImageVersion.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImageVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicImageVersion.BuildertoBuilder()
Returns
Type Description
ImageVersion.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.