Class LoadSnapshotRequest (1.23.0)

publicfinalclass LoadSnapshotRequestextendsGeneratedMessageV3implementsLoadSnapshotRequestOrBuilder

Request to load a snapshot into a Cloud Composer environment.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.LoadSnapshotRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

ENVIRONMENT_FIELD_NUMBER

publicstaticfinalintENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

SKIP_AIRFLOW_OVERRIDES_SETTING_FIELD_NUMBER

publicstaticfinalintSKIP_AIRFLOW_OVERRIDES_SETTING_FIELD_NUMBER
Field Value
Type Description
int

SKIP_ENVIRONMENT_VARIABLES_SETTING_FIELD_NUMBER

publicstaticfinalintSKIP_ENVIRONMENT_VARIABLES_SETTING_FIELD_NUMBER
Field Value
Type Description
int

SKIP_GCS_DATA_COPYING_FIELD_NUMBER

publicstaticfinalintSKIP_GCS_DATA_COPYING_FIELD_NUMBER
Field Value
Type Description
int

SKIP_PYPI_PACKAGES_INSTALLATION_FIELD_NUMBER

publicstaticfinalintSKIP_PYPI_PACKAGES_INSTALLATION_FIELD_NUMBER
Field Value
Type Description
int

SNAPSHOT_PATH_FIELD_NUMBER

publicstaticfinalintSNAPSHOT_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticLoadSnapshotRequestgetDefaultInstance()
Returns
Type Description
LoadSnapshotRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticLoadSnapshotRequest.BuildernewBuilder()
Returns
Type Description
LoadSnapshotRequest.Builder

newBuilder(LoadSnapshotRequest prototype)

publicstaticLoadSnapshotRequest.BuildernewBuilder(LoadSnapshotRequestprototype)
Parameter
Name Description
prototype LoadSnapshotRequest
Returns
Type Description
LoadSnapshotRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticLoadSnapshotRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticLoadSnapshotRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticLoadSnapshotRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticLoadSnapshotRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticLoadSnapshotRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticLoadSnapshotRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticLoadSnapshotRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticLoadSnapshotRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticLoadSnapshotRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticLoadSnapshotRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticLoadSnapshotRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticLoadSnapshotRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadSnapshotRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<LoadSnapshotRequest>parser()
Returns
Type Description
Parser<LoadSnapshotRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicLoadSnapshotRequestgetDefaultInstanceForType()
Returns
Type Description
LoadSnapshotRequest

getEnvironment()

publicStringgetEnvironment()

The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Returns
Type Description
String

The environment.

getEnvironmentBytes()

publicByteStringgetEnvironmentBytes()

The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

string environment = 1;

Returns
Type Description
ByteString

The bytes for environment.

getParserForType()

publicParser<LoadSnapshotRequest>getParserForType()
Returns
Type Description
Parser<LoadSnapshotRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSkipAirflowOverridesSetting()

publicbooleangetSkipAirflowOverridesSetting()

Whether or not to skip setting Airflow overrides when loading the environment's state.

bool skip_airflow_overrides_setting = 5;

Returns
Type Description
boolean

The skipAirflowOverridesSetting.

getSkipEnvironmentVariablesSetting()

publicbooleangetSkipEnvironmentVariablesSetting()

Whether or not to skip setting environment variables when loading the environment's state.

bool skip_environment_variables_setting = 4;

Returns
Type Description
boolean

The skipEnvironmentVariablesSetting.

getSkipGcsDataCopying()

publicbooleangetSkipGcsDataCopying()

Whether or not to skip copying Cloud Storage data when loading the environment's state.

bool skip_gcs_data_copying = 6;

Returns
Type Description
boolean

The skipGcsDataCopying.

getSkipPypiPackagesInstallation()

publicbooleangetSkipPypiPackagesInstallation()

Whether or not to skip installing Pypi packages when loading the environment's state.

bool skip_pypi_packages_installation = 3;

Returns
Type Description
boolean

The skipPypiPackagesInstallation.

getSnapshotPath()

publicStringgetSnapshotPath()

A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".

string snapshot_path = 2;

Returns
Type Description
String

The snapshotPath.

getSnapshotPathBytes()

publicByteStringgetSnapshotPathBytes()

A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".

string snapshot_path = 2;

Returns
Type Description
ByteString

The bytes for snapshotPath.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicLoadSnapshotRequest.BuildernewBuilderForType()
Returns
Type Description
LoadSnapshotRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedLoadSnapshotRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LoadSnapshotRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicLoadSnapshotRequest.BuildertoBuilder()
Returns
Type Description
LoadSnapshotRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.