Class ImageVersion
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class ImageVersion
extends com.google.protobuf.GeneratedMessage
implements ImageVersionOrBuilder
Image Version informationProtobuf type
google.cloud.orchestration.airflow.service.v1beta1.ImageVersion- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classImage Version informationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhether it is impossible to create an environment with the image version.static ImageVersionstatic final com.google.protobuf.Descriptors.DescriptorThe string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"com.google.protobuf.ByteStringThe string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"booleanWhether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.com.google.protobuf.Parser<ImageVersion>The date of the version release.The date of the version release.intgetSupportedPythonVersions(int index) supported python versionscom.google.protobuf.ByteStringgetSupportedPythonVersionsBytes(int index) supported python versionsintsupported python versionscom.google.protobuf.ProtocolStringListsupported python versionsbooleanWhether it is impossible to upgrade an environment running with the image version.inthashCode()booleanThe date of the version release.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ImageVersion.Builderstatic ImageVersion.BuildernewBuilder(ImageVersion prototype) protected ImageVersion.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IMAGE_VERSION_ID_FIELD_NUMBER
public static final int IMAGE_VERSION_ID_FIELD_NUMBER- See Also:
-
IS_DEFAULT_FIELD_NUMBER
public static final int IS_DEFAULT_FIELD_NUMBER- See Also:
-
SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER
public static final int SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER- See Also:
-
RELEASE_DATE_FIELD_NUMBER
public static final int RELEASE_DATE_FIELD_NUMBER- See Also:
-
CREATION_DISABLED_FIELD_NUMBER
public static final int CREATION_DISABLED_FIELD_NUMBER- See Also:
-
UPGRADE_DISABLED_FIELD_NUMBER
public static final int UPGRADE_DISABLED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
The date of the version release.
.google.type.Date release_date = 4;- Specified by:
getReleaseDatein interfaceImageVersionOrBuilder- Returns:
- The releaseDate.
-
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static ImageVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ImageVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ImageVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImageVersion.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-