Class ImageVersion
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersion
-
- All Implemented Interfaces:
ImageVersionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ImageVersion extends com.google.protobuf.GeneratedMessageV3 implements ImageVersionOrBuilder
Image Version information
Protobuf typegoogle.cloud.orchestration.airflow.service.v1beta1.ImageVersion- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageVersion.BuilderImage Version information-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATION_DISABLED_FIELD_NUMBERstatic intIMAGE_VERSION_ID_FIELD_NUMBERstatic intIS_DEFAULT_FIELD_NUMBERstatic intRELEASE_DATE_FIELD_NUMBERstatic intSUPPORTED_PYTHON_VERSIONS_FIELD_NUMBERstatic intUPGRADE_DISABLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetCreationDisabled()Whether it is impossible to create an environment with the image version.static ImageVersiongetDefaultInstance()ImageVersiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetImageVersionId()The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"com.google.protobuf.ByteStringgetImageVersionIdBytes()The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"booleangetIsDefault()Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.com.google.protobuf.Parser<ImageVersion>getParserForType()com.google.type.DategetReleaseDate()The date of the version release.com.google.type.DateOrBuildergetReleaseDateOrBuilder()The date of the version release.intgetSerializedSize()StringgetSupportedPythonVersions(int index)supported python versionscom.google.protobuf.ByteStringgetSupportedPythonVersionsBytes(int index)supported python versionsintgetSupportedPythonVersionsCount()supported python versionscom.google.protobuf.ProtocolStringListgetSupportedPythonVersionsList()supported python versionsbooleangetUpgradeDisabled()Whether it is impossible to upgrade an environment running with the image version.inthashCode()booleanhasReleaseDate()The date of the version release.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ImageVersion.BuildernewBuilder()static ImageVersion.BuildernewBuilder(ImageVersion prototype)ImageVersion.BuildernewBuilderForType()protected ImageVersion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ImageVersionparseDelimitedFrom(InputStream input)static ImageVersionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImageVersionparseFrom(byte[] data)static ImageVersionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImageVersionparseFrom(com.google.protobuf.ByteString data)static ImageVersionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImageVersionparseFrom(com.google.protobuf.CodedInputStream input)static ImageVersionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImageVersionparseFrom(InputStream input)static ImageVersionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ImageVersionparseFrom(ByteBuffer data)static ImageVersionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ImageVersion>parser()ImageVersion.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IMAGE_VERSION_ID_FIELD_NUMBER
public static final int IMAGE_VERSION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_DEFAULT_FIELD_NUMBER
public static final int IS_DEFAULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER
public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELEASE_DATE_FIELD_NUMBER
public static final int RELEASE_DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_DISABLED_FIELD_NUMBER
public static final int CREATION_DISABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPGRADE_DISABLED_FIELD_NUMBER
public static final int UPGRADE_DISABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getImageVersionId
public String getImageVersionId()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;- Specified by:
getImageVersionIdin interfaceImageVersionOrBuilder- Returns:
- The imageVersionId.
-
getImageVersionIdBytes
public com.google.protobuf.ByteString getImageVersionIdBytes()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;- Specified by:
getImageVersionIdBytesin interfaceImageVersionOrBuilder- Returns:
- The bytes for imageVersionId.
-
getIsDefault
public boolean getIsDefault()
Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.
bool is_default = 2;- Specified by:
getIsDefaultin interfaceImageVersionOrBuilder- Returns:
- The isDefault.
-
getSupportedPythonVersionsList
public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList()
supported python versions
repeated string supported_python_versions = 3;- Specified by:
getSupportedPythonVersionsListin interfaceImageVersionOrBuilder- Returns:
- A list containing the supportedPythonVersions.
-
getSupportedPythonVersionsCount
public int getSupportedPythonVersionsCount()
supported python versions
repeated string supported_python_versions = 3;- Specified by:
getSupportedPythonVersionsCountin interfaceImageVersionOrBuilder- Returns:
- The count of supportedPythonVersions.
-
getSupportedPythonVersions
public String getSupportedPythonVersions(int index)
supported python versions
repeated string supported_python_versions = 3;- Specified by:
getSupportedPythonVersionsin interfaceImageVersionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedPythonVersions at the given index.
-
getSupportedPythonVersionsBytes
public com.google.protobuf.ByteString getSupportedPythonVersionsBytes(int index)
supported python versions
repeated string supported_python_versions = 3;- Specified by:
getSupportedPythonVersionsBytesin interfaceImageVersionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the supportedPythonVersions at the given index.
-
hasReleaseDate
public boolean hasReleaseDate()
The date of the version release.
.google.type.Date release_date = 4;- Specified by:
hasReleaseDatein interfaceImageVersionOrBuilder- Returns:
- Whether the releaseDate field is set.
-
getReleaseDate
public com.google.type.Date getReleaseDate()
The date of the version release.
.google.type.Date release_date = 4;- Specified by:
getReleaseDatein interfaceImageVersionOrBuilder- Returns:
- The releaseDate.
-
getReleaseDateOrBuilder
public com.google.type.DateOrBuilder getReleaseDateOrBuilder()
The date of the version release.
.google.type.Date release_date = 4;- Specified by:
getReleaseDateOrBuilderin interfaceImageVersionOrBuilder
-
getCreationDisabled
public boolean getCreationDisabled()
Whether it is impossible to create an environment with the image version.
bool creation_disabled = 5;- Specified by:
getCreationDisabledin interfaceImageVersionOrBuilder- Returns:
- The creationDisabled.
-
getUpgradeDisabled
public boolean getUpgradeDisabled()
Whether it is impossible to upgrade an environment running with the image version.
bool upgrade_disabled = 6;- Specified by:
getUpgradeDisabledin interfaceImageVersionOrBuilder- Returns:
- The upgradeDisabled.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ImageVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImageVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImageVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImageVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImageVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImageVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ImageVersion parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImageVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImageVersion parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ImageVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ImageVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ImageVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ImageVersion.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ImageVersion.Builder newBuilder()
-
newBuilder
public static ImageVersion.Builder newBuilder(ImageVersion prototype)
-
toBuilder
public ImageVersion.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImageVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ImageVersion getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ImageVersion> parser()
-
getParserForType
public com.google.protobuf.Parser<ImageVersion> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImageVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-