public static final class CheckUpgradeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder> implements CheckUpgradeRequestOrBuilder
Request to check whether image upgrade will succeed.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeRequest| Modifier and Type | Method and Description |
|---|---|
CheckUpgradeRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckUpgradeRequest |
build() |
CheckUpgradeRequest |
buildPartial() |
CheckUpgradeRequest.Builder |
clear() |
CheckUpgradeRequest.Builder |
clearEnvironment()
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
CheckUpgradeRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CheckUpgradeRequest.Builder |
clearImageVersion()
The version of the software running in the environment.
|
CheckUpgradeRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CheckUpgradeRequest.Builder |
clone() |
CheckUpgradeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEnvironment()
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
com.google.protobuf.ByteString |
getEnvironmentBytes()
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
String |
getImageVersion()
The version of the software running in the environment.
|
com.google.protobuf.ByteString |
getImageVersionBytes()
The version of the software running in the environment.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CheckUpgradeRequest.Builder |
mergeFrom(CheckUpgradeRequest other) |
CheckUpgradeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CheckUpgradeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CheckUpgradeRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CheckUpgradeRequest.Builder |
setEnvironment(String value)
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
CheckUpgradeRequest.Builder |
setEnvironmentBytes(com.google.protobuf.ByteString value)
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
CheckUpgradeRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckUpgradeRequest.Builder |
setImageVersion(String value)
The version of the software running in the environment.
|
CheckUpgradeRequest.Builder |
setImageVersionBytes(com.google.protobuf.ByteString value)
The version of the software running in the environment.
|
CheckUpgradeRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CheckUpgradeRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CheckUpgradeRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CheckUpgradeRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CheckUpgradeRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder mergeFrom(CheckUpgradeRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public CheckUpgradeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckUpgradeRequest.Builder>IOExceptionpublic String getEnvironment()
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;getEnvironment in interface CheckUpgradeRequestOrBuilderpublic com.google.protobuf.ByteString getEnvironmentBytes()
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;getEnvironmentBytes in interface CheckUpgradeRequestOrBuilderpublic CheckUpgradeRequest.Builder setEnvironment(String value)
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;value - The environment to set.public CheckUpgradeRequest.Builder clearEnvironment()
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;public CheckUpgradeRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
The resource name of the environment to check upgrade for, in the
form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;value - The bytes for environment to set.public String getImageVersion()
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).
string image_version = 2;getImageVersion in interface CheckUpgradeRequestOrBuilderpublic com.google.protobuf.ByteString getImageVersionBytes()
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).
string image_version = 2;getImageVersionBytes in interface CheckUpgradeRequestOrBuilderpublic CheckUpgradeRequest.Builder setImageVersion(String value)
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).
string image_version = 2;value - The imageVersion to set.public CheckUpgradeRequest.Builder clearImageVersion()
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).
string image_version = 2;public CheckUpgradeRequest.Builder setImageVersionBytes(com.google.protobuf.ByteString value)
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).
string image_version = 2;value - The bytes for imageVersion to set.public final CheckUpgradeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>public final CheckUpgradeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckUpgradeRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.