public final class LoadSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 implements LoadSnapshotRequestOrBuilder
Request to load a snapshot into a Cloud Composer environment.Protobuf type
google.cloud.orchestration.airflow.service.v1beta1.LoadSnapshotRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LoadSnapshotRequest.Builder
Request to load a snapshot into a Cloud Composer environment.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENVIRONMENT_FIELD_NUMBER |
static int |
SKIP_AIRFLOW_OVERRIDES_SETTING_FIELD_NUMBER |
static int |
SKIP_ENVIRONMENT_VARIABLES_SETTING_FIELD_NUMBER |
static int |
SKIP_GCS_DATA_COPYING_FIELD_NUMBER |
static int |
SKIP_PYPI_PACKAGES_INSTALLATION_FIELD_NUMBER |
static int |
SNAPSHOT_PATH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static LoadSnapshotRequest |
getDefaultInstance() |
LoadSnapshotRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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}"
|
com.google.protobuf.Parser<LoadSnapshotRequest> |
getParserForType() |
int |
getSerializedSize() |
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".
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LoadSnapshotRequest.Builder |
newBuilder() |
static LoadSnapshotRequest.Builder |
newBuilder(LoadSnapshotRequest prototype) |
LoadSnapshotRequest.Builder |
newBuilderForType() |
protected LoadSnapshotRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LoadSnapshotRequest |
parseDelimitedFrom(InputStream input) |
static LoadSnapshotRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadSnapshotRequest |
parseFrom(byte[] data) |
static LoadSnapshotRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadSnapshotRequest |
parseFrom(ByteBuffer data) |
static LoadSnapshotRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadSnapshotRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LoadSnapshotRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadSnapshotRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LoadSnapshotRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadSnapshotRequest |
parseFrom(InputStream input) |
static LoadSnapshotRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LoadSnapshotRequest> |
parser() |
LoadSnapshotRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENVIRONMENT_FIELD_NUMBER
public static final int SNAPSHOT_PATH_FIELD_NUMBER
public static final int SKIP_PYPI_PACKAGES_INSTALLATION_FIELD_NUMBER
public static final int SKIP_ENVIRONMENT_VARIABLES_SETTING_FIELD_NUMBER
public static final int SKIP_AIRFLOW_OVERRIDES_SETTING_FIELD_NUMBER
public static final int SKIP_GCS_DATA_COPYING_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LoadSnapshotRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadSnapshotRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadSnapshotRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadSnapshotRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadSnapshotRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadSnapshotRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static LoadSnapshotRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LoadSnapshotRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LoadSnapshotRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LoadSnapshotRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LoadSnapshotRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LoadSnapshotRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LoadSnapshotRequest.Builder newBuilder()
public static LoadSnapshotRequest.Builder newBuilder(LoadSnapshotRequest prototype)
public LoadSnapshotRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LoadSnapshotRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LoadSnapshotRequest getDefaultInstance()
public static com.google.protobuf.Parser<LoadSnapshotRequest> parser()
public com.google.protobuf.Parser<LoadSnapshotRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LoadSnapshotRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.