public static final class LoadSnapshotRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder> implements LoadSnapshotRequestOrBuilder
Request to load a snapshot into a Cloud Composer environment.Protobuf type
google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest| Modifier and Type | Method and Description |
|---|---|
LoadSnapshotRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LoadSnapshotRequest |
build() |
LoadSnapshotRequest |
buildPartial() |
LoadSnapshotRequest.Builder |
clear() |
LoadSnapshotRequest.Builder |
clearEnvironment()
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
LoadSnapshotRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LoadSnapshotRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LoadSnapshotRequest.Builder |
clearSkipAirflowOverridesSetting()
Whether or not to skip setting Airflow overrides when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
clearSkipEnvironmentVariablesSetting()
Whether or not to skip setting environment variables when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
clearSkipGcsDataCopying()
Whether or not to skip copying Cloud Storage data when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
clearSkipPypiPackagesInstallation()
Whether or not to skip installing Pypi packages when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
clearSnapshotPath()
A Cloud Storage path to a snapshot to load, e.g.:
"gs://my-bucket/snapshots/project_location_environment_timestamp".
|
LoadSnapshotRequest.Builder |
clone() |
LoadSnapshotRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEnvironment()
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
com.google.protobuf.ByteString |
getEnvironmentBytes()
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
boolean |
getSkipAirflowOverridesSetting()
Whether or not to skip setting Airflow overrides when loading the
environment's state.
|
boolean |
getSkipEnvironmentVariablesSetting()
Whether or not to skip setting environment variables when loading the
environment's state.
|
boolean |
getSkipGcsDataCopying()
Whether or not to skip copying Cloud Storage data when loading the
environment's state.
|
boolean |
getSkipPypiPackagesInstallation()
Whether or not to skip installing Pypi packages when loading the
environment's state.
|
String |
getSnapshotPath()
A Cloud Storage path to a snapshot to load, e.g.:
"gs://my-bucket/snapshots/project_location_environment_timestamp".
|
com.google.protobuf.ByteString |
getSnapshotPathBytes()
A Cloud Storage path to a snapshot to load, e.g.:
"gs://my-bucket/snapshots/project_location_environment_timestamp".
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LoadSnapshotRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LoadSnapshotRequest.Builder |
mergeFrom(LoadSnapshotRequest other) |
LoadSnapshotRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LoadSnapshotRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LoadSnapshotRequest.Builder |
setEnvironment(String value)
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
LoadSnapshotRequest.Builder |
setEnvironmentBytes(com.google.protobuf.ByteString value)
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
|
LoadSnapshotRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LoadSnapshotRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LoadSnapshotRequest.Builder |
setSkipAirflowOverridesSetting(boolean value)
Whether or not to skip setting Airflow overrides when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
setSkipEnvironmentVariablesSetting(boolean value)
Whether or not to skip setting environment variables when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
setSkipGcsDataCopying(boolean value)
Whether or not to skip copying Cloud Storage data when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
setSkipPypiPackagesInstallation(boolean value)
Whether or not to skip installing Pypi packages when loading the
environment's state.
|
LoadSnapshotRequest.Builder |
setSnapshotPath(String value)
A Cloud Storage path to a snapshot to load, e.g.:
"gs://my-bucket/snapshots/project_location_environment_timestamp".
|
LoadSnapshotRequest.Builder |
setSnapshotPathBytes(com.google.protobuf.ByteString value)
A Cloud Storage path to a snapshot to load, e.g.:
"gs://my-bucket/snapshots/project_location_environment_timestamp".
|
LoadSnapshotRequest.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<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.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<LoadSnapshotRequest.Builder>public LoadSnapshotRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LoadSnapshotRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LoadSnapshotRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LoadSnapshotRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.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<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.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<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.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<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.Builder mergeFrom(LoadSnapshotRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder>public LoadSnapshotRequest.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<LoadSnapshotRequest.Builder>IOExceptionpublic String getEnvironment()
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;getEnvironment in interface LoadSnapshotRequestOrBuilderpublic com.google.protobuf.ByteString getEnvironmentBytes()
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;getEnvironmentBytes in interface LoadSnapshotRequestOrBuilderpublic LoadSnapshotRequest.Builder setEnvironment(String value)
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;value - The environment to set.public LoadSnapshotRequest.Builder clearEnvironment()
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;public LoadSnapshotRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
The resource name of the target environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
string environment = 1;value - The bytes for environment to set.public String getSnapshotPath()
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
string snapshot_path = 2;getSnapshotPath in interface LoadSnapshotRequestOrBuilderpublic com.google.protobuf.ByteString getSnapshotPathBytes()
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
string snapshot_path = 2;getSnapshotPathBytes in interface LoadSnapshotRequestOrBuilderpublic LoadSnapshotRequest.Builder setSnapshotPath(String value)
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
string snapshot_path = 2;value - The snapshotPath to set.public LoadSnapshotRequest.Builder clearSnapshotPath()
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
string snapshot_path = 2;public LoadSnapshotRequest.Builder setSnapshotPathBytes(com.google.protobuf.ByteString value)
A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
string snapshot_path = 2;value - The bytes for snapshotPath to set.public boolean getSkipPypiPackagesInstallation()
Whether or not to skip installing Pypi packages when loading the environment's state.
bool skip_pypi_packages_installation = 3;getSkipPypiPackagesInstallation in interface LoadSnapshotRequestOrBuilderpublic LoadSnapshotRequest.Builder setSkipPypiPackagesInstallation(boolean value)
Whether or not to skip installing Pypi packages when loading the environment's state.
bool skip_pypi_packages_installation = 3;value - The skipPypiPackagesInstallation to set.public LoadSnapshotRequest.Builder clearSkipPypiPackagesInstallation()
Whether or not to skip installing Pypi packages when loading the environment's state.
bool skip_pypi_packages_installation = 3;public boolean getSkipEnvironmentVariablesSetting()
Whether or not to skip setting environment variables when loading the environment's state.
bool skip_environment_variables_setting = 4;getSkipEnvironmentVariablesSetting in interface LoadSnapshotRequestOrBuilderpublic LoadSnapshotRequest.Builder setSkipEnvironmentVariablesSetting(boolean value)
Whether or not to skip setting environment variables when loading the environment's state.
bool skip_environment_variables_setting = 4;value - The skipEnvironmentVariablesSetting to set.public LoadSnapshotRequest.Builder clearSkipEnvironmentVariablesSetting()
Whether or not to skip setting environment variables when loading the environment's state.
bool skip_environment_variables_setting = 4;public boolean getSkipAirflowOverridesSetting()
Whether or not to skip setting Airflow overrides when loading the environment's state.
bool skip_airflow_overrides_setting = 5;getSkipAirflowOverridesSetting in interface LoadSnapshotRequestOrBuilderpublic LoadSnapshotRequest.Builder setSkipAirflowOverridesSetting(boolean value)
Whether or not to skip setting Airflow overrides when loading the environment's state.
bool skip_airflow_overrides_setting = 5;value - The skipAirflowOverridesSetting to set.public LoadSnapshotRequest.Builder clearSkipAirflowOverridesSetting()
Whether or not to skip setting Airflow overrides when loading the environment's state.
bool skip_airflow_overrides_setting = 5;public boolean getSkipGcsDataCopying()
Whether or not to skip copying Cloud Storage data when loading the environment's state.
bool skip_gcs_data_copying = 6;getSkipGcsDataCopying in interface LoadSnapshotRequestOrBuilderpublic LoadSnapshotRequest.Builder setSkipGcsDataCopying(boolean value)
Whether or not to skip copying Cloud Storage data when loading the environment's state.
bool skip_gcs_data_copying = 6;value - The skipGcsDataCopying to set.public LoadSnapshotRequest.Builder clearSkipGcsDataCopying()
Whether or not to skip copying Cloud Storage data when loading the environment's state.
bool skip_gcs_data_copying = 6;public final LoadSnapshotRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder>public final LoadSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LoadSnapshotRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.