- 1.76.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 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 ImageVersionOrBuilderImageVersion 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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSupportedPythonVersions(Iterable<String> values)
public ImageVersion.Builder addAllSupportedPythonVersions(Iterable<String> values)supported python versions
repeated string supported_python_versions = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The supportedPythonVersions to add. |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
addSupportedPythonVersions(String value)
public ImageVersion.Builder addSupportedPythonVersions(String value)supported python versions
repeated string supported_python_versions = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe supportedPythonVersions to add. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the supportedPythonVersions to add. |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
build()
public ImageVersion build()| Returns | |
|---|---|
| Type | Description |
ImageVersion |
|
buildPartial()
public ImageVersion buildPartial()| Returns | |
|---|---|
| Type | Description |
ImageVersion |
|
clear()
public ImageVersion.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImageVersion.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
clearReleaseDate()
public ImageVersion.Builder clearReleaseDate()The date of the version release.
.google.type.Date release_date = 4;
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
clearSupportedPythonVersions()
public ImageVersion.Builder clearSupportedPythonVersions()supported python versions
repeated string supported_python_versions = 3;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
clone()
public ImageVersion.Builder clone()| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
getCreationDisabled()
public boolean getCreationDisabled()Whether it is impossible to create an environment with the image version.
bool creation_disabled = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The creationDisabled. |
getDefaultInstanceForType()
public ImageVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImageVersion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
The isDefault. |
getReleaseDate()
public Date getReleaseDate()The date of the version release.
.google.type.Date release_date = 4;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date.Builder |
|
getReleaseDateOrBuilder()
public DateOrBuilder getReleaseDateOrBuilder()The date of the version release.
.google.type.Date release_date = 4;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
getSupportedPythonVersions(int index)
public String getSupportedPythonVersions(int index)supported python versions
repeated string supported_python_versions = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedPythonVersions. |
getSupportedPythonVersionsList()
public ProtocolStringList getSupportedPythonVersionsList()supported python versions
repeated string supported_python_versions = 3;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
The upgradeDisabled. |
hasReleaseDate()
public boolean hasReleaseDate()The date of the version release.
.google.type.Date release_date = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the releaseDate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImageVersion other)
public ImageVersion.Builder mergeFrom(ImageVersion other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageVersion |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImageVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImageVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe creationDisabled to set. |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImageVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe imageVersionId to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for imageVersionId to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe isDefault to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Date.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe supportedPythonVersions to set. |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe upgradeDisabled to set. |
| Returns | |
|---|---|
| Type | Description |
ImageVersion.Builder |
This builder for chaining. |