- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
public static final class ImageVersion.Builder extends GeneratedMessageV3.Builder<ImageVersion.Builder> implements ImageVersionOrBuilder
ImageVersion information
Protobuf type google.cloud.orchestration.airflow.service.v1.ImageVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImageVersion.BuilderImplements
ImageVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSupportedPythonVersions(Iterable<String> values)
public ImageVersion.Builder addAllSupportedPythonVersions(Iterable<String> values)
supported python versions
repeated string supported_python_versions = 3;
Name | Description |
values |
Iterable<String> The supportedPythonVersions to add. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ImageVersion.Builder |
addSupportedPythonVersions(String value)
public ImageVersion.Builder addSupportedPythonVersions(String value)
supported python versions
repeated string supported_python_versions = 3;
Name | Description |
value |
String The supportedPythonVersions to add. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
addSupportedPythonVersionsBytes(ByteString value)
public ImageVersion.Builder addSupportedPythonVersionsBytes(ByteString value)
supported python versions
repeated string supported_python_versions = 3;
Name | Description |
value |
ByteString The bytes of the supportedPythonVersions to add. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
build()
public ImageVersion build()
Type | Description |
ImageVersion |
buildPartial()
public ImageVersion buildPartial()
Type | Description |
ImageVersion |
clear()
public ImageVersion.Builder clear()
Type | Description |
ImageVersion.Builder |
clearCreationDisabled()
public ImageVersion.Builder clearCreationDisabled()
Whether it is impossible to create an environment with the image version.
bool creation_disabled = 5;
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImageVersion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
ImageVersion.Builder |
clearImageVersionId()
public ImageVersion.Builder clearImageVersionId()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clearIsDefault()
public ImageVersion.Builder clearIsDefault()
Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.
bool is_default = 2;
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
ImageVersion.Builder |
clearReleaseDate()
public ImageVersion.Builder clearReleaseDate()
The date of the version release.
.google.type.Date release_date = 4;
Type | Description |
ImageVersion.Builder |
clearSupportedPythonVersions()
public ImageVersion.Builder clearSupportedPythonVersions()
supported python versions
repeated string supported_python_versions = 3;
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clearUpgradeDisabled()
public ImageVersion.Builder clearUpgradeDisabled()
Whether it is impossible to upgrade an environment running with the image version.
bool upgrade_disabled = 6;
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clone()
public ImageVersion.Builder clone()
Type | Description |
ImageVersion.Builder |
getCreationDisabled()
public boolean getCreationDisabled()
Whether it is impossible to create an environment with the image version.
bool creation_disabled = 5;
Type | Description |
boolean |
The creationDisabled. |
getDefaultInstanceForType()
public ImageVersion getDefaultInstanceForType()
Type | Description |
ImageVersion |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
String |
The imageVersionId. |
getImageVersionIdBytes()
public ByteString getImageVersionIdBytes()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;
Type | Description |
ByteString |
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;
Type | Description |
boolean |
The isDefault. |
getReleaseDate()
public Date getReleaseDate()
The date of the version release.
.google.type.Date release_date = 4;
Type | Description |
com.google.type.Date |
The releaseDate. |
getReleaseDateBuilder()
public Date.Builder getReleaseDateBuilder()
The date of the version release.
.google.type.Date release_date = 4;
Type | Description |
com.google.type.Date.Builder |
getReleaseDateOrBuilder()
public DateOrBuilder getReleaseDateOrBuilder()
The date of the version release.
.google.type.Date release_date = 4;
Type | Description |
com.google.type.DateOrBuilder |
getSupportedPythonVersions(int index)
public String getSupportedPythonVersions(int index)
supported python versions
repeated string supported_python_versions = 3;
Name | Description |
index |
int The index of the element to return. |
Type | Description |
String |
The supportedPythonVersions at the given index. |
getSupportedPythonVersionsBytes(int index)
public ByteString getSupportedPythonVersionsBytes(int index)
supported python versions
repeated string supported_python_versions = 3;
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the supportedPythonVersions at the given index. |
getSupportedPythonVersionsCount()
public int getSupportedPythonVersionsCount()
supported python versions
repeated string supported_python_versions = 3;
Type | Description |
int |
The count of supportedPythonVersions. |
getSupportedPythonVersionsList()
public ProtocolStringList getSupportedPythonVersionsList()
supported python versions
repeated string supported_python_versions = 3;
Type | Description |
ProtocolStringList |
A list containing the supportedPythonVersions. |
getUpgradeDisabled()
public boolean getUpgradeDisabled()
Whether it is impossible to upgrade an environment running with the image version.
bool upgrade_disabled = 6;
Type | Description |
boolean |
The upgradeDisabled. |
hasReleaseDate()
public boolean hasReleaseDate()
The date of the version release.
.google.type.Date release_date = 4;
Type | Description |
boolean |
Whether the releaseDate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ImageVersion other)
public ImageVersion.Builder mergeFrom(ImageVersion other)
Name | Description |
other |
ImageVersion |
Type | Description |
ImageVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImageVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ImageVersion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ImageVersion.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
ImageVersion.Builder |
mergeReleaseDate(Date value)
public ImageVersion.Builder mergeReleaseDate(Date value)
The date of the version release.
.google.type.Date release_date = 4;
Name | Description |
value |
com.google.type.Date |
Type | Description |
ImageVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ImageVersion.Builder |
setCreationDisabled(boolean value)
public ImageVersion.Builder setCreationDisabled(boolean value)
Whether it is impossible to create an environment with the image version.
bool creation_disabled = 5;
Name | Description |
value |
boolean The creationDisabled to set. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImageVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ImageVersion.Builder |
setImageVersionId(String value)
public ImageVersion.Builder setImageVersionId(String value)
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;
Name | Description |
value |
String The imageVersionId to set. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setImageVersionIdBytes(ByteString value)
public ImageVersion.Builder setImageVersionIdBytes(ByteString value)
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;
Name | Description |
value |
ByteString The bytes for imageVersionId to set. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setIsDefault(boolean value)
public ImageVersion.Builder setIsDefault(boolean value)
Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.
bool is_default = 2;
Name | Description |
value |
boolean The isDefault to set. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setReleaseDate(Date value)
public ImageVersion.Builder setReleaseDate(Date value)
The date of the version release.
.google.type.Date release_date = 4;
Name | Description |
value |
com.google.type.Date |
Type | Description |
ImageVersion.Builder |
setReleaseDate(Date.Builder builderForValue)
public ImageVersion.Builder setReleaseDate(Date.Builder builderForValue)
The date of the version release.
.google.type.Date release_date = 4;
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Type | Description |
ImageVersion.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
ImageVersion.Builder |
setSupportedPythonVersions(int index, String value)
public ImageVersion.Builder setSupportedPythonVersions(int index, String value)
supported python versions
repeated string supported_python_versions = 3;
Name | Description |
index |
int The index to set the value at. |
value |
String The supportedPythonVersions to set. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ImageVersion.Builder |
setUpgradeDisabled(boolean value)
public ImageVersion.Builder setUpgradeDisabled(boolean value)
Whether it is impossible to upgrade an environment running with the image version.
bool upgrade_disabled = 6;
Name | Description |
value |
boolean The upgradeDisabled to set. |
Type | Description |
ImageVersion.Builder |
This builder for chaining. |