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 class
ImageVersion.Builder
Image 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 int
CREATION_DISABLED_FIELD_NUMBER
static int
IMAGE_VERSION_ID_FIELD_NUMBER
static int
IS_DEFAULT_FIELD_NUMBER
static int
RELEASE_DATE_FIELD_NUMBER
static int
SUPPORTED_PYTHON_VERSIONS_FIELD_NUMBER
static int
UPGRADE_DISABLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getCreationDisabled()
Whether it is impossible to create an environment with the image version.static ImageVersion
getDefaultInstance()
ImageVersion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getImageVersionId()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"com.google.protobuf.ByteString
getImageVersionIdBytes()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"boolean
getIsDefault()
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.Date
getReleaseDate()
The date of the version release.com.google.type.DateOrBuilder
getReleaseDateOrBuilder()
The date of the version release.int
getSerializedSize()
String
getSupportedPythonVersions(int index)
supported python versionscom.google.protobuf.ByteString
getSupportedPythonVersionsBytes(int index)
supported python versionsint
getSupportedPythonVersionsCount()
supported python versionscom.google.protobuf.ProtocolStringList
getSupportedPythonVersionsList()
supported python versionsboolean
getUpgradeDisabled()
Whether it is impossible to upgrade an environment running with the image version.int
hashCode()
boolean
hasReleaseDate()
The date of the version release.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ImageVersion.Builder
newBuilder()
static ImageVersion.Builder
newBuilder(ImageVersion prototype)
ImageVersion.Builder
newBuilderForType()
protected ImageVersion.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ImageVersion
parseDelimitedFrom(InputStream input)
static ImageVersion
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImageVersion
parseFrom(byte[] data)
static ImageVersion
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImageVersion
parseFrom(com.google.protobuf.ByteString data)
static ImageVersion
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImageVersion
parseFrom(com.google.protobuf.CodedInputStream input)
static ImageVersion
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImageVersion
parseFrom(InputStream input)
static ImageVersion
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ImageVersion
parseFrom(ByteBuffer data)
static ImageVersion
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ImageVersion>
parser()
ImageVersion.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getImageVersionId
in 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:
getImageVersionIdBytes
in 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:
getIsDefault
in interfaceImageVersionOrBuilder
- Returns:
- The isDefault.
-
getSupportedPythonVersionsList
public com.google.protobuf.ProtocolStringList getSupportedPythonVersionsList()
supported python versions
repeated string supported_python_versions = 3;
- Specified by:
getSupportedPythonVersionsList
in interfaceImageVersionOrBuilder
- Returns:
- A list containing the supportedPythonVersions.
-
getSupportedPythonVersionsCount
public int getSupportedPythonVersionsCount()
supported python versions
repeated string supported_python_versions = 3;
- Specified by:
getSupportedPythonVersionsCount
in interfaceImageVersionOrBuilder
- Returns:
- The count of supportedPythonVersions.
-
getSupportedPythonVersions
public String getSupportedPythonVersions(int index)
supported python versions
repeated string supported_python_versions = 3;
- Specified by:
getSupportedPythonVersions
in 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:
getSupportedPythonVersionsBytes
in 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:
hasReleaseDate
in 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:
getReleaseDate
in 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:
getReleaseDateOrBuilder
in interfaceImageVersionOrBuilder
-
getCreationDisabled
public boolean getCreationDisabled()
Whether it is impossible to create an environment with the image version.
bool creation_disabled = 5;
- Specified by:
getCreationDisabled
in 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:
getUpgradeDisabled
in interfaceImageVersionOrBuilder
- Returns:
- The upgradeDisabled.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImageVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ImageVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-