vmmigrationv1

package
v1.36.11-2024050211440... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AwsSourceDetails_AccessKeyCreds_case case_AwsSourceDetails_CredentialsType = 11
View Source
const AwsSourceDetails_CredentialsType_not_set_case case_AwsSourceDetails_CredentialsType = 0
View Source
const CloneJob_ComputeEngineTargetDetails_case case_CloneJob_TargetVmDetails = 20
View Source
const CloneJob_TargetVmDetails_not_set_case case_CloneJob_TargetVmDetails = 0
View Source
const CloneStep_AdaptingOs_case case_CloneStep_Step = 3
View Source
const CloneStep_InstantiatingMigratedVm_case case_CloneStep_Step = 5
View Source
const CloneStep_PreparingVmDisks_case case_CloneStep_Step = 4
View Source
const CloneStep_Step_not_set_case case_CloneStep_Step = 0
View Source
const CutoverJob_ComputeEngineTargetDetails_case case_CutoverJob_TargetVmDetails = 14
View Source
const CutoverJob_TargetVmDetails_not_set_case case_CutoverJob_TargetVmDetails = 0
View Source
const CutoverStep_FinalSync_case case_CutoverStep_Step = 5
View Source
const CutoverStep_InstantiatingMigratedVm_case case_CutoverStep_Step = 7
View Source
const CutoverStep_PreparingVmDisks_case case_CutoverStep_Step = 6
View Source
const CutoverStep_PreviousReplicationCycle_case case_CutoverStep_Step = 3
View Source
const CutoverStep_ShuttingDownSourceVm_case case_CutoverStep_Step = 4
View Source
const CutoverStep_Step_not_set_case case_CutoverStep_Step = 0
View Source
const CycleStep_InitializingReplication_case case_CycleStep_Step = 3
View Source
const CycleStep_PostProcessing_case case_CycleStep_Step = 5
View Source
const CycleStep_Replicating_case case_CycleStep_Step = 4
View Source
const CycleStep_Step_not_set_case case_CycleStep_Step = 0
View Source
const MigratingVm_AwsSourceVmDetails_case case_MigratingVm_SourceVmDetails = 29
View Source
const MigratingVm_ComputeEngineTargetDefaults_case case_MigratingVm_TargetVmDefaults = 26
View Source
const MigratingVm_SourceVmDetails_not_set_case case_MigratingVm_SourceVmDetails = 0
View Source
const MigratingVm_TargetVmDefaults_not_set_case case_MigratingVm_TargetVmDefaults = 0
View Source
const Source_Aws_case case_Source_SourceDetails = 12
View Source
const Source_SourceDetails_not_set_case case_Source_SourceDetails = 0
View Source
const Source_Vmware_case case_Source_SourceDetails = 10
View Source
const VmUtilizationInfo_VmDetails_not_set_case case_VmUtilizationInfo_VmDetails = 0
View Source
const VmUtilizationInfo_VmwareVmDetails_case case_VmUtilizationInfo_VmDetails = 1

Variables

View Source
var (
	ComputeEngineDiskType_name = map[int32]string{
		0: "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED",
		1: "COMPUTE_ENGINE_DISK_TYPE_STANDARD",
		2: "COMPUTE_ENGINE_DISK_TYPE_SSD",
		3: "COMPUTE_ENGINE_DISK_TYPE_BALANCED",
	}
	ComputeEngineDiskType_value = map[string]int32{
		"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED": 0,
		"COMPUTE_ENGINE_DISK_TYPE_STANDARD":    1,
		"COMPUTE_ENGINE_DISK_TYPE_SSD":         2,
		"COMPUTE_ENGINE_DISK_TYPE_BALANCED":    3,
	}
)

Enum value maps for ComputeEngineDiskType.

View Source
var (
	ComputeEngineLicenseType_name = map[int32]string{
		0: "COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT",
		1: "COMPUTE_ENGINE_LICENSE_TYPE_PAYG",
		2: "COMPUTE_ENGINE_LICENSE_TYPE_BYOL",
	}
	ComputeEngineLicenseType_value = map[string]int32{
		"COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT": 0,
		"COMPUTE_ENGINE_LICENSE_TYPE_PAYG":    1,
		"COMPUTE_ENGINE_LICENSE_TYPE_BYOL":    2,
	}
)

Enum value maps for ComputeEngineLicenseType.

View Source
var (
	ComputeEngineBootOption_name = map[int32]string{
		0: "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED",
		1: "COMPUTE_ENGINE_BOOT_OPTION_EFI",
		2: "COMPUTE_ENGINE_BOOT_OPTION_BIOS",
	}
	ComputeEngineBootOption_value = map[string]int32{
		"COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED": 0,
		"COMPUTE_ENGINE_BOOT_OPTION_EFI":         1,
		"COMPUTE_ENGINE_BOOT_OPTION_BIOS":        2,
	}
)

Enum value maps for ComputeEngineBootOption.

View Source
var (
	ReplicationCycle_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "PAUSED",
		3: "FAILED",
		4: "SUCCEEDED",
	}
	ReplicationCycle_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"PAUSED":            2,
		"FAILED":            3,
		"SUCCEEDED":         4,
	}
)

Enum value maps for ReplicationCycle_State.

View Source
var (
	MigratingVm_State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "PENDING",
		2:  "READY",
		3:  "FIRST_SYNC",
		4:  "ACTIVE",
		7:  "CUTTING_OVER",
		8:  "CUTOVER",
		9:  "FINAL_SYNC",
		10: "PAUSED",
		11: "FINALIZING",
		12: "FINALIZED",
		13: "ERROR",
	}
	MigratingVm_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"READY":             2,
		"FIRST_SYNC":        3,
		"ACTIVE":            4,
		"CUTTING_OVER":      7,
		"CUTOVER":           8,
		"FINAL_SYNC":        9,
		"PAUSED":            10,
		"FINALIZING":        11,
		"FINALIZED":         12,
		"ERROR":             13,
	}
)

Enum value maps for MigratingVm_State.

View Source
var (
	CloneJob_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "ACTIVE",
		3: "FAILED",
		4: "SUCCEEDED",
		5: "CANCELLED",
		6: "CANCELLING",
		7: "ADAPTING_OS",
	}
	CloneJob_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"ACTIVE":            2,
		"FAILED":            3,
		"SUCCEEDED":         4,
		"CANCELLED":         5,
		"CANCELLING":        6,
		"ADAPTING_OS":       7,
	}
)

Enum value maps for CloneJob_State.

View Source
var (
	CutoverJob_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "FAILED",
		3: "SUCCEEDED",
		4: "CANCELLED",
		5: "CANCELLING",
		6: "ACTIVE",
		7: "ADAPTING_OS",
	}
	CutoverJob_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"FAILED":            2,
		"SUCCEEDED":         3,
		"CANCELLED":         4,
		"CANCELLING":        5,
		"ACTIVE":            6,
		"ADAPTING_OS":       7,
	}
)

Enum value maps for CutoverJob_State.

View Source
var (
	AwsSourceDetails_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "FAILED",
		3: "ACTIVE",
	}
	AwsSourceDetails_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"FAILED":            2,
		"ACTIVE":            3,
	}
)

Enum value maps for AwsSourceDetails_State.

View Source
var (
	DatacenterConnector_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "OFFLINE",
		3: "FAILED",
		4: "ACTIVE",
	}
	DatacenterConnector_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"OFFLINE":           2,
		"FAILED":            3,
		"ACTIVE":            4,
	}
)

Enum value maps for DatacenterConnector_State.

View Source
var (
	UpgradeStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "FAILED",
		3: "SUCCEEDED",
	}
	UpgradeStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"FAILED":            2,
		"SUCCEEDED":         3,
	}
)

Enum value maps for UpgradeStatus_State.

View Source
var (
	VmwareVmDetails_PowerState_name = map[int32]string{
		0: "POWER_STATE_UNSPECIFIED",
		1: "ON",
		2: "OFF",
		3: "SUSPENDED",
	}
	VmwareVmDetails_PowerState_value = map[string]int32{
		"POWER_STATE_UNSPECIFIED": 0,
		"ON":                      1,
		"OFF":                     2,
		"SUSPENDED":               3,
	}
)

Enum value maps for VmwareVmDetails_PowerState.

View Source
var (
	VmwareVmDetails_BootOption_name = map[int32]string{
		0: "BOOT_OPTION_UNSPECIFIED",
		1: "EFI",
		2: "BIOS",
	}
	VmwareVmDetails_BootOption_value = map[string]int32{
		"BOOT_OPTION_UNSPECIFIED": 0,
		"EFI":                     1,
		"BIOS":                    2,
	}
)

Enum value maps for VmwareVmDetails_BootOption.

View Source
var (
	UtilizationReport_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "SUCCEEDED",
		3: "FAILED",
	}
	UtilizationReport_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"SUCCEEDED":         2,
		"FAILED":            3,
	}
)

Enum value maps for UtilizationReport_State.

View Source
var (
	UtilizationReport_TimeFrame_name = map[int32]string{
		0: "TIME_FRAME_UNSPECIFIED",
		1: "WEEK",
		2: "MONTH",
		3: "YEAR",
	}
	UtilizationReport_TimeFrame_value = map[string]int32{
		"TIME_FRAME_UNSPECIFIED": 0,
		"WEEK":                   1,
		"MONTH":                  2,
		"YEAR":                   3,
	}
)

Enum value maps for UtilizationReport_TimeFrame.

View Source
var (
	AppliedLicense_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "NONE",
		2: "PAYG",
		3: "BYOL",
	}
	AppliedLicense_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"NONE":             1,
		"PAYG":             2,
		"BYOL":             3,
	}
)

Enum value maps for AppliedLicense_Type.

View Source
var (
	SchedulingNodeAffinity_Operator_name = map[int32]string{
		0: "OPERATOR_UNSPECIFIED",
		1: "IN",
		2: "NOT_IN",
	}
	SchedulingNodeAffinity_Operator_value = map[string]int32{
		"OPERATOR_UNSPECIFIED": 0,
		"IN":                   1,
		"NOT_IN":               2,
	}
)

Enum value maps for SchedulingNodeAffinity_Operator.

View Source
var (
	ComputeScheduling_OnHostMaintenance_name = map[int32]string{
		0: "ON_HOST_MAINTENANCE_UNSPECIFIED",
		1: "TERMINATE",
		2: "MIGRATE",
	}
	ComputeScheduling_OnHostMaintenance_value = map[string]int32{
		"ON_HOST_MAINTENANCE_UNSPECIFIED": 0,
		"TERMINATE":                       1,
		"MIGRATE":                         2,
	}
)

Enum value maps for ComputeScheduling_OnHostMaintenance.

View Source
var (
	ComputeScheduling_RestartType_name = map[int32]string{
		0: "RESTART_TYPE_UNSPECIFIED",
		1: "AUTOMATIC_RESTART",
		2: "NO_AUTOMATIC_RESTART",
	}
	ComputeScheduling_RestartType_value = map[string]int32{
		"RESTART_TYPE_UNSPECIFIED": 0,
		"AUTOMATIC_RESTART":        1,
		"NO_AUTOMATIC_RESTART":     2,
	}
)

Enum value maps for ComputeScheduling_RestartType.

View Source
var (
	MigrationWarning_WarningCode_name = map[int32]string{
		0: "WARNING_CODE_UNSPECIFIED",
		1: "ADAPTATION_WARNING",
	}
	MigrationWarning_WarningCode_value = map[string]int32{
		"WARNING_CODE_UNSPECIFIED": 0,
		"ADAPTATION_WARNING":       1,
	}
)

Enum value maps for MigrationWarning_WarningCode.

View Source
var (
	AwsSourceVmDetails_Firmware_name = map[int32]string{
		0: "FIRMWARE_UNSPECIFIED",
		1: "EFI",
		2: "BIOS",
	}
	AwsSourceVmDetails_Firmware_value = map[string]int32{
		"FIRMWARE_UNSPECIFIED": 0,
		"EFI":                  1,
		"BIOS":                 2,
	}
)

Enum value maps for AwsSourceVmDetails_Firmware.

View Source
var File_google_events_cloud_vmmigration_v1_data_proto protoreflect.FileDescriptor
View Source
var File_google_events_cloud_vmmigration_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdaptingOSStep

type AdaptingOSStep struct {
	// contains filtered or unexported fields
}

AdaptingOSStep contains specific step details.

func (*AdaptingOSStep) ProtoMessage

func (*AdaptingOSStep) ProtoMessage()

func (*AdaptingOSStep) ProtoReflect

func (x *AdaptingOSStep) ProtoReflect() protoreflect.Message

func (*AdaptingOSStep) Reset

func (x *AdaptingOSStep) Reset()

func (*AdaptingOSStep) String

func (x *AdaptingOSStep) String() string

type AdaptingOSStep_builder

type AdaptingOSStep_builder struct {
	// contains filtered or unexported fields
}

func (AdaptingOSStep_builder) Build

type ApplianceVersion

type ApplianceVersion struct {

	// The appliance version.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// A link for downloading the version.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// Determine whether it's critical to upgrade the appliance to this version.
	Critical bool `protobuf:"varint,3,opt,name=critical,proto3" json:"critical,omitempty"`
	// Link to a page that contains the version release notes.
	ReleaseNotesUri string `protobuf:"bytes,4,opt,name=release_notes_uri,json=releaseNotesUri,proto3" json:"release_notes_uri,omitempty"`
	// contains filtered or unexported fields
}

Describes an appliance version.

func (*ApplianceVersion) GetCritical

func (x *ApplianceVersion) GetCritical() bool

func (*ApplianceVersion) GetReleaseNotesUri

func (x *ApplianceVersion) GetReleaseNotesUri() string

func (*ApplianceVersion) GetUri

func (x *ApplianceVersion) GetUri() string

func (*ApplianceVersion) GetVersion

func (x *ApplianceVersion) GetVersion() string

func (*ApplianceVersion) ProtoMessage

func (*ApplianceVersion) ProtoMessage()

func (*ApplianceVersion) ProtoReflect

func (x *ApplianceVersion) ProtoReflect() protoreflect.Message

func (*ApplianceVersion) Reset

func (x *ApplianceVersion) Reset()

func (*ApplianceVersion) SetCritical

func (x *ApplianceVersion) SetCritical(v bool)

func (*ApplianceVersion) SetReleaseNotesUri

func (x *ApplianceVersion) SetReleaseNotesUri(v string)

func (*ApplianceVersion) SetUri

func (x *ApplianceVersion) SetUri(v string)

func (*ApplianceVersion) SetVersion

func (x *ApplianceVersion) SetVersion(v string)

func (*ApplianceVersion) String

func (x *ApplianceVersion) String() string

type ApplianceVersion_builder

type ApplianceVersion_builder struct {

	// The appliance version.
	Version string
	// A link for downloading the version.
	Uri string
	// Determine whether it's critical to upgrade the appliance to this version.
	Critical bool
	// Link to a page that contains the version release notes.
	ReleaseNotesUri string
	// contains filtered or unexported fields
}

func (ApplianceVersion_builder) Build

type AppliedLicense

type AppliedLicense struct {

	// The license type that was used in OS adaptation.
	Type AppliedLicense_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.events.cloud.vmmigration.v1.AppliedLicense_Type" json:"type,omitempty"`
	// The OS license returned from the adaptation module's report.
	OsLicense string `protobuf:"bytes,2,opt,name=os_license,json=osLicense,proto3" json:"os_license,omitempty"`
	// contains filtered or unexported fields
}

AppliedLicense holds the license data returned by adaptation module report.

func (*AppliedLicense) GetOsLicense

func (x *AppliedLicense) GetOsLicense() string

func (*AppliedLicense) GetType

func (x *AppliedLicense) GetType() AppliedLicense_Type

func (*AppliedLicense) ProtoMessage

func (*AppliedLicense) ProtoMessage()

func (*AppliedLicense) ProtoReflect

func (x *AppliedLicense) ProtoReflect() protoreflect.Message

func (*AppliedLicense) Reset

func (x *AppliedLicense) Reset()

func (*AppliedLicense) SetOsLicense

func (x *AppliedLicense) SetOsLicense(v string)

func (*AppliedLicense) SetType

func (x *AppliedLicense) SetType(v AppliedLicense_Type)

func (*AppliedLicense) String

func (x *AppliedLicense) String() string

type AppliedLicense_Type

type AppliedLicense_Type int32

License types used in OS adaptation.

const (
	// Unspecified license for the OS.
	AppliedLicense_TYPE_UNSPECIFIED AppliedLicense_Type = 0
	// No license available for the OS.
	AppliedLicense_NONE AppliedLicense_Type = 1
	// The license type is Pay As You Go license type.
	AppliedLicense_PAYG AppliedLicense_Type = 2
	// The license type is Bring Your Own License type.
	AppliedLicense_BYOL AppliedLicense_Type = 3
)

func (AppliedLicense_Type) Descriptor

func (AppliedLicense_Type) Enum

func (AppliedLicense_Type) Number

func (AppliedLicense_Type) String

func (x AppliedLicense_Type) String() string

func (AppliedLicense_Type) Type

type AppliedLicense_builder

type AppliedLicense_builder struct {

	// The license type that was used in OS adaptation.
	Type AppliedLicense_Type
	// The OS license returned from the adaptation module's report.
	OsLicense string
	// contains filtered or unexported fields
}

func (AppliedLicense_builder) Build

type AvailableUpdates

type AvailableUpdates struct {

	// The newest deployable version of the appliance.
	// The current appliance can't be updated into this version, and the owner
	// must manually deploy this OVA to a new appliance.
	NewDeployableAppliance *ApplianceVersion `` /* 129-byte string literal not displayed */
	// The latest version for in place update.
	// The current appliance can be updated to this version using the API or m4c
	// CLI.
	InPlaceUpdate *ApplianceVersion `protobuf:"bytes,2,opt,name=in_place_update,json=inPlaceUpdate,proto3" json:"in_place_update,omitempty"`
	// contains filtered or unexported fields
}

Holds informatiom about the available versions for upgrade.

func (*AvailableUpdates) ClearInPlaceUpdate

func (x *AvailableUpdates) ClearInPlaceUpdate()

func (*AvailableUpdates) ClearNewDeployableAppliance

func (x *AvailableUpdates) ClearNewDeployableAppliance()

func (*AvailableUpdates) GetInPlaceUpdate

func (x *AvailableUpdates) GetInPlaceUpdate() *ApplianceVersion

func (*AvailableUpdates) GetNewDeployableAppliance

func (x *AvailableUpdates) GetNewDeployableAppliance() *ApplianceVersion

func (*AvailableUpdates) HasInPlaceUpdate

func (x *AvailableUpdates) HasInPlaceUpdate() bool

func (*AvailableUpdates) HasNewDeployableAppliance

func (x *AvailableUpdates) HasNewDeployableAppliance() bool

func (*AvailableUpdates) ProtoMessage

func (*AvailableUpdates) ProtoMessage()

func (*AvailableUpdates) ProtoReflect

func (x *AvailableUpdates) ProtoReflect() protoreflect.Message

func (*AvailableUpdates) Reset

func (x *AvailableUpdates) Reset()

func (*AvailableUpdates) SetInPlaceUpdate

func (x *AvailableUpdates) SetInPlaceUpdate(v *ApplianceVersion)

func (*AvailableUpdates) SetNewDeployableAppliance

func (x *AvailableUpdates) SetNewDeployableAppliance(v *ApplianceVersion)

func (*AvailableUpdates) String

func (x *AvailableUpdates) String() string

type AvailableUpdates_builder

type AvailableUpdates_builder struct {

	// The newest deployable version of the appliance.
	// The current appliance can't be updated into this version, and the owner
	// must manually deploy this OVA to a new appliance.
	NewDeployableAppliance *ApplianceVersion
	// The latest version for in place update.
	// The current appliance can be updated to this version using the API or m4c
	// CLI.
	InPlaceUpdate *ApplianceVersion
	// contains filtered or unexported fields
}

func (AvailableUpdates_builder) Build

type AwsSourceDetails

type AwsSourceDetails struct {

	// Types that are valid to be assigned to CredentialsType:
	//
	//	*AwsSourceDetails_AccessKeyCreds
	CredentialsType isAwsSourceDetails_CredentialsType `protobuf_oneof:"credentials_type"`
	// Immutable. The AWS region that the source VMs will be migrated from.
	AwsRegion string `protobuf:"bytes,3,opt,name=aws_region,json=awsRegion,proto3" json:"aws_region,omitempty"`
	// Output only. State of the source as determined by the health check.
	State AwsSourceDetails_State `` /* 127-byte string literal not displayed */
	// Output only. Provides details on the state of the Source in case of an
	// error.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// AWS resource tags to limit the scope of the source inventory.
	InventoryTagList []*AwsSourceDetails_Tag `protobuf:"bytes,10,rep,name=inventory_tag_list,json=inventoryTagList,proto3" json:"inventory_tag_list,omitempty"`
	// AWS security group names to limit the scope of the source
	// inventory.
	InventorySecurityGroupNames []string `` /* 146-byte string literal not displayed */
	// User specified tags to add to every M2VM generated resource in AWS.
	// These tags will be set in addition to the default tags that are set as part
	// of the migration process. The tags must not begin with the reserved prefix
	// `m2vm`.
	MigrationResourcesUserTags map[string]string `` /* 217-byte string literal not displayed */
	// Output only. The source's public IP. All communication initiated by this
	// source will originate from this IP.
	PublicIp string `protobuf:"bytes,9,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"`
	// contains filtered or unexported fields
}

AwsSourceDetails message describes a specific source details for the AWS source type.

func (*AwsSourceDetails) ClearAccessKeyCreds

func (x *AwsSourceDetails) ClearAccessKeyCreds()

func (*AwsSourceDetails) ClearCredentialsType

func (x *AwsSourceDetails) ClearCredentialsType()

func (*AwsSourceDetails) ClearError

func (x *AwsSourceDetails) ClearError()

func (*AwsSourceDetails) GetAccessKeyCreds

func (*AwsSourceDetails) GetAwsRegion

func (x *AwsSourceDetails) GetAwsRegion() string

func (*AwsSourceDetails) GetCredentialsType

func (x *AwsSourceDetails) GetCredentialsType() isAwsSourceDetails_CredentialsType

func (*AwsSourceDetails) GetError

func (x *AwsSourceDetails) GetError() *status.Status

func (*AwsSourceDetails) GetInventorySecurityGroupNames

func (x *AwsSourceDetails) GetInventorySecurityGroupNames() []string

func (*AwsSourceDetails) GetInventoryTagList

func (x *AwsSourceDetails) GetInventoryTagList() []*AwsSourceDetails_Tag

func (*AwsSourceDetails) GetMigrationResourcesUserTags

func (x *AwsSourceDetails) GetMigrationResourcesUserTags() map[string]string

func (*AwsSourceDetails) GetPublicIp

func (x *AwsSourceDetails) GetPublicIp() string

func (*AwsSourceDetails) GetState

func (*AwsSourceDetails) HasAccessKeyCreds

func (x *AwsSourceDetails) HasAccessKeyCreds() bool

func (*AwsSourceDetails) HasCredentialsType

func (x *AwsSourceDetails) HasCredentialsType() bool

func (*AwsSourceDetails) HasError

func (x *AwsSourceDetails) HasError() bool

func (*AwsSourceDetails) ProtoMessage

func (*AwsSourceDetails) ProtoMessage()

func (*AwsSourceDetails) ProtoReflect

func (x *AwsSourceDetails) ProtoReflect() protoreflect.Message

func (*AwsSourceDetails) Reset

func (x *AwsSourceDetails) Reset()

func (*AwsSourceDetails) SetAccessKeyCreds

func (*AwsSourceDetails) SetAwsRegion

func (x *AwsSourceDetails) SetAwsRegion(v string)

func (*AwsSourceDetails) SetError

func (x *AwsSourceDetails) SetError(v *status.Status)

func (*AwsSourceDetails) SetInventorySecurityGroupNames

func (x *AwsSourceDetails) SetInventorySecurityGroupNames(v []string)

func (*AwsSourceDetails) SetInventoryTagList

func (x *AwsSourceDetails) SetInventoryTagList(v []*AwsSourceDetails_Tag)

func (*AwsSourceDetails) SetMigrationResourcesUserTags

func (x *AwsSourceDetails) SetMigrationResourcesUserTags(v map[string]string)

func (*AwsSourceDetails) SetPublicIp

func (x *AwsSourceDetails) SetPublicIp(v string)

func (*AwsSourceDetails) SetState

func (*AwsSourceDetails) String

func (x *AwsSourceDetails) String() string

func (*AwsSourceDetails) WhichCredentialsType

func (x *AwsSourceDetails) WhichCredentialsType() case_AwsSourceDetails_CredentialsType

type AwsSourceDetails_AccessKeyCredentials

type AwsSourceDetails_AccessKeyCredentials struct {

	// AWS access key ID.
	AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	// contains filtered or unexported fields
}

Message describing AWS Credentials using access key id and secret.

func (*AwsSourceDetails_AccessKeyCredentials) GetAccessKeyId

func (x *AwsSourceDetails_AccessKeyCredentials) GetAccessKeyId() string

func (*AwsSourceDetails_AccessKeyCredentials) ProtoMessage

func (*AwsSourceDetails_AccessKeyCredentials) ProtoMessage()

func (*AwsSourceDetails_AccessKeyCredentials) ProtoReflect

func (*AwsSourceDetails_AccessKeyCredentials) Reset

func (*AwsSourceDetails_AccessKeyCredentials) SetAccessKeyId

func (x *AwsSourceDetails_AccessKeyCredentials) SetAccessKeyId(v string)

func (*AwsSourceDetails_AccessKeyCredentials) String

type AwsSourceDetails_AccessKeyCredentials_builder

type AwsSourceDetails_AccessKeyCredentials_builder struct {

	// AWS access key ID.
	AccessKeyId string
	// contains filtered or unexported fields
}

func (AwsSourceDetails_AccessKeyCredentials_builder) Build

type AwsSourceDetails_AccessKeyCreds

type AwsSourceDetails_AccessKeyCreds struct {
	// AWS Credentials using access key id and secret.
	AccessKeyCreds *AwsSourceDetails_AccessKeyCredentials `protobuf:"bytes,11,opt,name=access_key_creds,json=accessKeyCreds,proto3,oneof"`
}

type AwsSourceDetails_State

type AwsSourceDetails_State int32

The possible values of the state.

const (
	// The state is unknown. This is used for API compatibility only and is not
	// used by the system.
	AwsSourceDetails_STATE_UNSPECIFIED AwsSourceDetails_State = 0
	// The state was not sampled by the health checks yet.
	AwsSourceDetails_PENDING AwsSourceDetails_State = 1
	// The source is available but might not be usable yet due to invalid
	// credentials or another reason.
	// The error message will contain further details.
	AwsSourceDetails_FAILED AwsSourceDetails_State = 2
	// The source exists and its credentials were verified.
	AwsSourceDetails_ACTIVE AwsSourceDetails_State = 3
)

func (AwsSourceDetails_State) Descriptor

func (AwsSourceDetails_State) Enum

func (AwsSourceDetails_State) Number

func (AwsSourceDetails_State) String

func (x AwsSourceDetails_State) String() string

func (AwsSourceDetails_State) Type

type AwsSourceDetails_Tag

type AwsSourceDetails_Tag struct {

	// Key of tag.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value of tag.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Tag is an AWS tag representation.

func (*AwsSourceDetails_Tag) GetKey

func (x *AwsSourceDetails_Tag) GetKey() string

func (*AwsSourceDetails_Tag) GetValue

func (x *AwsSourceDetails_Tag) GetValue() string

func (*AwsSourceDetails_Tag) ProtoMessage

func (*AwsSourceDetails_Tag) ProtoMessage()

func (*AwsSourceDetails_Tag) ProtoReflect

func (x *AwsSourceDetails_Tag) ProtoReflect() protoreflect.Message

func (*AwsSourceDetails_Tag) Reset

func (x *AwsSourceDetails_Tag) Reset()

func (*AwsSourceDetails_Tag) SetKey

func (x *AwsSourceDetails_Tag) SetKey(v string)

func (*AwsSourceDetails_Tag) SetValue

func (x *AwsSourceDetails_Tag) SetValue(v string)

func (*AwsSourceDetails_Tag) String

func (x *AwsSourceDetails_Tag) String() string

type AwsSourceDetails_Tag_builder

type AwsSourceDetails_Tag_builder struct {

	// Key of tag.
	Key string
	// Value of tag.
	Value string
	// contains filtered or unexported fields
}

func (AwsSourceDetails_Tag_builder) Build

type AwsSourceDetails_builder

type AwsSourceDetails_builder struct {

	// Fields of oneof CredentialsType:
	// AWS Credentials using access key id and secret.
	AccessKeyCreds *AwsSourceDetails_AccessKeyCredentials
	// -- end of CredentialsType
	// Immutable. The AWS region that the source VMs will be migrated from.
	AwsRegion string
	// Output only. State of the source as determined by the health check.
	State AwsSourceDetails_State
	// Output only. Provides details on the state of the Source in case of an
	// error.
	Error *status.Status
	// AWS resource tags to limit the scope of the source inventory.
	InventoryTagList []*AwsSourceDetails_Tag
	// AWS security group names to limit the scope of the source
	// inventory.
	InventorySecurityGroupNames []string
	// User specified tags to add to every M2VM generated resource in AWS.
	// These tags will be set in addition to the default tags that are set as part
	// of the migration process. The tags must not begin with the reserved prefix
	// `m2vm`.
	MigrationResourcesUserTags map[string]string
	// Output only. The source's public IP. All communication initiated by this
	// source will originate from this IP.
	PublicIp string
	// contains filtered or unexported fields
}

func (AwsSourceDetails_builder) Build

type AwsSourceVmDetails

type AwsSourceVmDetails struct {

	// The firmware type of the source VM.
	Firmware AwsSourceVmDetails_Firmware `` /* 138-byte string literal not displayed */
	// The total size of the disks being migrated in bytes.
	CommittedStorageBytes int64 `` /* 127-byte string literal not displayed */
	// The disks attached to the source VM.
	Disks []*AwsSourceVmDetails_AwsDiskDetails `protobuf:"bytes,3,rep,name=disks,proto3" json:"disks,omitempty"`
	// contains filtered or unexported fields
}

Represent the source AWS VM details.

func (*AwsSourceVmDetails) GetCommittedStorageBytes

func (x *AwsSourceVmDetails) GetCommittedStorageBytes() int64

func (*AwsSourceVmDetails) GetDisks

func (*AwsSourceVmDetails) GetFirmware

func (*AwsSourceVmDetails) ProtoMessage

func (*AwsSourceVmDetails) ProtoMessage()

func (*AwsSourceVmDetails) ProtoReflect

func (x *AwsSourceVmDetails) ProtoReflect() protoreflect.Message

func (*AwsSourceVmDetails) Reset

func (x *AwsSourceVmDetails) Reset()

func (*AwsSourceVmDetails) SetCommittedStorageBytes

func (x *AwsSourceVmDetails) SetCommittedStorageBytes(v int64)

func (*AwsSourceVmDetails) SetDisks

func (*AwsSourceVmDetails) SetFirmware

func (*AwsSourceVmDetails) String

func (x *AwsSourceVmDetails) String() string

type AwsSourceVmDetails_AwsDiskDetails

type AwsSourceVmDetails_AwsDiskDetails struct {

	// The ordinal number of the disk.
	DiskNumber int32 `protobuf:"varint,1,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"`
	// AWS volume ID.
	VolumeId string `protobuf:"bytes,2,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	// Size in GB.
	SizeGb int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	// contains filtered or unexported fields
}

The details of an AWS instance disk.

func (*AwsSourceVmDetails_AwsDiskDetails) GetDiskNumber

func (x *AwsSourceVmDetails_AwsDiskDetails) GetDiskNumber() int32

func (*AwsSourceVmDetails_AwsDiskDetails) GetSizeGb

func (*AwsSourceVmDetails_AwsDiskDetails) GetVolumeId

func (x *AwsSourceVmDetails_AwsDiskDetails) GetVolumeId() string

func (*AwsSourceVmDetails_AwsDiskDetails) ProtoMessage

func (*AwsSourceVmDetails_AwsDiskDetails) ProtoMessage()

func (*AwsSourceVmDetails_AwsDiskDetails) ProtoReflect

func (*AwsSourceVmDetails_AwsDiskDetails) Reset

func (*AwsSourceVmDetails_AwsDiskDetails) SetDiskNumber

func (x *AwsSourceVmDetails_AwsDiskDetails) SetDiskNumber(v int32)

func (*AwsSourceVmDetails_AwsDiskDetails) SetSizeGb

func (x *AwsSourceVmDetails_AwsDiskDetails) SetSizeGb(v int64)

func (*AwsSourceVmDetails_AwsDiskDetails) SetVolumeId

func (x *AwsSourceVmDetails_AwsDiskDetails) SetVolumeId(v string)

func (*AwsSourceVmDetails_AwsDiskDetails) String

type AwsSourceVmDetails_AwsDiskDetails_builder

type AwsSourceVmDetails_AwsDiskDetails_builder struct {

	// The ordinal number of the disk.
	DiskNumber int32
	// AWS volume ID.
	VolumeId string
	// Size in GB.
	SizeGb int64
	// contains filtered or unexported fields
}

func (AwsSourceVmDetails_AwsDiskDetails_builder) Build

type AwsSourceVmDetails_Firmware

type AwsSourceVmDetails_Firmware int32

Possible values for AWS VM firmware.

const (
	// The firmware is unknown.
	AwsSourceVmDetails_FIRMWARE_UNSPECIFIED AwsSourceVmDetails_Firmware = 0
	// The firmware is EFI.
	AwsSourceVmDetails_EFI AwsSourceVmDetails_Firmware = 1
	// The firmware is BIOS.
	AwsSourceVmDetails_BIOS AwsSourceVmDetails_Firmware = 2
)

func (AwsSourceVmDetails_Firmware) Descriptor

func (AwsSourceVmDetails_Firmware) Enum

func (AwsSourceVmDetails_Firmware) Number

func (AwsSourceVmDetails_Firmware) String

func (AwsSourceVmDetails_Firmware) Type

type AwsSourceVmDetails_builder

type AwsSourceVmDetails_builder struct {

	// The firmware type of the source VM.
	Firmware AwsSourceVmDetails_Firmware
	// The total size of the disks being migrated in bytes.
	CommittedStorageBytes int64
	// The disks attached to the source VM.
	Disks []*AwsSourceVmDetails_AwsDiskDetails
	// contains filtered or unexported fields
}

func (AwsSourceVmDetails_builder) Build

type CloneJob

type CloneJob struct {

	// Details of the VM to create as the target of this clone job.
	//
	// Types that are valid to be assigned to TargetVmDetails:
	//
	//	*CloneJob_ComputeEngineTargetDetails
	TargetVmDetails isCloneJob_TargetVmDetails `protobuf_oneof:"target_vm_details"`
	// Output only. The time the clone job was created (as an API call, not when
	// it was actually created in the target).
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the clone job was ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. The name of the clone.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. State of the clone job.
	State CloneJob_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.events.cloud.vmmigration.v1.CloneJob_State" json:"state,omitempty"`
	// Output only. The time the state was last updated.
	StateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=state_time,json=stateTime,proto3" json:"state_time,omitempty"`
	// Output only. Provides details for the errors that led to the Clone Job's
	// state.
	Error *status.Status `protobuf:"bytes,17,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. The clone steps list representing its progress.
	Steps []*CloneStep `protobuf:"bytes,23,rep,name=steps,proto3" json:"steps,omitempty"`
	// contains filtered or unexported fields
}

CloneJob describes the process of creating a clone of a [MigratingVM][google.cloud.vmmigration.v1.MigratingVm] to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.

func (*CloneJob) ClearComputeEngineTargetDetails

func (x *CloneJob) ClearComputeEngineTargetDetails()

func (*CloneJob) ClearCreateTime

func (x *CloneJob) ClearCreateTime()

func (*CloneJob) ClearEndTime

func (x *CloneJob) ClearEndTime()

func (*CloneJob) ClearError

func (x *CloneJob) ClearError()

func (*CloneJob) ClearStateTime

func (x *CloneJob) ClearStateTime()

func (*CloneJob) ClearTargetVmDetails

func (x *CloneJob) ClearTargetVmDetails()

func (*CloneJob) GetComputeEngineTargetDetails

func (x *CloneJob) GetComputeEngineTargetDetails() *ComputeEngineTargetDetails

func (*CloneJob) GetCreateTime

func (x *CloneJob) GetCreateTime() *timestamppb.Timestamp

func (*CloneJob) GetEndTime

func (x *CloneJob) GetEndTime() *timestamppb.Timestamp

func (*CloneJob) GetError

func (x *CloneJob) GetError() *status.Status

func (*CloneJob) GetName

func (x *CloneJob) GetName() string

func (*CloneJob) GetState

func (x *CloneJob) GetState() CloneJob_State

func (*CloneJob) GetStateTime

func (x *CloneJob) GetStateTime() *timestamppb.Timestamp

func (*CloneJob) GetSteps

func (x *CloneJob) GetSteps() []*CloneStep

func (*CloneJob) GetTargetVmDetails

func (x *CloneJob) GetTargetVmDetails() isCloneJob_TargetVmDetails

func (*CloneJob) HasComputeEngineTargetDetails

func (x *CloneJob) HasComputeEngineTargetDetails() bool

func (*CloneJob) HasCreateTime

func (x *CloneJob) HasCreateTime() bool

func (*CloneJob) HasEndTime

func (x *CloneJob) HasEndTime() bool

func (*CloneJob) HasError

func (x *CloneJob) HasError() bool

func (*CloneJob) HasStateTime

func (x *CloneJob) HasStateTime() bool

func (*CloneJob) HasTargetVmDetails

func (x *CloneJob) HasTargetVmDetails() bool

func (*CloneJob) ProtoMessage

func (*CloneJob) ProtoMessage()

func (*CloneJob) ProtoReflect

func (x *CloneJob) ProtoReflect() protoreflect.Message

func (*CloneJob) Reset

func (x *CloneJob) Reset()

func (*CloneJob) SetComputeEngineTargetDetails

func (x *CloneJob) SetComputeEngineTargetDetails(v *ComputeEngineTargetDetails)

func (*CloneJob) SetCreateTime

func (x *CloneJob) SetCreateTime(v *timestamppb.Timestamp)

func (*CloneJob) SetEndTime

func (x *CloneJob) SetEndTime(v *timestamppb.Timestamp)

func (*CloneJob) SetError

func (x *CloneJob) SetError(v *status.Status)

func (*CloneJob) SetName

func (x *CloneJob) SetName(v string)

func (*CloneJob) SetState

func (x *CloneJob) SetState(v CloneJob_State)

func (*CloneJob) SetStateTime

func (x *CloneJob) SetStateTime(v *timestamppb.Timestamp)

func (*CloneJob) SetSteps

func (x *CloneJob) SetSteps(v []*CloneStep)

func (*CloneJob) String

func (x *CloneJob) String() string

func (*CloneJob) WhichTargetVmDetails

func (x *CloneJob) WhichTargetVmDetails() case_CloneJob_TargetVmDetails

type CloneJobCreatedEvent

type CloneJobCreatedEvent struct {

	// The data associated with the event.
	Data *CloneJobEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CloneJob is created.

func (*CloneJobCreatedEvent) ClearData

func (x *CloneJobCreatedEvent) ClearData()

func (*CloneJobCreatedEvent) GetData

func (*CloneJobCreatedEvent) HasData

func (x *CloneJobCreatedEvent) HasData() bool

func (*CloneJobCreatedEvent) ProtoMessage

func (*CloneJobCreatedEvent) ProtoMessage()

func (*CloneJobCreatedEvent) ProtoReflect

func (x *CloneJobCreatedEvent) ProtoReflect() protoreflect.Message

func (*CloneJobCreatedEvent) Reset

func (x *CloneJobCreatedEvent) Reset()

func (*CloneJobCreatedEvent) SetData

func (x *CloneJobCreatedEvent) SetData(v *CloneJobEventData)

func (*CloneJobCreatedEvent) String

func (x *CloneJobCreatedEvent) String() string

type CloneJobCreatedEvent_builder

type CloneJobCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CloneJobEventData
	// contains filtered or unexported fields
}

func (CloneJobCreatedEvent_builder) Build

type CloneJobEventData

type CloneJobEventData struct {

	// The CloneJob event payload.
	Payload *CloneJob `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all CloneJob events.

func (*CloneJobEventData) ClearPayload

func (x *CloneJobEventData) ClearPayload()

func (*CloneJobEventData) GetPayload

func (x *CloneJobEventData) GetPayload() *CloneJob

func (*CloneJobEventData) HasPayload

func (x *CloneJobEventData) HasPayload() bool

func (*CloneJobEventData) ProtoMessage

func (*CloneJobEventData) ProtoMessage()

func (*CloneJobEventData) ProtoReflect

func (x *CloneJobEventData) ProtoReflect() protoreflect.Message

func (*CloneJobEventData) Reset

func (x *CloneJobEventData) Reset()

func (*CloneJobEventData) SetPayload

func (x *CloneJobEventData) SetPayload(v *CloneJob)

func (*CloneJobEventData) String

func (x *CloneJobEventData) String() string

type CloneJobEventData_builder

type CloneJobEventData_builder struct {

	// The CloneJob event payload.
	Payload *CloneJob
	// contains filtered or unexported fields
}

func (CloneJobEventData_builder) Build

type CloneJob_ComputeEngineTargetDetails

type CloneJob_ComputeEngineTargetDetails struct {
	// Output only. Details of the target VM in Compute Engine.
	ComputeEngineTargetDetails *ComputeEngineTargetDetails `protobuf:"bytes,20,opt,name=compute_engine_target_details,json=computeEngineTargetDetails,proto3,oneof"`
}

type CloneJob_State

type CloneJob_State int32

Possible states of the clone job.

const (
	// The state is unknown. This is used for API compatibility only and is not
	// used by the system.
	CloneJob_STATE_UNSPECIFIED CloneJob_State = 0
	// The clone job has not yet started.
	CloneJob_PENDING CloneJob_State = 1
	// The clone job is active and running.
	CloneJob_ACTIVE CloneJob_State = 2
	// The clone job finished with errors.
	CloneJob_FAILED CloneJob_State = 3
	// The clone job finished successfully.
	CloneJob_SUCCEEDED CloneJob_State = 4
	// The clone job was cancelled.
	CloneJob_CANCELLED CloneJob_State = 5
	// The clone job is being cancelled.
	CloneJob_CANCELLING CloneJob_State = 6
	// OS adaptation is running as part of the clone job to generate license.
	CloneJob_ADAPTING_OS CloneJob_State = 7
)

func (CloneJob_State) Descriptor

func (CloneJob_State) Enum

func (x CloneJob_State) Enum() *CloneJob_State

func (CloneJob_State) Number

func (CloneJob_State) String

func (x CloneJob_State) String() string

func (CloneJob_State) Type

type CloneJob_builder

type CloneJob_builder struct {

	// Fields of oneof TargetVmDetails:
	// Output only. Details of the target VM in Compute Engine.
	ComputeEngineTargetDetails *ComputeEngineTargetDetails
	// -- end of TargetVmDetails
	// Output only. The time the clone job was created (as an API call, not when
	// it was actually created in the target).
	CreateTime *timestamppb.Timestamp
	// Output only. The time the clone job was ended.
	EndTime *timestamppb.Timestamp
	// Output only. The name of the clone.
	Name string
	// Output only. State of the clone job.
	State CloneJob_State
	// Output only. The time the state was last updated.
	StateTime *timestamppb.Timestamp
	// Output only. Provides details for the errors that led to the Clone Job's
	// state.
	Error *status.Status
	// Output only. The clone steps list representing its progress.
	Steps []*CloneStep
	// contains filtered or unexported fields
}

func (CloneJob_builder) Build

func (b0 CloneJob_builder) Build() *CloneJob

type CloneStep

type CloneStep struct {

	// Types that are valid to be assigned to Step:
	//
	//	*CloneStep_AdaptingOs
	//	*CloneStep_PreparingVmDisks
	//	*CloneStep_InstantiatingMigratedVm
	Step isCloneStep_Step `protobuf_oneof:"step"`
	// The time the step has started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the step has ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

CloneStep holds information about the clone step progress.

func (*CloneStep) ClearAdaptingOs

func (x *CloneStep) ClearAdaptingOs()

func (*CloneStep) ClearEndTime

func (x *CloneStep) ClearEndTime()

func (*CloneStep) ClearInstantiatingMigratedVm

func (x *CloneStep) ClearInstantiatingMigratedVm()

func (*CloneStep) ClearPreparingVmDisks

func (x *CloneStep) ClearPreparingVmDisks()

func (*CloneStep) ClearStartTime

func (x *CloneStep) ClearStartTime()

func (*CloneStep) ClearStep

func (x *CloneStep) ClearStep()

func (*CloneStep) GetAdaptingOs

func (x *CloneStep) GetAdaptingOs() *AdaptingOSStep

func (*CloneStep) GetEndTime

func (x *CloneStep) GetEndTime() *timestamppb.Timestamp

func (*CloneStep) GetInstantiatingMigratedVm

func (x *CloneStep) GetInstantiatingMigratedVm() *InstantiatingMigratedVMStep

func (*CloneStep) GetPreparingVmDisks

func (x *CloneStep) GetPreparingVmDisks() *PreparingVMDisksStep

func (*CloneStep) GetStartTime

func (x *CloneStep) GetStartTime() *timestamppb.Timestamp

func (*CloneStep) GetStep

func (x *CloneStep) GetStep() isCloneStep_Step

func (*CloneStep) HasAdaptingOs

func (x *CloneStep) HasAdaptingOs() bool

func (*CloneStep) HasEndTime

func (x *CloneStep) HasEndTime() bool

func (*CloneStep) HasInstantiatingMigratedVm

func (x *CloneStep) HasInstantiatingMigratedVm() bool

func (*CloneStep) HasPreparingVmDisks

func (x *CloneStep) HasPreparingVmDisks() bool

func (*CloneStep) HasStartTime

func (x *CloneStep) HasStartTime() bool

func (*CloneStep) HasStep

func (x *CloneStep) HasStep() bool

func (*CloneStep) ProtoMessage

func (*CloneStep) ProtoMessage()

func (*CloneStep) ProtoReflect

func (x *CloneStep) ProtoReflect() protoreflect.Message

func (*CloneStep) Reset

func (x *CloneStep) Reset()

func (*CloneStep) SetAdaptingOs

func (x *CloneStep) SetAdaptingOs(v *AdaptingOSStep)

func (*CloneStep) SetEndTime

func (x *CloneStep) SetEndTime(v *timestamppb.Timestamp)

func (*CloneStep) SetInstantiatingMigratedVm

func (x *CloneStep) SetInstantiatingMigratedVm(v *InstantiatingMigratedVMStep)

func (*CloneStep) SetPreparingVmDisks

func (x *CloneStep) SetPreparingVmDisks(v *PreparingVMDisksStep)

func (*CloneStep) SetStartTime

func (x *CloneStep) SetStartTime(v *timestamppb.Timestamp)

func (*CloneStep) String

func (x *CloneStep) String() string

func (*CloneStep) WhichStep

func (x *CloneStep) WhichStep() case_CloneStep_Step

type CloneStep_AdaptingOs

type CloneStep_AdaptingOs struct {
	// Adapting OS step.
	AdaptingOs *AdaptingOSStep `protobuf:"bytes,3,opt,name=adapting_os,json=adaptingOs,proto3,oneof"`
}

type CloneStep_InstantiatingMigratedVm

type CloneStep_InstantiatingMigratedVm struct {
	// Instantiating migrated VM step.
	InstantiatingMigratedVm *InstantiatingMigratedVMStep `protobuf:"bytes,5,opt,name=instantiating_migrated_vm,json=instantiatingMigratedVm,proto3,oneof"`
}

type CloneStep_PreparingVmDisks

type CloneStep_PreparingVmDisks struct {
	// Preparing VM disks step.
	PreparingVmDisks *PreparingVMDisksStep `protobuf:"bytes,4,opt,name=preparing_vm_disks,json=preparingVmDisks,proto3,oneof"`
}

type CloneStep_builder

type CloneStep_builder struct {

	// Fields of oneof Step:
	// Adapting OS step.
	AdaptingOs *AdaptingOSStep
	// Preparing VM disks step.
	PreparingVmDisks *PreparingVMDisksStep
	// Instantiating migrated VM step.
	InstantiatingMigratedVm *InstantiatingMigratedVMStep
	// -- end of Step
	// The time the step has started.
	StartTime *timestamppb.Timestamp
	// The time the step has ended.
	EndTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (CloneStep_builder) Build

func (b0 CloneStep_builder) Build() *CloneStep

type ComputeEngineBootOption

type ComputeEngineBootOption int32

Possible values for vm boot option.

const (
	// The boot option is unknown.
	ComputeEngineBootOption_COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED ComputeEngineBootOption = 0
	// The boot option is EFI.
	ComputeEngineBootOption_COMPUTE_ENGINE_BOOT_OPTION_EFI ComputeEngineBootOption = 1
	// The boot option is BIOS.
	ComputeEngineBootOption_COMPUTE_ENGINE_BOOT_OPTION_BIOS ComputeEngineBootOption = 2
)

func (ComputeEngineBootOption) Descriptor

func (ComputeEngineBootOption) Enum

func (ComputeEngineBootOption) Number

func (ComputeEngineBootOption) String

func (x ComputeEngineBootOption) String() string

func (ComputeEngineBootOption) Type

type ComputeEngineDiskType

type ComputeEngineDiskType int32

Types of disks supported for Compute Engine VM.

const (
	// An unspecified disk type. Will be used as STANDARD.
	ComputeEngineDiskType_COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED ComputeEngineDiskType = 0
	// A Standard disk type.
	ComputeEngineDiskType_COMPUTE_ENGINE_DISK_TYPE_STANDARD ComputeEngineDiskType = 1
	// SSD hard disk type.
	ComputeEngineDiskType_COMPUTE_ENGINE_DISK_TYPE_SSD ComputeEngineDiskType = 2
	// An alternative to SSD persistent disks that balance performance and
	// cost.
	ComputeEngineDiskType_COMPUTE_ENGINE_DISK_TYPE_BALANCED ComputeEngineDiskType = 3
)

func (ComputeEngineDiskType) Descriptor

func (ComputeEngineDiskType) Enum

func (ComputeEngineDiskType) Number

func (ComputeEngineDiskType) String

func (x ComputeEngineDiskType) String() string

func (ComputeEngineDiskType) Type

type ComputeEngineLicenseType

type ComputeEngineLicenseType int32

Types of licenses used in OS adaptation.

const (
	// The license type is the default for the OS.
	ComputeEngineLicenseType_COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT ComputeEngineLicenseType = 0
	// The license type is Pay As You Go license type.
	ComputeEngineLicenseType_COMPUTE_ENGINE_LICENSE_TYPE_PAYG ComputeEngineLicenseType = 1
	// The license type is Bring Your Own License type.
	ComputeEngineLicenseType_COMPUTE_ENGINE_LICENSE_TYPE_BYOL ComputeEngineLicenseType = 2
)

func (ComputeEngineLicenseType) Descriptor

func (ComputeEngineLicenseType) Enum

func (ComputeEngineLicenseType) Number

func (ComputeEngineLicenseType) String

func (x ComputeEngineLicenseType) String() string

func (ComputeEngineLicenseType) Type

type ComputeEngineTargetDefaults

type ComputeEngineTargetDefaults struct {

	// The name of the VM to create.
	VmName string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	// The full path of the resource of type TargetProject which represents the
	// Compute Engine project in which to create this VM.
	TargetProject string `protobuf:"bytes,2,opt,name=target_project,json=targetProject,proto3" json:"target_project,omitempty"`
	// The zone in which to create the VM.
	Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	// The machine type series to create the VM with.
	MachineTypeSeries string `protobuf:"bytes,4,opt,name=machine_type_series,json=machineTypeSeries,proto3" json:"machine_type_series,omitempty"`
	// The machine type to create the VM with.
	MachineType string `protobuf:"bytes,5,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// A map of network tags to associate with the VM.
	NetworkTags []string `protobuf:"bytes,6,rep,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"`
	// List of NICs connected to this VM.
	NetworkInterfaces []*NetworkInterface `protobuf:"bytes,7,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
	// The service account to associate the VM with.
	ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// The disk type to use in the VM.
	DiskType ComputeEngineDiskType `` /* 148-byte string literal not displayed */
	// A map of labels to associate with the VM.
	Labels map[string]string `` /* 140-byte string literal not displayed */
	// The license type to use in OS adaptation.
	LicenseType ComputeEngineLicenseType `` /* 161-byte string literal not displayed */
	// Output only. The OS license returned from the adaptation module report.
	AppliedLicense *AppliedLicense `protobuf:"bytes,12,opt,name=applied_license,json=appliedLicense,proto3" json:"applied_license,omitempty"`
	// Compute instance scheduling information (if empty default is used).
	ComputeScheduling *ComputeScheduling `protobuf:"bytes,13,opt,name=compute_scheduling,json=computeScheduling,proto3" json:"compute_scheduling,omitempty"`
	// Defines whether the instance has Secure Boot enabled.
	// This can be set to true only if the vm boot option is EFI.
	SecureBoot bool `protobuf:"varint,14,opt,name=secure_boot,json=secureBoot,proto3" json:"secure_boot,omitempty"`
	// Output only. The VM Boot Option, as set in the source vm.
	BootOption ComputeEngineBootOption `` /* 157-byte string literal not displayed */
	// The metadata key/value pairs to assign to the VM.
	Metadata map[string]string `` /* 144-byte string literal not displayed */
	// Additional licenses to assign to the VM.
	AdditionalLicenses []string `protobuf:"bytes,17,rep,name=additional_licenses,json=additionalLicenses,proto3" json:"additional_licenses,omitempty"`
	// The hostname to assign to the VM.
	Hostname string `protobuf:"bytes,18,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.

func (*ComputeEngineTargetDefaults) ClearAppliedLicense

func (x *ComputeEngineTargetDefaults) ClearAppliedLicense()

func (*ComputeEngineTargetDefaults) ClearComputeScheduling

func (x *ComputeEngineTargetDefaults) ClearComputeScheduling()

func (*ComputeEngineTargetDefaults) GetAdditionalLicenses

func (x *ComputeEngineTargetDefaults) GetAdditionalLicenses() []string

func (*ComputeEngineTargetDefaults) GetAppliedLicense

func (x *ComputeEngineTargetDefaults) GetAppliedLicense() *AppliedLicense

func (*ComputeEngineTargetDefaults) GetBootOption

func (*ComputeEngineTargetDefaults) GetComputeScheduling

func (x *ComputeEngineTargetDefaults) GetComputeScheduling() *ComputeScheduling

func (*ComputeEngineTargetDefaults) GetDiskType

func (*ComputeEngineTargetDefaults) GetHostname

func (x *ComputeEngineTargetDefaults) GetHostname() string

func (*ComputeEngineTargetDefaults) GetLabels

func (x *ComputeEngineTargetDefaults) GetLabels() map[string]string

func (*ComputeEngineTargetDefaults) GetLicenseType

func (*ComputeEngineTargetDefaults) GetMachineType

func (x *ComputeEngineTargetDefaults) GetMachineType() string

func (*ComputeEngineTargetDefaults) GetMachineTypeSeries

func (x *ComputeEngineTargetDefaults) GetMachineTypeSeries() string

func (*ComputeEngineTargetDefaults) GetMetadata

func (x *ComputeEngineTargetDefaults) GetMetadata() map[string]string

func (*ComputeEngineTargetDefaults) GetNetworkInterfaces

func (x *ComputeEngineTargetDefaults) GetNetworkInterfaces() []*NetworkInterface

func (*ComputeEngineTargetDefaults) GetNetworkTags

func (x *ComputeEngineTargetDefaults) GetNetworkTags() []string

func (*ComputeEngineTargetDefaults) GetSecureBoot

func (x *ComputeEngineTargetDefaults) GetSecureBoot() bool

func (*ComputeEngineTargetDefaults) GetServiceAccount

func (x *ComputeEngineTargetDefaults) GetServiceAccount() string

func (*ComputeEngineTargetDefaults) GetTargetProject

func (x *ComputeEngineTargetDefaults) GetTargetProject() string

func (*ComputeEngineTargetDefaults) GetVmName

func (x *ComputeEngineTargetDefaults) GetVmName() string

func (*ComputeEngineTargetDefaults) GetZone

func (x *ComputeEngineTargetDefaults) GetZone() string

func (*ComputeEngineTargetDefaults) HasAppliedLicense

func (x *ComputeEngineTargetDefaults) HasAppliedLicense() bool

func (*ComputeEngineTargetDefaults) HasComputeScheduling

func (x *ComputeEngineTargetDefaults) HasComputeScheduling() bool

func (*ComputeEngineTargetDefaults) ProtoMessage

func (*ComputeEngineTargetDefaults) ProtoMessage()

func (*ComputeEngineTargetDefaults) ProtoReflect

func (*ComputeEngineTargetDefaults) Reset

func (x *ComputeEngineTargetDefaults) Reset()

func (*ComputeEngineTargetDefaults) SetAdditionalLicenses

func (x *ComputeEngineTargetDefaults) SetAdditionalLicenses(v []string)

func (*ComputeEngineTargetDefaults) SetAppliedLicense

func (x *ComputeEngineTargetDefaults) SetAppliedLicense(v *AppliedLicense)

func (*ComputeEngineTargetDefaults) SetBootOption

func (*ComputeEngineTargetDefaults) SetComputeScheduling

func (x *ComputeEngineTargetDefaults) SetComputeScheduling(v *ComputeScheduling)

func (*ComputeEngineTargetDefaults) SetDiskType

func (*ComputeEngineTargetDefaults) SetHostname

func (x *ComputeEngineTargetDefaults) SetHostname(v string)

func (*ComputeEngineTargetDefaults) SetLabels

func (x *ComputeEngineTargetDefaults) SetLabels(v map[string]string)

func (*ComputeEngineTargetDefaults) SetLicenseType

func (*ComputeEngineTargetDefaults) SetMachineType

func (x *ComputeEngineTargetDefaults) SetMachineType(v string)

func (*ComputeEngineTargetDefaults) SetMachineTypeSeries

func (x *ComputeEngineTargetDefaults) SetMachineTypeSeries(v string)

func (*ComputeEngineTargetDefaults) SetMetadata

func (x *ComputeEngineTargetDefaults) SetMetadata(v map[string]string)

func (*ComputeEngineTargetDefaults) SetNetworkInterfaces

func (x *ComputeEngineTargetDefaults) SetNetworkInterfaces(v []*NetworkInterface)

func (*ComputeEngineTargetDefaults) SetNetworkTags

func (x *ComputeEngineTargetDefaults) SetNetworkTags(v []string)

func (*ComputeEngineTargetDefaults) SetSecureBoot

func (x *ComputeEngineTargetDefaults) SetSecureBoot(v bool)

func (*ComputeEngineTargetDefaults) SetServiceAccount

func (x *ComputeEngineTargetDefaults) SetServiceAccount(v string)

func (*ComputeEngineTargetDefaults) SetTargetProject

func (x *ComputeEngineTargetDefaults) SetTargetProject(v string)

func (*ComputeEngineTargetDefaults) SetVmName

func (x *ComputeEngineTargetDefaults) SetVmName(v string)

func (*ComputeEngineTargetDefaults) SetZone

func (x *ComputeEngineTargetDefaults) SetZone(v string)

func (*ComputeEngineTargetDefaults) String

func (x *ComputeEngineTargetDefaults) String() string

type ComputeEngineTargetDefaults_builder

type ComputeEngineTargetDefaults_builder struct {

	// The name of the VM to create.
	VmName string
	// The full path of the resource of type TargetProject which represents the
	// Compute Engine project in which to create this VM.
	TargetProject string
	// The zone in which to create the VM.
	Zone string
	// The machine type series to create the VM with.
	MachineTypeSeries string
	// The machine type to create the VM with.
	MachineType string
	// A map of network tags to associate with the VM.
	NetworkTags []string
	// List of NICs connected to this VM.
	NetworkInterfaces []*NetworkInterface
	// The service account to associate the VM with.
	ServiceAccount string
	// The disk type to use in the VM.
	DiskType ComputeEngineDiskType
	// A map of labels to associate with the VM.
	Labels map[string]string
	// The license type to use in OS adaptation.
	LicenseType ComputeEngineLicenseType
	// Output only. The OS license returned from the adaptation module report.
	AppliedLicense *AppliedLicense
	// Compute instance scheduling information (if empty default is used).
	ComputeScheduling *ComputeScheduling
	// Defines whether the instance has Secure Boot enabled.
	// This can be set to true only if the vm boot option is EFI.
	SecureBoot bool
	// Output only. The VM Boot Option, as set in the source vm.
	BootOption ComputeEngineBootOption
	// The metadata key/value pairs to assign to the VM.
	Metadata map[string]string
	// Additional licenses to assign to the VM.
	AdditionalLicenses []string
	// The hostname to assign to the VM.
	Hostname string
	// contains filtered or unexported fields
}

func (ComputeEngineTargetDefaults_builder) Build

type ComputeEngineTargetDetails

type ComputeEngineTargetDetails struct {

	// The name of the VM to create.
	VmName string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	// The Google Cloud target project ID or project name.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// The zone in which to create the VM.
	Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	// The machine type series to create the VM with.
	MachineTypeSeries string `protobuf:"bytes,4,opt,name=machine_type_series,json=machineTypeSeries,proto3" json:"machine_type_series,omitempty"`
	// The machine type to create the VM with.
	MachineType string `protobuf:"bytes,5,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// A map of network tags to associate with the VM.
	NetworkTags []string `protobuf:"bytes,6,rep,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"`
	// List of NICs connected to this VM.
	NetworkInterfaces []*NetworkInterface `protobuf:"bytes,7,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
	// The service account to associate the VM with.
	ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// The disk type to use in the VM.
	DiskType ComputeEngineDiskType `` /* 148-byte string literal not displayed */
	// A map of labels to associate with the VM.
	Labels map[string]string `` /* 140-byte string literal not displayed */
	// The license type to use in OS adaptation.
	LicenseType ComputeEngineLicenseType `` /* 161-byte string literal not displayed */
	// The OS license returned from the adaptation module report.
	AppliedLicense *AppliedLicense `protobuf:"bytes,12,opt,name=applied_license,json=appliedLicense,proto3" json:"applied_license,omitempty"`
	// Compute instance scheduling information (if empty default is used).
	ComputeScheduling *ComputeScheduling `protobuf:"bytes,13,opt,name=compute_scheduling,json=computeScheduling,proto3" json:"compute_scheduling,omitempty"`
	// Defines whether the instance has Secure Boot enabled.
	// This can be set to true only if the vm boot option is EFI.
	SecureBoot bool `protobuf:"varint,14,opt,name=secure_boot,json=secureBoot,proto3" json:"secure_boot,omitempty"`
	// The VM Boot Option, as set in the source vm.
	BootOption ComputeEngineBootOption `` /* 157-byte string literal not displayed */
	// The metadata key/value pairs to assign to the VM.
	Metadata map[string]string `` /* 144-byte string literal not displayed */
	// Additional licenses to assign to the VM.
	AdditionalLicenses []string `protobuf:"bytes,17,rep,name=additional_licenses,json=additionalLicenses,proto3" json:"additional_licenses,omitempty"`
	// The hostname to assign to the VM.
	Hostname string `protobuf:"bytes,18,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

func (*ComputeEngineTargetDetails) ClearAppliedLicense

func (x *ComputeEngineTargetDetails) ClearAppliedLicense()

func (*ComputeEngineTargetDetails) ClearComputeScheduling

func (x *ComputeEngineTargetDetails) ClearComputeScheduling()

func (*ComputeEngineTargetDetails) GetAdditionalLicenses

func (x *ComputeEngineTargetDetails) GetAdditionalLicenses() []string

func (*ComputeEngineTargetDetails) GetAppliedLicense

func (x *ComputeEngineTargetDetails) GetAppliedLicense() *AppliedLicense

func (*ComputeEngineTargetDetails) GetBootOption

func (*ComputeEngineTargetDetails) GetComputeScheduling

func (x *ComputeEngineTargetDetails) GetComputeScheduling() *ComputeScheduling

func (*ComputeEngineTargetDetails) GetDiskType

func (*ComputeEngineTargetDetails) GetHostname

func (x *ComputeEngineTargetDetails) GetHostname() string

func (*ComputeEngineTargetDetails) GetLabels

func (x *ComputeEngineTargetDetails) GetLabels() map[string]string

func (*ComputeEngineTargetDetails) GetLicenseType

func (*ComputeEngineTargetDetails) GetMachineType

func (x *ComputeEngineTargetDetails) GetMachineType() string

func (*ComputeEngineTargetDetails) GetMachineTypeSeries

func (x *ComputeEngineTargetDetails) GetMachineTypeSeries() string

func (*ComputeEngineTargetDetails) GetMetadata

func (x *ComputeEngineTargetDetails) GetMetadata() map[string]string

func (*ComputeEngineTargetDetails) GetNetworkInterfaces

func (x *ComputeEngineTargetDetails) GetNetworkInterfaces() []*NetworkInterface

func (*ComputeEngineTargetDetails) GetNetworkTags

func (x *ComputeEngineTargetDetails) GetNetworkTags() []string

func (*ComputeEngineTargetDetails) GetProject

func (x *ComputeEngineTargetDetails) GetProject() string

func (*ComputeEngineTargetDetails) GetSecureBoot

func (x *ComputeEngineTargetDetails) GetSecureBoot() bool

func (*ComputeEngineTargetDetails) GetServiceAccount

func (x *ComputeEngineTargetDetails) GetServiceAccount() string

func (*ComputeEngineTargetDetails) GetVmName

func (x *ComputeEngineTargetDetails) GetVmName() string

func (*ComputeEngineTargetDetails) GetZone

func (x *ComputeEngineTargetDetails) GetZone() string

func (*ComputeEngineTargetDetails) HasAppliedLicense

func (x *ComputeEngineTargetDetails) HasAppliedLicense() bool

func (*ComputeEngineTargetDetails) HasComputeScheduling

func (x *ComputeEngineTargetDetails) HasComputeScheduling() bool

func (*ComputeEngineTargetDetails) ProtoMessage

func (*ComputeEngineTargetDetails) ProtoMessage()

func (*ComputeEngineTargetDetails) ProtoReflect

func (*ComputeEngineTargetDetails) Reset

func (x *ComputeEngineTargetDetails) Reset()

func (*ComputeEngineTargetDetails) SetAdditionalLicenses

func (x *ComputeEngineTargetDetails) SetAdditionalLicenses(v []string)

func (*ComputeEngineTargetDetails) SetAppliedLicense

func (x *ComputeEngineTargetDetails) SetAppliedLicense(v *AppliedLicense)

func (*ComputeEngineTargetDetails) SetBootOption

func (*ComputeEngineTargetDetails) SetComputeScheduling

func (x *ComputeEngineTargetDetails) SetComputeScheduling(v *ComputeScheduling)

func (*ComputeEngineTargetDetails) SetDiskType

func (*ComputeEngineTargetDetails) SetHostname

func (x *ComputeEngineTargetDetails) SetHostname(v string)

func (*ComputeEngineTargetDetails) SetLabels

func (x *ComputeEngineTargetDetails) SetLabels(v map[string]string)

func (*ComputeEngineTargetDetails) SetLicenseType

func (*ComputeEngineTargetDetails) SetMachineType

func (x *ComputeEngineTargetDetails) SetMachineType(v string)

func (*ComputeEngineTargetDetails) SetMachineTypeSeries

func (x *ComputeEngineTargetDetails) SetMachineTypeSeries(v string)

func (*ComputeEngineTargetDetails) SetMetadata

func (x *ComputeEngineTargetDetails) SetMetadata(v map[string]string)

func (*ComputeEngineTargetDetails) SetNetworkInterfaces

func (x *ComputeEngineTargetDetails) SetNetworkInterfaces(v []*NetworkInterface)

func (*ComputeEngineTargetDetails) SetNetworkTags

func (x *ComputeEngineTargetDetails) SetNetworkTags(v []string)

func (*ComputeEngineTargetDetails) SetProject

func (x *ComputeEngineTargetDetails) SetProject(v string)

func (*ComputeEngineTargetDetails) SetSecureBoot

func (x *ComputeEngineTargetDetails) SetSecureBoot(v bool)

func (*ComputeEngineTargetDetails) SetServiceAccount

func (x *ComputeEngineTargetDetails) SetServiceAccount(v string)

func (*ComputeEngineTargetDetails) SetVmName

func (x *ComputeEngineTargetDetails) SetVmName(v string)

func (*ComputeEngineTargetDetails) SetZone

func (x *ComputeEngineTargetDetails) SetZone(v string)

func (*ComputeEngineTargetDetails) String

func (x *ComputeEngineTargetDetails) String() string

type ComputeEngineTargetDetails_builder

type ComputeEngineTargetDetails_builder struct {

	// The name of the VM to create.
	VmName string
	// The Google Cloud target project ID or project name.
	Project string
	// The zone in which to create the VM.
	Zone string
	// The machine type series to create the VM with.
	MachineTypeSeries string
	// The machine type to create the VM with.
	MachineType string
	// A map of network tags to associate with the VM.
	NetworkTags []string
	// List of NICs connected to this VM.
	NetworkInterfaces []*NetworkInterface
	// The service account to associate the VM with.
	ServiceAccount string
	// The disk type to use in the VM.
	DiskType ComputeEngineDiskType
	// A map of labels to associate with the VM.
	Labels map[string]string
	// The license type to use in OS adaptation.
	LicenseType ComputeEngineLicenseType
	// The OS license returned from the adaptation module report.
	AppliedLicense *AppliedLicense
	// Compute instance scheduling information (if empty default is used).
	ComputeScheduling *ComputeScheduling
	// Defines whether the instance has Secure Boot enabled.
	// This can be set to true only if the vm boot option is EFI.
	SecureBoot bool
	// The VM Boot Option, as set in the source vm.
	BootOption ComputeEngineBootOption
	// The metadata key/value pairs to assign to the VM.
	Metadata map[string]string
	// Additional licenses to assign to the VM.
	AdditionalLicenses []string
	// The hostname to assign to the VM.
	Hostname string
	// contains filtered or unexported fields
}

func (ComputeEngineTargetDetails_builder) Build

type ComputeScheduling

type ComputeScheduling struct {

	// How the instance should behave when the host machine undergoes
	// maintenance that may temporarily impact instance performance.
	OnHostMaintenance ComputeScheduling_OnHostMaintenance `` /* 191-byte string literal not displayed */
	// Whether the Instance should be automatically restarted whenever it is
	// terminated by Compute Engine (not terminated by user).
	// This configuration is identical to `automaticRestart` field in Compute
	// Engine create instance under scheduling.
	// It was changed to an enum (instead of a boolean) to match the default
	// value in Compute Engine which is automatic restart.
	RestartType ComputeScheduling_RestartType `` /* 165-byte string literal not displayed */
	// A set of node affinity and anti-affinity configurations for sole tenant
	// nodes.
	NodeAffinities []*SchedulingNodeAffinity `protobuf:"bytes,3,rep,name=node_affinities,json=nodeAffinities,proto3" json:"node_affinities,omitempty"`
	// The minimum number of virtual CPUs this instance will consume when
	// running on a sole-tenant node. Ignored if no node_affinites are
	// configured.
	MinNodeCpus int32 `protobuf:"varint,4,opt,name=min_node_cpus,json=minNodeCpus,proto3" json:"min_node_cpus,omitempty"`
	// contains filtered or unexported fields
}

Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.

func (*ComputeScheduling) GetMinNodeCpus

func (x *ComputeScheduling) GetMinNodeCpus() int32

func (*ComputeScheduling) GetNodeAffinities

func (x *ComputeScheduling) GetNodeAffinities() []*SchedulingNodeAffinity

func (*ComputeScheduling) GetOnHostMaintenance

func (x *ComputeScheduling) GetOnHostMaintenance() ComputeScheduling_OnHostMaintenance

func (*ComputeScheduling) GetRestartType

func (*ComputeScheduling) ProtoMessage

func (*ComputeScheduling) ProtoMessage()

func (*ComputeScheduling) ProtoReflect

func (x *ComputeScheduling) ProtoReflect() protoreflect.Message

func (*ComputeScheduling) Reset

func (x *ComputeScheduling) Reset()

func (*ComputeScheduling) SetMinNodeCpus

func (x *ComputeScheduling) SetMinNodeCpus(v int32)

func (*ComputeScheduling) SetNodeAffinities

func (x *ComputeScheduling) SetNodeAffinities(v []*SchedulingNodeAffinity)

func (*ComputeScheduling) SetOnHostMaintenance

func (x *ComputeScheduling) SetOnHostMaintenance(v ComputeScheduling_OnHostMaintenance)

func (*ComputeScheduling) SetRestartType

func (x *ComputeScheduling) SetRestartType(v ComputeScheduling_RestartType)

func (*ComputeScheduling) String

func (x *ComputeScheduling) String() string

type ComputeScheduling_OnHostMaintenance

type ComputeScheduling_OnHostMaintenance int32
const (
	// An unknown, unexpected behavior.
	ComputeScheduling_ON_HOST_MAINTENANCE_UNSPECIFIED ComputeScheduling_OnHostMaintenance = 0
	// Terminate the instance when the host machine undergoes maintenance.
	ComputeScheduling_TERMINATE ComputeScheduling_OnHostMaintenance = 1
	// Migrate the instance when the host machine undergoes maintenance.
	ComputeScheduling_MIGRATE ComputeScheduling_OnHostMaintenance = 2
)

func (ComputeScheduling_OnHostMaintenance) Descriptor

func (ComputeScheduling_OnHostMaintenance) Enum

func (ComputeScheduling_OnHostMaintenance) Number

func (ComputeScheduling_OnHostMaintenance) String

func (ComputeScheduling_OnHostMaintenance) Type

type ComputeScheduling_RestartType

type ComputeScheduling_RestartType int32

Defines whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).

const (
	// Unspecified behavior. This will use the default.
	ComputeScheduling_RESTART_TYPE_UNSPECIFIED ComputeScheduling_RestartType = 0
	// The Instance should be automatically restarted whenever it is
	// terminated by Compute Engine.
	ComputeScheduling_AUTOMATIC_RESTART ComputeScheduling_RestartType = 1
	// The Instance isn't automatically restarted whenever it is
	// terminated by Compute Engine.
	ComputeScheduling_NO_AUTOMATIC_RESTART ComputeScheduling_RestartType = 2
)

func (ComputeScheduling_RestartType) Descriptor

func (ComputeScheduling_RestartType) Enum

func (ComputeScheduling_RestartType) Number

func (ComputeScheduling_RestartType) String

func (ComputeScheduling_RestartType) Type

type ComputeScheduling_builder

type ComputeScheduling_builder struct {

	// How the instance should behave when the host machine undergoes
	// maintenance that may temporarily impact instance performance.
	OnHostMaintenance ComputeScheduling_OnHostMaintenance
	// Whether the Instance should be automatically restarted whenever it is
	// terminated by Compute Engine (not terminated by user).
	// This configuration is identical to `automaticRestart` field in Compute
	// Engine create instance under scheduling.
	// It was changed to an enum (instead of a boolean) to match the default
	// value in Compute Engine which is automatic restart.
	RestartType ComputeScheduling_RestartType
	// A set of node affinity and anti-affinity configurations for sole tenant
	// nodes.
	NodeAffinities []*SchedulingNodeAffinity
	// The minimum number of virtual CPUs this instance will consume when
	// running on a sole-tenant node. Ignored if no node_affinites are
	// configured.
	MinNodeCpus int32
	// contains filtered or unexported fields
}

func (ComputeScheduling_builder) Build

type CutoverForecast

type CutoverForecast struct {

	// Output only. Estimation of the CutoverJob duration.
	EstimatedCutoverJobDuration *durationpb.Duration `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

CutoverForecast holds information about future CutoverJobs of a MigratingVm.

func (*CutoverForecast) ClearEstimatedCutoverJobDuration

func (x *CutoverForecast) ClearEstimatedCutoverJobDuration()

func (*CutoverForecast) GetEstimatedCutoverJobDuration

func (x *CutoverForecast) GetEstimatedCutoverJobDuration() *durationpb.Duration

func (*CutoverForecast) HasEstimatedCutoverJobDuration

func (x *CutoverForecast) HasEstimatedCutoverJobDuration() bool

func (*CutoverForecast) ProtoMessage

func (*CutoverForecast) ProtoMessage()

func (*CutoverForecast) ProtoReflect

func (x *CutoverForecast) ProtoReflect() protoreflect.Message

func (*CutoverForecast) Reset

func (x *CutoverForecast) Reset()

func (*CutoverForecast) SetEstimatedCutoverJobDuration

func (x *CutoverForecast) SetEstimatedCutoverJobDuration(v *durationpb.Duration)

func (*CutoverForecast) String

func (x *CutoverForecast) String() string

type CutoverForecast_builder

type CutoverForecast_builder struct {

	// Output only. Estimation of the CutoverJob duration.
	EstimatedCutoverJobDuration *durationpb.Duration
	// contains filtered or unexported fields
}

func (CutoverForecast_builder) Build

type CutoverJob

type CutoverJob struct {

	// Details of the VM to create as the target of this cutover job.
	//
	// Types that are valid to be assigned to TargetVmDetails:
	//
	//	*CutoverJob_ComputeEngineTargetDetails
	TargetVmDetails isCutoverJob_TargetVmDetails `protobuf_oneof:"target_vm_details"`
	// Output only. The time the cutover job was created (as an API call, not when
	// it was actually created in the target).
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the cutover job had finished.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. The name of the cutover job.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. State of the cutover job.
	State CutoverJob_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.events.cloud.vmmigration.v1.CutoverJob_State" json:"state,omitempty"`
	// Output only. The time the state was last updated.
	StateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=state_time,json=stateTime,proto3" json:"state_time,omitempty"`
	// Output only. The current progress in percentage of the cutover job.
	ProgressPercent int32 `protobuf:"varint,13,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// Output only. Provides details for the errors that led to the Cutover Job's
	// state.
	Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. A message providing possible extra details about the current
	// state.
	StateMessage string `protobuf:"bytes,10,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
	// Output only. The cutover steps list representing its progress.
	Steps []*CutoverStep `protobuf:"bytes,17,rep,name=steps,proto3" json:"steps,omitempty"`
	// contains filtered or unexported fields
}

CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.

func (*CutoverJob) ClearComputeEngineTargetDetails

func (x *CutoverJob) ClearComputeEngineTargetDetails()

func (*CutoverJob) ClearCreateTime

func (x *CutoverJob) ClearCreateTime()

func (*CutoverJob) ClearEndTime

func (x *CutoverJob) ClearEndTime()

func (*CutoverJob) ClearError

func (x *CutoverJob) ClearError()

func (*CutoverJob) ClearStateTime

func (x *CutoverJob) ClearStateTime()

func (*CutoverJob) ClearTargetVmDetails

func (x *CutoverJob) ClearTargetVmDetails()

func (*CutoverJob) GetComputeEngineTargetDetails

func (x *CutoverJob) GetComputeEngineTargetDetails() *ComputeEngineTargetDetails

func (*CutoverJob) GetCreateTime

func (x *CutoverJob) GetCreateTime() *timestamppb.Timestamp

func (*CutoverJob) GetEndTime

func (x *CutoverJob) GetEndTime() *timestamppb.Timestamp

func (*CutoverJob) GetError

func (x *CutoverJob) GetError() *status.Status

func (*CutoverJob) GetName

func (x *CutoverJob) GetName() string

func (*CutoverJob) GetProgressPercent

func (x *CutoverJob) GetProgressPercent() int32

func (*CutoverJob) GetState

func (x *CutoverJob) GetState() CutoverJob_State

func (*CutoverJob) GetStateMessage

func (x *CutoverJob) GetStateMessage() string

func (*CutoverJob) GetStateTime

func (x *CutoverJob) GetStateTime() *timestamppb.Timestamp

func (*CutoverJob) GetSteps

func (x *CutoverJob) GetSteps() []*CutoverStep

func (*CutoverJob) GetTargetVmDetails

func (x *CutoverJob) GetTargetVmDetails() isCutoverJob_TargetVmDetails

func (*CutoverJob) HasComputeEngineTargetDetails

func (x *CutoverJob) HasComputeEngineTargetDetails() bool

func (*CutoverJob) HasCreateTime

func (x *CutoverJob) HasCreateTime() bool

func (*CutoverJob) HasEndTime

func (x *CutoverJob) HasEndTime() bool

func (*CutoverJob) HasError

func (x *CutoverJob) HasError() bool

func (*CutoverJob) HasStateTime

func (x *CutoverJob) HasStateTime() bool

func (*CutoverJob) HasTargetVmDetails

func (x *CutoverJob) HasTargetVmDetails() bool

func (*CutoverJob) ProtoMessage

func (*CutoverJob) ProtoMessage()

func (*CutoverJob) ProtoReflect

func (x *CutoverJob) ProtoReflect() protoreflect.Message

func (*CutoverJob) Reset

func (x *CutoverJob) Reset()

func (*CutoverJob) SetComputeEngineTargetDetails

func (x *CutoverJob) SetComputeEngineTargetDetails(v *ComputeEngineTargetDetails)

func (*CutoverJob) SetCreateTime

func (x *CutoverJob) SetCreateTime(v *timestamppb.Timestamp)

func (*CutoverJob) SetEndTime

func (x *CutoverJob) SetEndTime(v *timestamppb.Timestamp)

func (*CutoverJob) SetError

func (x *CutoverJob) SetError(v *status.Status)

func (*CutoverJob) SetName

func (x *CutoverJob) SetName(v string)

func (*CutoverJob) SetProgressPercent

func (x *CutoverJob) SetProgressPercent(v int32)

func (*CutoverJob) SetState

func (x *CutoverJob) SetState(v CutoverJob_State)

func (*CutoverJob) SetStateMessage

func (x *CutoverJob) SetStateMessage(v string)

func (*CutoverJob) SetStateTime

func (x *CutoverJob) SetStateTime(v *timestamppb.Timestamp)

func (*CutoverJob) SetSteps

func (x *CutoverJob) SetSteps(v []*CutoverStep)

func (*CutoverJob) String

func (x *CutoverJob) String() string

func (*CutoverJob) WhichTargetVmDetails

func (x *CutoverJob) WhichTargetVmDetails() case_CutoverJob_TargetVmDetails

type CutoverJobCreatedEvent

type CutoverJobCreatedEvent struct {

	// The data associated with the event.
	Data *CutoverJobEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a CutoverJob is created.

func (*CutoverJobCreatedEvent) ClearData

func (x *CutoverJobCreatedEvent) ClearData()

func (*CutoverJobCreatedEvent) GetData

func (*CutoverJobCreatedEvent) HasData

func (x *CutoverJobCreatedEvent) HasData() bool

func (*CutoverJobCreatedEvent) ProtoMessage

func (*CutoverJobCreatedEvent) ProtoMessage()

func (*CutoverJobCreatedEvent) ProtoReflect

func (x *CutoverJobCreatedEvent) ProtoReflect() protoreflect.Message

func (*CutoverJobCreatedEvent) Reset

func (x *CutoverJobCreatedEvent) Reset()

func (*CutoverJobCreatedEvent) SetData

func (*CutoverJobCreatedEvent) String

func (x *CutoverJobCreatedEvent) String() string

type CutoverJobCreatedEvent_builder

type CutoverJobCreatedEvent_builder struct {

	// The data associated with the event.
	Data *CutoverJobEventData
	// contains filtered or unexported fields
}

func (CutoverJobCreatedEvent_builder) Build

type CutoverJobEventData

type CutoverJobEventData struct {

	// The CutoverJob event payload.
	Payload *CutoverJob `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all CutoverJob events.

func (*CutoverJobEventData) ClearPayload

func (x *CutoverJobEventData) ClearPayload()

func (*CutoverJobEventData) GetPayload

func (x *CutoverJobEventData) GetPayload() *CutoverJob

func (*CutoverJobEventData) HasPayload

func (x *CutoverJobEventData) HasPayload() bool

func (*CutoverJobEventData) ProtoMessage

func (*CutoverJobEventData) ProtoMessage()

func (*CutoverJobEventData) ProtoReflect

func (x *CutoverJobEventData) ProtoReflect() protoreflect.Message

func (*CutoverJobEventData) Reset

func (x *CutoverJobEventData) Reset()

func (*CutoverJobEventData) SetPayload

func (x *CutoverJobEventData) SetPayload(v *CutoverJob)

func (*CutoverJobEventData) String

func (x *CutoverJobEventData) String() string

type CutoverJobEventData_builder

type CutoverJobEventData_builder struct {

	// The CutoverJob event payload.
	Payload *CutoverJob
	// contains filtered or unexported fields
}

func (CutoverJobEventData_builder) Build

type CutoverJob_ComputeEngineTargetDetails

type CutoverJob_ComputeEngineTargetDetails struct {
	// Output only. Details of the target VM in Compute Engine.
	ComputeEngineTargetDetails *ComputeEngineTargetDetails `protobuf:"bytes,14,opt,name=compute_engine_target_details,json=computeEngineTargetDetails,proto3,oneof"`
}

type CutoverJob_State

type CutoverJob_State int32

Possible states of the cutover job.

const (
	// The state is unknown. This is used for API compatibility only and is not
	// used by the system.
	CutoverJob_STATE_UNSPECIFIED CutoverJob_State = 0
	// The cutover job has not yet started.
	CutoverJob_PENDING CutoverJob_State = 1
	// The cutover job finished with errors.
	CutoverJob_FAILED CutoverJob_State = 2
	// The cutover job finished successfully.
	CutoverJob_SUCCEEDED CutoverJob_State = 3
	// The cutover job was cancelled.
	CutoverJob_CANCELLED CutoverJob_State = 4
	// The cutover job is being cancelled.
	CutoverJob_CANCELLING CutoverJob_State = 5
	// The cutover job is active and running.
	CutoverJob_ACTIVE CutoverJob_State = 6
	// OS adaptation is running as part of the cutover job to generate license.
	CutoverJob_ADAPTING_OS CutoverJob_State = 7
)

func (CutoverJob_State) Descriptor

func (CutoverJob_State) Enum

func (CutoverJob_State) Number

func (CutoverJob_State) String

func (x CutoverJob_State) String() string

func (CutoverJob_State) Type

type CutoverJob_builder

type CutoverJob_builder struct {

	// Fields of oneof TargetVmDetails:
	// Output only. Details of the target VM in Compute Engine.
	ComputeEngineTargetDetails *ComputeEngineTargetDetails
	// -- end of TargetVmDetails
	// Output only. The time the cutover job was created (as an API call, not when
	// it was actually created in the target).
	CreateTime *timestamppb.Timestamp
	// Output only. The time the cutover job had finished.
	EndTime *timestamppb.Timestamp
	// Output only. The name of the cutover job.
	Name string
	// Output only. State of the cutover job.
	State CutoverJob_State
	// Output only. The time the state was last updated.
	StateTime *timestamppb.Timestamp
	// Output only. The current progress in percentage of the cutover job.
	ProgressPercent int32
	// Output only. Provides details for the errors that led to the Cutover Job's
	// state.
	Error *status.Status
	// Output only. A message providing possible extra details about the current
	// state.
	StateMessage string
	// Output only. The cutover steps list representing its progress.
	Steps []*CutoverStep
	// contains filtered or unexported fields
}

func (CutoverJob_builder) Build

func (b0 CutoverJob_builder) Build() *CutoverJob

type CutoverStep

type CutoverStep struct {

	// Types that are valid to be assigned to Step:
	//
	//	*CutoverStep_PreviousReplicationCycle
	//	*CutoverStep_ShuttingDownSourceVm
	//	*CutoverStep_FinalSync
	//	*CutoverStep_PreparingVmDisks
	//	*CutoverStep_InstantiatingMigratedVm
	Step isCutoverStep_Step `protobuf_oneof:"step"`
	// The time the step has started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the step has ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

CutoverStep holds information about the cutover step progress.

func (*CutoverStep) ClearEndTime

func (x *CutoverStep) ClearEndTime()

func (*CutoverStep) ClearFinalSync

func (x *CutoverStep) ClearFinalSync()

func (*CutoverStep) ClearInstantiatingMigratedVm

func (x *CutoverStep) ClearInstantiatingMigratedVm()

func (*CutoverStep) ClearPreparingVmDisks

func (x *CutoverStep) ClearPreparingVmDisks()

func (*CutoverStep) ClearPreviousReplicationCycle

func (x *CutoverStep) ClearPreviousReplicationCycle()

func (*CutoverStep) ClearShuttingDownSourceVm

func (x *CutoverStep) ClearShuttingDownSourceVm()

func (*CutoverStep) ClearStartTime

func (x *CutoverStep) ClearStartTime()

func (*CutoverStep) ClearStep

func (x *CutoverStep) ClearStep()

func (*CutoverStep) GetEndTime

func (x *CutoverStep) GetEndTime() *timestamppb.Timestamp

func (*CutoverStep) GetFinalSync

func (x *CutoverStep) GetFinalSync() *ReplicationCycle

func (*CutoverStep) GetInstantiatingMigratedVm

func (x *CutoverStep) GetInstantiatingMigratedVm() *InstantiatingMigratedVMStep

func (*CutoverStep) GetPreparingVmDisks

func (x *CutoverStep) GetPreparingVmDisks() *PreparingVMDisksStep

func (*CutoverStep) GetPreviousReplicationCycle

func (x *CutoverStep) GetPreviousReplicationCycle() *ReplicationCycle

func (*CutoverStep) GetShuttingDownSourceVm

func (x *CutoverStep) GetShuttingDownSourceVm() *ShuttingDownSourceVMStep

func (*CutoverStep) GetStartTime

func (x *CutoverStep) GetStartTime() *timestamppb.Timestamp

func (*CutoverStep) GetStep

func (x *CutoverStep) GetStep() isCutoverStep_Step

func (*CutoverStep) HasEndTime

func (x *CutoverStep) HasEndTime() bool

func (*CutoverStep) HasFinalSync

func (x *CutoverStep) HasFinalSync() bool

func (*CutoverStep) HasInstantiatingMigratedVm

func (x *CutoverStep) HasInstantiatingMigratedVm() bool

func (*CutoverStep) HasPreparingVmDisks

func (x *CutoverStep) HasPreparingVmDisks() bool

func (*CutoverStep) HasPreviousReplicationCycle

func (x *CutoverStep) HasPreviousReplicationCycle() bool

func (*CutoverStep) HasShuttingDownSourceVm

func (x *CutoverStep) HasShuttingDownSourceVm() bool

func (*CutoverStep) HasStartTime

func (x *CutoverStep) HasStartTime() bool

func (*CutoverStep) HasStep

func (x *CutoverStep) HasStep() bool

func (*CutoverStep) ProtoMessage

func (*CutoverStep) ProtoMessage()

func (*CutoverStep) ProtoReflect

func (x *CutoverStep) ProtoReflect() protoreflect.Message

func (*CutoverStep) Reset

func (x *CutoverStep) Reset()

func (*CutoverStep) SetEndTime

func (x *CutoverStep) SetEndTime(v *timestamppb.Timestamp)

func (*CutoverStep) SetFinalSync

func (x *CutoverStep) SetFinalSync(v *ReplicationCycle)

func (*CutoverStep) SetInstantiatingMigratedVm

func (x *CutoverStep) SetInstantiatingMigratedVm(v *InstantiatingMigratedVMStep)

func (*CutoverStep) SetPreparingVmDisks

func (x *CutoverStep) SetPreparingVmDisks(v *PreparingVMDisksStep)

func (*CutoverStep) SetPreviousReplicationCycle

func (x *CutoverStep) SetPreviousReplicationCycle(v *ReplicationCycle)

func (*CutoverStep) SetShuttingDownSourceVm

func (x *CutoverStep) SetShuttingDownSourceVm(v *ShuttingDownSourceVMStep)

func (*CutoverStep) SetStartTime

func (x *CutoverStep) SetStartTime(v *timestamppb.Timestamp)

func (*CutoverStep) String

func (x *CutoverStep) String() string

func (*CutoverStep) WhichStep

func (x *CutoverStep) WhichStep() case_CutoverStep_Step

type CutoverStep_FinalSync

type CutoverStep_FinalSync struct {
	// Final sync step.
	FinalSync *ReplicationCycle `protobuf:"bytes,5,opt,name=final_sync,json=finalSync,proto3,oneof"`
}

type CutoverStep_InstantiatingMigratedVm

type CutoverStep_InstantiatingMigratedVm struct {
	// Instantiating migrated VM step.
	InstantiatingMigratedVm *InstantiatingMigratedVMStep `protobuf:"bytes,7,opt,name=instantiating_migrated_vm,json=instantiatingMigratedVm,proto3,oneof"`
}

type CutoverStep_PreparingVmDisks

type CutoverStep_PreparingVmDisks struct {
	// Preparing VM disks step.
	PreparingVmDisks *PreparingVMDisksStep `protobuf:"bytes,6,opt,name=preparing_vm_disks,json=preparingVmDisks,proto3,oneof"`
}

type CutoverStep_PreviousReplicationCycle

type CutoverStep_PreviousReplicationCycle struct {
	// A replication cycle prior cutover step.
	PreviousReplicationCycle *ReplicationCycle `protobuf:"bytes,3,opt,name=previous_replication_cycle,json=previousReplicationCycle,proto3,oneof"`
}

type CutoverStep_ShuttingDownSourceVm

type CutoverStep_ShuttingDownSourceVm struct {
	// Shutting down VM step.
	ShuttingDownSourceVm *ShuttingDownSourceVMStep `protobuf:"bytes,4,opt,name=shutting_down_source_vm,json=shuttingDownSourceVm,proto3,oneof"`
}

type CutoverStep_builder

type CutoverStep_builder struct {

	// Fields of oneof Step:
	// A replication cycle prior cutover step.
	PreviousReplicationCycle *ReplicationCycle
	// Shutting down VM step.
	ShuttingDownSourceVm *ShuttingDownSourceVMStep
	// Final sync step.
	FinalSync *ReplicationCycle
	// Preparing VM disks step.
	PreparingVmDisks *PreparingVMDisksStep
	// Instantiating migrated VM step.
	InstantiatingMigratedVm *InstantiatingMigratedVMStep
	// -- end of Step
	// The time the step has started.
	StartTime *timestamppb.Timestamp
	// The time the step has ended.
	EndTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (CutoverStep_builder) Build

func (b0 CutoverStep_builder) Build() *CutoverStep

type CycleStep

type CycleStep struct {

	// Types that are valid to be assigned to Step:
	//
	//	*CycleStep_InitializingReplication
	//	*CycleStep_Replicating
	//	*CycleStep_PostProcessing
	Step isCycleStep_Step `protobuf_oneof:"step"`
	// The time the cycle step has started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the cycle step has ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

CycleStep holds information about a step progress.

func (*CycleStep) ClearEndTime

func (x *CycleStep) ClearEndTime()

func (*CycleStep) ClearInitializingReplication

func (x *CycleStep) ClearInitializingReplication()

func (*CycleStep) ClearPostProcessing

func (x *CycleStep) ClearPostProcessing()

func (*CycleStep) ClearReplicating

func (x *CycleStep) ClearReplicating()

func (*CycleStep) ClearStartTime

func (x *CycleStep) ClearStartTime()

func (*CycleStep) ClearStep

func (x *CycleStep) ClearStep()

func (*CycleStep) GetEndTime

func (x *CycleStep) GetEndTime() *timestamppb.Timestamp

func (*CycleStep) GetInitializingReplication

func (x *CycleStep) GetInitializingReplication() *InitializingReplicationStep

func (*CycleStep) GetPostProcessing

func (x *CycleStep) GetPostProcessing() *PostProcessingStep

func (*CycleStep) GetReplicating

func (x *CycleStep) GetReplicating() *ReplicatingStep

func (*CycleStep) GetStartTime

func (x *CycleStep) GetStartTime() *timestamppb.Timestamp

func (*CycleStep) GetStep

func (x *CycleStep) GetStep() isCycleStep_Step

func (*CycleStep) HasEndTime

func (x *CycleStep) HasEndTime() bool

func (*CycleStep) HasInitializingReplication

func (x *CycleStep) HasInitializingReplication() bool

func (*CycleStep) HasPostProcessing

func (x *CycleStep) HasPostProcessing() bool

func (*CycleStep) HasReplicating

func (x *CycleStep) HasReplicating() bool

func (*CycleStep) HasStartTime

func (x *CycleStep) HasStartTime() bool

func (*CycleStep) HasStep

func (x *CycleStep) HasStep() bool

func (*CycleStep) ProtoMessage

func (*CycleStep) ProtoMessage()

func (*CycleStep) ProtoReflect

func (x *CycleStep) ProtoReflect() protoreflect.Message

func (*CycleStep) Reset

func (x *CycleStep) Reset()

func (*CycleStep) SetEndTime

func (x *CycleStep) SetEndTime(v *timestamppb.Timestamp)

func (*CycleStep) SetInitializingReplication

func (x *CycleStep) SetInitializingReplication(v *InitializingReplicationStep)

func (*CycleStep) SetPostProcessing

func (x *CycleStep) SetPostProcessing(v *PostProcessingStep)

func (*CycleStep) SetReplicating

func (x *CycleStep) SetReplicating(v *ReplicatingStep)

func (*CycleStep) SetStartTime

func (x *CycleStep) SetStartTime(v *timestamppb.Timestamp)

func (*CycleStep) String

func (x *CycleStep) String() string

func (*CycleStep) WhichStep

func (x *CycleStep) WhichStep() case_CycleStep_Step

type CycleStep_InitializingReplication

type CycleStep_InitializingReplication struct {
	// Initializing replication step.
	InitializingReplication *InitializingReplicationStep `protobuf:"bytes,3,opt,name=initializing_replication,json=initializingReplication,proto3,oneof"`
}

type CycleStep_PostProcessing

type CycleStep_PostProcessing struct {
	// Post processing step.
	PostProcessing *PostProcessingStep `protobuf:"bytes,5,opt,name=post_processing,json=postProcessing,proto3,oneof"`
}

type CycleStep_Replicating

type CycleStep_Replicating struct {
	// Replicating step.
	Replicating *ReplicatingStep `protobuf:"bytes,4,opt,name=replicating,proto3,oneof"`
}

type CycleStep_builder

type CycleStep_builder struct {

	// Fields of oneof Step:
	// Initializing replication step.
	InitializingReplication *InitializingReplicationStep
	// Replicating step.
	Replicating *ReplicatingStep
	// Post processing step.
	PostProcessing *PostProcessingStep
	// -- end of Step
	// The time the cycle step has started.
	StartTime *timestamppb.Timestamp
	// The time the cycle step has ended.
	EndTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (CycleStep_builder) Build

func (b0 CycleStep_builder) Build() *CycleStep

type DatacenterConnector

type DatacenterConnector struct {

	// Output only. The time the connector was created (as an API call, not when
	// it was actually installed).
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last time the connector was updated with an API call.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The connector's name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Immutable. A unique key for this connector. This key is internal to the OVA
	// connector and is supplied with its creation during the registration process
	// and can not be modified.
	RegistrationId string `protobuf:"bytes,12,opt,name=registration_id,json=registrationId,proto3" json:"registration_id,omitempty"`
	// The service account to use in the connector when communicating with the
	// cloud.
	ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// The version running in the DatacenterConnector. This is supplied by the OVA
	// connector during the registration process and can not be modified.
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// Output only. The communication channel between the datacenter connector and
	// Google Cloud.
	Bucket string `protobuf:"bytes,10,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Output only. State of the DatacenterConnector, as determined by the health
	// checks.
	State DatacenterConnector_State `` /* 130-byte string literal not displayed */
	// Output only. The time the state was last set.
	StateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=state_time,json=stateTime,proto3" json:"state_time,omitempty"`
	// Output only. Provides details on the state of the Datacenter Connector in
	// case of an error.
	Error *status.Status `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. Appliance OVA version.
	// This is the OVA which is manually installed by the user and contains the
	// infrastructure for the automatically updatable components on the appliance.
	ApplianceInfrastructureVersion string `` /* 154-byte string literal not displayed */
	// Output only. Appliance last installed update bundle version.
	// This is the version of the automatically updatable components on the
	// appliance.
	ApplianceSoftwareVersion string `` /* 136-byte string literal not displayed */
	// Output only. The available versions for updating this appliance.
	AvailableVersions *AvailableUpdates `protobuf:"bytes,15,opt,name=available_versions,json=availableVersions,proto3" json:"available_versions,omitempty"`
	// Output only. The status of the current / last upgradeAppliance operation.
	UpgradeStatus *UpgradeStatus `protobuf:"bytes,16,opt,name=upgrade_status,json=upgradeStatus,proto3" json:"upgrade_status,omitempty"`
	// contains filtered or unexported fields
}

DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.

func (*DatacenterConnector) ClearAvailableVersions

func (x *DatacenterConnector) ClearAvailableVersions()

func (*DatacenterConnector) ClearCreateTime

func (x *DatacenterConnector) ClearCreateTime()

func (*DatacenterConnector) ClearError

func (x *DatacenterConnector) ClearError()

func (*DatacenterConnector) ClearStateTime

func (x *DatacenterConnector) ClearStateTime()

func (*DatacenterConnector) ClearUpdateTime

func (x *DatacenterConnector) ClearUpdateTime()

func (*DatacenterConnector) ClearUpgradeStatus

func (x *DatacenterConnector) ClearUpgradeStatus()

func (*DatacenterConnector) GetApplianceInfrastructureVersion

func (x *DatacenterConnector) GetApplianceInfrastructureVersion() string

func (*DatacenterConnector) GetApplianceSoftwareVersion

func (x *DatacenterConnector) GetApplianceSoftwareVersion() string

func (*DatacenterConnector) GetAvailableVersions

func (x *DatacenterConnector) GetAvailableVersions() *AvailableUpdates

func (*DatacenterConnector) GetBucket

func (x *DatacenterConnector) GetBucket() string

func (*DatacenterConnector) GetCreateTime

func (x *DatacenterConnector) GetCreateTime() *timestamppb.Timestamp

func (*DatacenterConnector) GetError

func (x *DatacenterConnector) GetError() *status.Status

func (*DatacenterConnector) GetName

func (x *DatacenterConnector) GetName() string

func (*DatacenterConnector) GetRegistrationId

func (x *DatacenterConnector) GetRegistrationId() string

func (*DatacenterConnector) GetServiceAccount

func (x *DatacenterConnector) GetServiceAccount() string

func (*DatacenterConnector) GetState

func (*DatacenterConnector) GetStateTime

func (x *DatacenterConnector) GetStateTime() *timestamppb.Timestamp

func (*DatacenterConnector) GetUpdateTime

func (x *DatacenterConnector) GetUpdateTime() *timestamppb.Timestamp

func (*DatacenterConnector) GetUpgradeStatus

func (x *DatacenterConnector) GetUpgradeStatus() *UpgradeStatus

func (*DatacenterConnector) GetVersion

func (x *DatacenterConnector) GetVersion() string

func (*DatacenterConnector) HasAvailableVersions

func (x *DatacenterConnector) HasAvailableVersions() bool

func (*DatacenterConnector) HasCreateTime

func (x *DatacenterConnector) HasCreateTime() bool

func (*DatacenterConnector) HasError

func (x *DatacenterConnector) HasError() bool

func (*DatacenterConnector) HasStateTime

func (x *DatacenterConnector) HasStateTime() bool

func (*DatacenterConnector) HasUpdateTime

func (x *DatacenterConnector) HasUpdateTime() bool

func (*DatacenterConnector) HasUpgradeStatus

func (x *DatacenterConnector) HasUpgradeStatus() bool

func (*DatacenterConnector) ProtoMessage

func (*DatacenterConnector) ProtoMessage()

func (*DatacenterConnector) ProtoReflect

func (x *DatacenterConnector) ProtoReflect() protoreflect.Message

func (*DatacenterConnector) Reset

func (x *DatacenterConnector) Reset()

func (*DatacenterConnector) SetApplianceInfrastructureVersion

func (x *DatacenterConnector) SetApplianceInfrastructureVersion(v string)

func (*DatacenterConnector) SetApplianceSoftwareVersion

func (x *DatacenterConnector) SetApplianceSoftwareVersion(v string)

func (*DatacenterConnector) SetAvailableVersions

func (x *DatacenterConnector) SetAvailableVersions(v *AvailableUpdates)

func (*DatacenterConnector) SetBucket

func (x *DatacenterConnector) SetBucket(v string)

func (*DatacenterConnector) SetCreateTime

func (x *DatacenterConnector) SetCreateTime(v *timestamppb.Timestamp)

func (*DatacenterConnector) SetError

func (x *DatacenterConnector) SetError(v *status.Status)

func (*DatacenterConnector) SetName

func (x *DatacenterConnector) SetName(v string)

func (*DatacenterConnector) SetRegistrationId

func (x *DatacenterConnector) SetRegistrationId(v string)

func (*DatacenterConnector) SetServiceAccount

func (x *DatacenterConnector) SetServiceAccount(v string)

func (*DatacenterConnector) SetState

func (*DatacenterConnector) SetStateTime

func (x *DatacenterConnector) SetStateTime(v *timestamppb.Timestamp)

func (*DatacenterConnector) SetUpdateTime

func (x *DatacenterConnector) SetUpdateTime(v *timestamppb.Timestamp)

func (*DatacenterConnector) SetUpgradeStatus

func (x *DatacenterConnector) SetUpgradeStatus(v *UpgradeStatus)

func (*DatacenterConnector) SetVersion

func (x *DatacenterConnector) SetVersion(v string)

func (*DatacenterConnector) String

func (x *DatacenterConnector) String() string

type DatacenterConnectorCreatedEvent

type DatacenterConnectorCreatedEvent struct {

	// The data associated with the event.
	Data *DatacenterConnectorEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DatacenterConnector is created.

func (*DatacenterConnectorCreatedEvent) ClearData

func (x *DatacenterConnectorCreatedEvent) ClearData()

func (*DatacenterConnectorCreatedEvent) GetData

func (*DatacenterConnectorCreatedEvent) HasData

func (*DatacenterConnectorCreatedEvent) ProtoMessage

func (*DatacenterConnectorCreatedEvent) ProtoMessage()

func (*DatacenterConnectorCreatedEvent) ProtoReflect

func (*DatacenterConnectorCreatedEvent) Reset

func (*DatacenterConnectorCreatedEvent) SetData

func (*DatacenterConnectorCreatedEvent) String

type DatacenterConnectorCreatedEvent_builder

type DatacenterConnectorCreatedEvent_builder struct {

	// The data associated with the event.
	Data *DatacenterConnectorEventData
	// contains filtered or unexported fields
}

func (DatacenterConnectorCreatedEvent_builder) Build

type DatacenterConnectorDeletedEvent

type DatacenterConnectorDeletedEvent struct {

	// The data associated with the event.
	Data *DatacenterConnectorEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a DatacenterConnector is deleted.

func (*DatacenterConnectorDeletedEvent) ClearData

func (x *DatacenterConnectorDeletedEvent) ClearData()

func (*DatacenterConnectorDeletedEvent) GetData

func (*DatacenterConnectorDeletedEvent) HasData

func (*DatacenterConnectorDeletedEvent) ProtoMessage

func (*DatacenterConnectorDeletedEvent) ProtoMessage()

func (*DatacenterConnectorDeletedEvent) ProtoReflect

func (*DatacenterConnectorDeletedEvent) Reset

func (*DatacenterConnectorDeletedEvent) SetData

func (*DatacenterConnectorDeletedEvent) String

type DatacenterConnectorDeletedEvent_builder

type DatacenterConnectorDeletedEvent_builder struct {

	// The data associated with the event.
	Data *DatacenterConnectorEventData
	// contains filtered or unexported fields
}

func (DatacenterConnectorDeletedEvent_builder) Build

type DatacenterConnectorEventData

type DatacenterConnectorEventData struct {

	// Optional. The DatacenterConnector event payload. Unset for deletion events.
	Payload *DatacenterConnector `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all DatacenterConnector events.

func (*DatacenterConnectorEventData) ClearPayload

func (x *DatacenterConnectorEventData) ClearPayload()

func (*DatacenterConnectorEventData) GetPayload

func (*DatacenterConnectorEventData) HasPayload

func (x *DatacenterConnectorEventData) HasPayload() bool

func (*DatacenterConnectorEventData) ProtoMessage

func (*DatacenterConnectorEventData) ProtoMessage()

func (*DatacenterConnectorEventData) ProtoReflect

func (*DatacenterConnectorEventData) Reset

func (x *DatacenterConnectorEventData) Reset()

func (*DatacenterConnectorEventData) SetPayload

func (*DatacenterConnectorEventData) String

type DatacenterConnectorEventData_builder

type DatacenterConnectorEventData_builder struct {

	// Optional. The DatacenterConnector event payload. Unset for deletion events.
	Payload *DatacenterConnector
	// contains filtered or unexported fields
}

func (DatacenterConnectorEventData_builder) Build

type DatacenterConnector_State

type DatacenterConnector_State int32

The possible values of the state.

const (
	// The state is unknown. This is used for API compatibility only and is not
	// used by the system.
	DatacenterConnector_STATE_UNSPECIFIED DatacenterConnector_State = 0
	// The state was not sampled by the health checks yet.
	DatacenterConnector_PENDING DatacenterConnector_State = 1
	// The source was sampled by health checks and is not available.
	DatacenterConnector_OFFLINE DatacenterConnector_State = 2
	// The source is available but might not be usable yet due to unvalidated
	// credentials or another reason. The credentials referred to are the ones
	// to the Source. The error message will contain further details.
	DatacenterConnector_FAILED DatacenterConnector_State = 3
	// The source exists and its credentials were verified.
	DatacenterConnector_ACTIVE DatacenterConnector_State = 4
)

func (DatacenterConnector_State) Descriptor

func (DatacenterConnector_State) Enum

func (DatacenterConnector_State) Number

func (DatacenterConnector_State) String

func (x DatacenterConnector_State) String() string

func (DatacenterConnector_State) Type

type DatacenterConnector_builder

type DatacenterConnector_builder struct {

	// Output only. The time the connector was created (as an API call, not when
	// it was actually installed).
	CreateTime *timestamppb.Timestamp
	// Output only. The last time the connector was updated with an API call.
	UpdateTime *timestamppb.Timestamp
	// Output only. The connector's name.
	Name string
	// Immutable. A unique key for this connector. This key is internal to the OVA
	// connector and is supplied with its creation during the registration process
	// and can not be modified.
	RegistrationId string
	// The service account to use in the connector when communicating with the
	// cloud.
	ServiceAccount string
	// The version running in the DatacenterConnector. This is supplied by the OVA
	// connector during the registration process and can not be modified.
	Version string
	// Output only. The communication channel between the datacenter connector and
	// Google Cloud.
	Bucket string
	// Output only. State of the DatacenterConnector, as determined by the health
	// checks.
	State DatacenterConnector_State
	// Output only. The time the state was last set.
	StateTime *timestamppb.Timestamp
	// Output only. Provides details on the state of the Datacenter Connector in
	// case of an error.
	Error *status.Status
	// Output only. Appliance OVA version.
	// This is the OVA which is manually installed by the user and contains the
	// infrastructure for the automatically updatable components on the appliance.
	ApplianceInfrastructureVersion string
	// Output only. Appliance last installed update bundle version.
	// This is the version of the automatically updatable components on the
	// appliance.
	ApplianceSoftwareVersion string
	// Output only. The available versions for updating this appliance.
	AvailableVersions *AvailableUpdates
	// Output only. The status of the current / last upgradeAppliance operation.
	UpgradeStatus *UpgradeStatus
	// contains filtered or unexported fields
}

func (DatacenterConnector_builder) Build

type Group

type Group struct {

	// Output only. The Group name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The create time timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-provided description of the group.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Display name is a user defined name for this group which can be updated.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Describes message for 'Group' resource. The Group is a collections of several MigratingVms.

func (*Group) ClearCreateTime

func (x *Group) ClearCreateTime()

func (*Group) ClearUpdateTime

func (x *Group) ClearUpdateTime()

func (*Group) GetCreateTime

func (x *Group) GetCreateTime() *timestamppb.Timestamp

func (*Group) GetDescription

func (x *Group) GetDescription() string

func (*Group) GetDisplayName

func (x *Group) GetDisplayName() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetUpdateTime

func (x *Group) GetUpdateTime() *timestamppb.Timestamp

func (*Group) HasCreateTime

func (x *Group) HasCreateTime() bool

func (*Group) HasUpdateTime

func (x *Group) HasUpdateTime() bool

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) SetCreateTime

func (x *Group) SetCreateTime(v *timestamppb.Timestamp)

func (*Group) SetDescription

func (x *Group) SetDescription(v string)

func (*Group) SetDisplayName

func (x *Group) SetDisplayName(v string)

func (*Group) SetName

func (x *Group) SetName(v string)

func (*Group) SetUpdateTime

func (x *Group) SetUpdateTime(v *timestamppb.Timestamp)

func (*Group) String

func (x *Group) String() string

type GroupCreatedEvent

type GroupCreatedEvent struct {

	// The data associated with the event.
	Data *GroupEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Group is created.

func (*GroupCreatedEvent) ClearData

func (x *GroupCreatedEvent) ClearData()

func (*GroupCreatedEvent) GetData

func (x *GroupCreatedEvent) GetData() *GroupEventData

func (*GroupCreatedEvent) HasData

func (x *GroupCreatedEvent) HasData() bool

func (*GroupCreatedEvent) ProtoMessage

func (*GroupCreatedEvent) ProtoMessage()

func (*GroupCreatedEvent) ProtoReflect

func (x *GroupCreatedEvent) ProtoReflect() protoreflect.Message

func (*GroupCreatedEvent) Reset

func (x *GroupCreatedEvent) Reset()

func (*GroupCreatedEvent) SetData

func (x *GroupCreatedEvent) SetData(v *GroupEventData)

func (*GroupCreatedEvent) String

func (x *GroupCreatedEvent) String() string

type GroupCreatedEvent_builder

type GroupCreatedEvent_builder struct {

	// The data associated with the event.
	Data *GroupEventData
	// contains filtered or unexported fields
}

func (GroupCreatedEvent_builder) Build

type GroupDeletedEvent

type GroupDeletedEvent struct {

	// The data associated with the event.
	Data *GroupEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Group is deleted.

func (*GroupDeletedEvent) ClearData

func (x *GroupDeletedEvent) ClearData()

func (*GroupDeletedEvent) GetData

func (x *GroupDeletedEvent) GetData() *GroupEventData

func (*GroupDeletedEvent) HasData

func (x *GroupDeletedEvent) HasData() bool

func (*GroupDeletedEvent) ProtoMessage

func (*GroupDeletedEvent) ProtoMessage()

func (*GroupDeletedEvent) ProtoReflect

func (x *GroupDeletedEvent) ProtoReflect() protoreflect.Message

func (*GroupDeletedEvent) Reset

func (x *GroupDeletedEvent) Reset()

func (*GroupDeletedEvent) SetData

func (x *GroupDeletedEvent) SetData(v *GroupEventData)

func (*GroupDeletedEvent) String

func (x *GroupDeletedEvent) String() string

type GroupDeletedEvent_builder

type GroupDeletedEvent_builder struct {

	// The data associated with the event.
	Data *GroupEventData
	// contains filtered or unexported fields
}

func (GroupDeletedEvent_builder) Build

type GroupEventData

type GroupEventData struct {

	// Optional. The Group event payload. Unset for deletion events.
	Payload *Group `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Group events.

func (*GroupEventData) ClearPayload

func (x *GroupEventData) ClearPayload()

func (*GroupEventData) GetPayload

func (x *GroupEventData) GetPayload() *Group

func (*GroupEventData) HasPayload

func (x *GroupEventData) HasPayload() bool

func (*GroupEventData) ProtoMessage

func (*GroupEventData) ProtoMessage()

func (*GroupEventData) ProtoReflect

func (x *GroupEventData) ProtoReflect() protoreflect.Message

func (*GroupEventData) Reset

func (x *GroupEventData) Reset()

func (*GroupEventData) SetPayload

func (x *GroupEventData) SetPayload(v *Group)

func (*GroupEventData) String

func (x *GroupEventData) String() string

type GroupEventData_builder

type GroupEventData_builder struct {

	// Optional. The Group event payload. Unset for deletion events.
	Payload *Group
	// contains filtered or unexported fields
}

func (GroupEventData_builder) Build

type GroupUpdatedEvent

type GroupUpdatedEvent struct {

	// The data associated with the event.
	Data *GroupEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Group is updated.

func (*GroupUpdatedEvent) ClearData

func (x *GroupUpdatedEvent) ClearData()

func (*GroupUpdatedEvent) GetData

func (x *GroupUpdatedEvent) GetData() *GroupEventData

func (*GroupUpdatedEvent) HasData

func (x *GroupUpdatedEvent) HasData() bool

func (*GroupUpdatedEvent) ProtoMessage

func (*GroupUpdatedEvent) ProtoMessage()

func (*GroupUpdatedEvent) ProtoReflect

func (x *GroupUpdatedEvent) ProtoReflect() protoreflect.Message

func (*GroupUpdatedEvent) Reset

func (x *GroupUpdatedEvent) Reset()

func (*GroupUpdatedEvent) SetData

func (x *GroupUpdatedEvent) SetData(v *GroupEventData)

func (*GroupUpdatedEvent) String

func (x *GroupUpdatedEvent) String() string

type GroupUpdatedEvent_builder

type GroupUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *GroupEventData
	// contains filtered or unexported fields
}

func (GroupUpdatedEvent_builder) Build

type Group_builder

type Group_builder struct {

	// Output only. The Group name.
	Name string
	// Output only. The create time timestamp.
	CreateTime *timestamppb.Timestamp
	// Output only. The update time timestamp.
	UpdateTime *timestamppb.Timestamp
	// User-provided description of the group.
	Description string
	// Display name is a user defined name for this group which can be updated.
	DisplayName string
	// contains filtered or unexported fields
}

func (Group_builder) Build

func (b0 Group_builder) Build() *Group

type InitializingReplicationStep

type InitializingReplicationStep struct {
	// contains filtered or unexported fields
}

InitializingReplicationStep contains specific step details.

func (*InitializingReplicationStep) ProtoMessage

func (*InitializingReplicationStep) ProtoMessage()

func (*InitializingReplicationStep) ProtoReflect

func (*InitializingReplicationStep) Reset

func (x *InitializingReplicationStep) Reset()

func (*InitializingReplicationStep) String

func (x *InitializingReplicationStep) String() string

type InitializingReplicationStep_builder

type InitializingReplicationStep_builder struct {
	// contains filtered or unexported fields
}

func (InitializingReplicationStep_builder) Build

type InstantiatingMigratedVMStep

type InstantiatingMigratedVMStep struct {
	// contains filtered or unexported fields
}

InstantiatingMigratedVMStep contains specific step details.

func (*InstantiatingMigratedVMStep) ProtoMessage

func (*InstantiatingMigratedVMStep) ProtoMessage()

func (*InstantiatingMigratedVMStep) ProtoReflect

func (*InstantiatingMigratedVMStep) Reset

func (x *InstantiatingMigratedVMStep) Reset()

func (*InstantiatingMigratedVMStep) String

func (x *InstantiatingMigratedVMStep) String() string

type InstantiatingMigratedVMStep_builder

type InstantiatingMigratedVMStep_builder struct {
	// contains filtered or unexported fields
}

func (InstantiatingMigratedVMStep_builder) Build

type MigratingVm

type MigratingVm struct {

	// The default configuration of the target VM that will be created in Google
	// Cloud as a result of the migration.
	//
	// Types that are valid to be assigned to TargetVmDefaults:
	//
	//	*MigratingVm_ComputeEngineTargetDefaults
	TargetVmDefaults isMigratingVm_TargetVmDefaults `protobuf_oneof:"target_vm_defaults"`
	// Details about the source VM.
	//
	// Types that are valid to be assigned to SourceVmDetails:
	//
	//	*MigratingVm_AwsSourceVmDetails
	SourceVmDetails isMigratingVm_SourceVmDetails `protobuf_oneof:"source_vm_details"`
	// Output only. The identifier of the MigratingVm.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The unique ID of the VM in the source.
	// The VM's name in vSphere can be changed, so this is not the VM's name but
	// rather its moRef id. This id is of the form vm-<num>.
	SourceVmId string `protobuf:"bytes,2,opt,name=source_vm_id,json=sourceVmId,proto3" json:"source_vm_id,omitempty"`
	// The display name attached to the MigratingVm by the user.
	DisplayName string `protobuf:"bytes,18,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The description attached to the migrating VM by the user.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The replication schedule policy.
	Policy *SchedulePolicy `protobuf:"bytes,8,opt,name=policy,proto3" json:"policy,omitempty"`
	// Output only. The time the migrating VM was created (this refers to this
	// resource and not to the time it was installed in the source).
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last time the migrating VM resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The most updated snapshot created time in the source that
	// finished replication.
	LastSync *ReplicationSync `protobuf:"bytes,11,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
	// Output only. State of the MigratingVm.
	State MigratingVm_State `protobuf:"varint,23,opt,name=state,proto3,enum=google.events.cloud.vmmigration.v1.MigratingVm_State" json:"state,omitempty"`
	// Output only. The last time the migrating VM state was updated.
	StateTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=state_time,json=stateTime,proto3" json:"state_time,omitempty"`
	// Output only. Details of the current running replication cycle.
	CurrentSyncInfo *ReplicationCycle `protobuf:"bytes,13,opt,name=current_sync_info,json=currentSyncInfo,proto3" json:"current_sync_info,omitempty"`
	// Output only. Details of the last replication cycle. This will be updated
	// whenever a replication cycle is finished and is not to be confused with
	// last_sync which is only updated on successful replication cycles.
	LastReplicationCycle *ReplicationCycle `protobuf:"bytes,32,opt,name=last_replication_cycle,json=lastReplicationCycle,proto3" json:"last_replication_cycle,omitempty"`
	// Output only. The group this migrating vm is included in, if any. The group
	// is represented by the full path of the appropriate
	// [Group][google.cloud.vmmigration.v1.Group] resource.
	Group string `protobuf:"bytes,15,opt,name=group,proto3" json:"group,omitempty"`
	// The labels of the migrating VM.
	Labels map[string]string `` /* 140-byte string literal not displayed */
	// Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
	// performed on the migrating VM. This field holds the vm's last completed
	// clone job and the vm's running clone job, if one exists.
	// Note: To have this field populated you need to explicitly request it via
	// the "view" parameter of the Get/List request.
	RecentCloneJobs []*CloneJob `protobuf:"bytes,17,rep,name=recent_clone_jobs,json=recentCloneJobs,proto3" json:"recent_clone_jobs,omitempty"`
	// Output only. Provides details on the state of the Migrating VM in case of
	// an error in replication.
	Error *status.Status `protobuf:"bytes,19,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. The recent cutover jobs performed on the migrating VM.
	// This field holds the vm's last completed cutover job and the vm's
	// running cutover job, if one exists.
	// Note: To have this field populated you need to explicitly request it via
	// the "view" parameter of the Get/List request.
	RecentCutoverJobs []*CutoverJob `protobuf:"bytes,20,rep,name=recent_cutover_jobs,json=recentCutoverJobs,proto3" json:"recent_cutover_jobs,omitempty"`
	// Output only. Provides details of future CutoverJobs of a MigratingVm.
	// Set to empty when cutover forecast is unavailable.
	CutoverForecast *CutoverForecast `protobuf:"bytes,33,opt,name=cutover_forecast,json=cutoverForecast,proto3" json:"cutover_forecast,omitempty"`
	// contains filtered or unexported fields
}

MigratingVm describes the VM that will be migrated from a Source environment and its replication state.

func (*MigratingVm) ClearAwsSourceVmDetails

func (x *MigratingVm) ClearAwsSourceVmDetails()

func (*MigratingVm) ClearComputeEngineTargetDefaults

func (x *MigratingVm) ClearComputeEngineTargetDefaults()

func (*MigratingVm) ClearCreateTime

func (x *MigratingVm) ClearCreateTime()

func (*MigratingVm) ClearCurrentSyncInfo

func (x *MigratingVm) ClearCurrentSyncInfo()

func (*MigratingVm) ClearCutoverForecast

func (x *MigratingVm) ClearCutoverForecast()

func (*MigratingVm) ClearError

func (x *MigratingVm) ClearError()

func (*MigratingVm) ClearLastReplicationCycle

func (x *MigratingVm) ClearLastReplicationCycle()

func (*MigratingVm) ClearLastSync

func (x *MigratingVm) ClearLastSync()

func (*MigratingVm) ClearPolicy

func (x *MigratingVm) ClearPolicy()

func (*MigratingVm) ClearSourceVmDetails

func (x *MigratingVm) ClearSourceVmDetails()

func (*MigratingVm) ClearStateTime

func (x *MigratingVm) ClearStateTime()

func (*MigratingVm) ClearTargetVmDefaults

func (x *MigratingVm) ClearTargetVmDefaults()

func (*MigratingVm) ClearUpdateTime

func (x *MigratingVm) ClearUpdateTime()

func (*MigratingVm) GetAwsSourceVmDetails

func (x *MigratingVm) GetAwsSourceVmDetails() *AwsSourceVmDetails

func (*MigratingVm) GetComputeEngineTargetDefaults

func (x *MigratingVm) GetComputeEngineTargetDefaults() *ComputeEngineTargetDefaults

func (*MigratingVm) GetCreateTime

func (x *MigratingVm) GetCreateTime() *timestamppb.Timestamp

func (*MigratingVm) GetCurrentSyncInfo

func (x *MigratingVm) GetCurrentSyncInfo() *ReplicationCycle

func (*MigratingVm) GetCutoverForecast

func (x *MigratingVm) GetCutoverForecast() *CutoverForecast

func (*MigratingVm) GetDescription

func (x *MigratingVm) GetDescription() string

func (*MigratingVm) GetDisplayName

func (x *MigratingVm) GetDisplayName() string

func (*MigratingVm) GetError

func (x *MigratingVm) GetError() *status.Status

func (*MigratingVm) GetGroup

func (x *MigratingVm) GetGroup() string

func (*MigratingVm) GetLabels

func (x *MigratingVm) GetLabels() map[string]string

func (*MigratingVm) GetLastReplicationCycle

func (x *MigratingVm) GetLastReplicationCycle() *ReplicationCycle

func (*MigratingVm) GetLastSync

func (x *MigratingVm) GetLastSync() *ReplicationSync

func (*MigratingVm) GetName

func (x *MigratingVm) GetName() string

func (*MigratingVm) GetPolicy

func (x *MigratingVm) GetPolicy() *SchedulePolicy

func (*MigratingVm) GetRecentCloneJobs

func (x *MigratingVm) GetRecentCloneJobs() []*CloneJob

func (*MigratingVm) GetRecentCutoverJobs

func (x *MigratingVm) GetRecentCutoverJobs() []*CutoverJob

func (*MigratingVm) GetSourceVmDetails

func (x *MigratingVm) GetSourceVmDetails() isMigratingVm_SourceVmDetails

func (*MigratingVm) GetSourceVmId

func (x *MigratingVm) GetSourceVmId() string

func (*MigratingVm) GetState

func (x *MigratingVm) GetState() MigratingVm_State

func (*MigratingVm) GetStateTime

func (x *MigratingVm) GetStateTime() *timestamppb.Timestamp

func (*MigratingVm) GetTargetVmDefaults

func (x *MigratingVm) GetTargetVmDefaults() isMigratingVm_TargetVmDefaults

func (*MigratingVm) GetUpdateTime

func (x *MigratingVm) GetUpdateTime() *timestamppb.Timestamp

func (*MigratingVm) HasAwsSourceVmDetails

func (x *MigratingVm) HasAwsSourceVmDetails() bool

func (*MigratingVm) HasComputeEngineTargetDefaults

func (x *MigratingVm) HasComputeEngineTargetDefaults() bool

func (*MigratingVm) HasCreateTime

func (x *MigratingVm) HasCreateTime() bool

func (*MigratingVm) HasCurrentSyncInfo

func (x *MigratingVm) HasCurrentSyncInfo() bool

func (*MigratingVm) HasCutoverForecast

func (x *MigratingVm) HasCutoverForecast() bool

func (*MigratingVm) HasError

func (x *MigratingVm) HasError() bool

func (*MigratingVm) HasLastReplicationCycle

func (x *MigratingVm) HasLastReplicationCycle() bool

func (*MigratingVm) HasLastSync

func (x *MigratingVm) HasLastSync() bool

func (*MigratingVm) HasPolicy

func (x *MigratingVm) HasPolicy() bool

func (*MigratingVm) HasSourceVmDetails

func (x *MigratingVm) HasSourceVmDetails() bool

func (*MigratingVm) HasStateTime

func (x *MigratingVm) HasStateTime() bool

func (*MigratingVm) HasTargetVmDefaults

func (x *MigratingVm) HasTargetVmDefaults() bool

func (*MigratingVm) HasUpdateTime

func (x *MigratingVm) HasUpdateTime() bool

func (*MigratingVm) ProtoMessage

func (*MigratingVm) ProtoMessage()

func (*MigratingVm) ProtoReflect

func (x *MigratingVm) ProtoReflect() protoreflect.Message

func (*MigratingVm) Reset

func (x *MigratingVm) Reset()

func (*MigratingVm) SetAwsSourceVmDetails

func (x *MigratingVm) SetAwsSourceVmDetails(v *AwsSourceVmDetails)

func (*MigratingVm) SetComputeEngineTargetDefaults

func (x *MigratingVm) SetComputeEngineTargetDefaults(v *ComputeEngineTargetDefaults)

func (*MigratingVm) SetCreateTime

func (x *MigratingVm) SetCreateTime(v *timestamppb.Timestamp)

func (*MigratingVm) SetCurrentSyncInfo

func (x *MigratingVm) SetCurrentSyncInfo(v *ReplicationCycle)

func (*MigratingVm) SetCutoverForecast

func (x *MigratingVm) SetCutoverForecast(v *CutoverForecast)

func (*MigratingVm) SetDescription

func (x *MigratingVm) SetDescription(v string)

func (*MigratingVm) SetDisplayName

func (x *MigratingVm) SetDisplayName(v string)

func (*MigratingVm) SetError

func (x *MigratingVm) SetError(v *status.Status)

func (*MigratingVm) SetGroup

func (x *MigratingVm) SetGroup(v string)

func (*MigratingVm) SetLabels

func (x *MigratingVm) SetLabels(v map[string]string)

func (*MigratingVm) SetLastReplicationCycle

func (x *MigratingVm) SetLastReplicationCycle(v *ReplicationCycle)

func (*MigratingVm) SetLastSync

func (x *MigratingVm) SetLastSync(v *ReplicationSync)

func (*MigratingVm) SetName

func (x *MigratingVm) SetName(v string)

func (*MigratingVm) SetPolicy

func (x *MigratingVm) SetPolicy(v *SchedulePolicy)

func (*MigratingVm) SetRecentCloneJobs

func (x *MigratingVm) SetRecentCloneJobs(v []*CloneJob)

func (*MigratingVm) SetRecentCutoverJobs

func (x *MigratingVm) SetRecentCutoverJobs(v []*CutoverJob)

func (*MigratingVm) SetSourceVmId

func (x *MigratingVm) SetSourceVmId(v string)

func (*MigratingVm) SetState

func (x *MigratingVm) SetState(v MigratingVm_State)

func (*MigratingVm) SetStateTime

func (x *MigratingVm) SetStateTime(v *timestamppb.Timestamp)

func (*MigratingVm) SetUpdateTime

func (x *MigratingVm) SetUpdateTime(v *timestamppb.Timestamp)

func (*MigratingVm) String

func (x *MigratingVm) String() string

func (*MigratingVm) WhichSourceVmDetails

func (x *MigratingVm) WhichSourceVmDetails() case_MigratingVm_SourceVmDetails

func (*MigratingVm) WhichTargetVmDefaults

func (x *MigratingVm) WhichTargetVmDefaults() case_MigratingVm_TargetVmDefaults

type MigratingVmCreatedEvent

type MigratingVmCreatedEvent struct {

	// The data associated with the event.
	Data *MigratingVmEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a MigratingVm is created.

func (*MigratingVmCreatedEvent) ClearData

func (x *MigratingVmCreatedEvent) ClearData()

func (*MigratingVmCreatedEvent) GetData

func (*MigratingVmCreatedEvent) HasData

func (x *MigratingVmCreatedEvent) HasData() bool

func (*MigratingVmCreatedEvent) ProtoMessage

func (*MigratingVmCreatedEvent) ProtoMessage()

func (*MigratingVmCreatedEvent) ProtoReflect

func (x *MigratingVmCreatedEvent) ProtoReflect() protoreflect.Message

func (*MigratingVmCreatedEvent) Reset

func (x *MigratingVmCreatedEvent) Reset()

func (*MigratingVmCreatedEvent) SetData

func (*MigratingVmCreatedEvent) String

func (x *MigratingVmCreatedEvent) String() string

type MigratingVmCreatedEvent_builder

type MigratingVmCreatedEvent_builder struct {

	// The data associated with the event.
	Data *MigratingVmEventData
	// contains filtered or unexported fields
}

func (MigratingVmCreatedEvent_builder) Build

type MigratingVmDeletedEvent

type MigratingVmDeletedEvent struct {

	// The data associated with the event.
	Data *MigratingVmEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a MigratingVm is deleted.

func (*MigratingVmDeletedEvent) ClearData

func (x *MigratingVmDeletedEvent) ClearData()

func (*MigratingVmDeletedEvent) GetData

func (*MigratingVmDeletedEvent) HasData

func (x *MigratingVmDeletedEvent) HasData() bool

func (*MigratingVmDeletedEvent) ProtoMessage

func (*MigratingVmDeletedEvent) ProtoMessage()

func (*MigratingVmDeletedEvent) ProtoReflect

func (x *MigratingVmDeletedEvent) ProtoReflect() protoreflect.Message

func (*MigratingVmDeletedEvent) Reset

func (x *MigratingVmDeletedEvent) Reset()

func (*MigratingVmDeletedEvent) SetData

func (*MigratingVmDeletedEvent) String

func (x *MigratingVmDeletedEvent) String() string

type MigratingVmDeletedEvent_builder

type MigratingVmDeletedEvent_builder struct {

	// The data associated with the event.
	Data *MigratingVmEventData
	// contains filtered or unexported fields
}

func (MigratingVmDeletedEvent_builder) Build

type MigratingVmEventData

type MigratingVmEventData struct {

	// Optional. The MigratingVm event payload. Unset for deletion events.
	Payload *MigratingVm `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all MigratingVm events.

func (*MigratingVmEventData) ClearPayload

func (x *MigratingVmEventData) ClearPayload()

func (*MigratingVmEventData) GetPayload

func (x *MigratingVmEventData) GetPayload() *MigratingVm

func (*MigratingVmEventData) HasPayload

func (x *MigratingVmEventData) HasPayload() bool

func (*MigratingVmEventData) ProtoMessage

func (*MigratingVmEventData) ProtoMessage()

func (*MigratingVmEventData) ProtoReflect

func (x *MigratingVmEventData) ProtoReflect() protoreflect.Message

func (*MigratingVmEventData) Reset

func (x *MigratingVmEventData) Reset()

func (*MigratingVmEventData) SetPayload

func (x *MigratingVmEventData) SetPayload(v *MigratingVm)

func (*MigratingVmEventData) String

func (x *MigratingVmEventData) String() string

type MigratingVmEventData_builder

type MigratingVmEventData_builder struct {

	// Optional. The MigratingVm event payload. Unset for deletion events.
	Payload *MigratingVm
	// contains filtered or unexported fields
}

func (MigratingVmEventData_builder) Build

type MigratingVmUpdatedEvent

type MigratingVmUpdatedEvent struct {

	// The data associated with the event.
	Data *MigratingVmEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a MigratingVm is updated.

func (*MigratingVmUpdatedEvent) ClearData

func (x *MigratingVmUpdatedEvent) ClearData()

func (*MigratingVmUpdatedEvent) GetData

func (*MigratingVmUpdatedEvent) HasData

func (x *MigratingVmUpdatedEvent) HasData() bool

func (*MigratingVmUpdatedEvent) ProtoMessage

func (*MigratingVmUpdatedEvent) ProtoMessage()

func (*MigratingVmUpdatedEvent) ProtoReflect

func (x *MigratingVmUpdatedEvent) ProtoReflect() protoreflect.Message

func (*MigratingVmUpdatedEvent) Reset

func (x *MigratingVmUpdatedEvent) Reset()

func (*MigratingVmUpdatedEvent) SetData

func (*MigratingVmUpdatedEvent) String

func (x *MigratingVmUpdatedEvent) String() string

type MigratingVmUpdatedEvent_builder

type MigratingVmUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *MigratingVmEventData
	// contains filtered or unexported fields
}

func (MigratingVmUpdatedEvent_builder) Build

type MigratingVm_AwsSourceVmDetails

type MigratingVm_AwsSourceVmDetails struct {
	// Output only. Details of the VM from an AWS source.
	AwsSourceVmDetails *AwsSourceVmDetails `protobuf:"bytes,29,opt,name=aws_source_vm_details,json=awsSourceVmDetails,proto3,oneof"`
}

type MigratingVm_ComputeEngineTargetDefaults

type MigratingVm_ComputeEngineTargetDefaults struct {
	// Details of the target VM in Compute Engine.
	ComputeEngineTargetDefaults *ComputeEngineTargetDefaults `protobuf:"bytes,26,opt,name=compute_engine_target_defaults,json=computeEngineTargetDefaults,proto3,oneof"`
}

type MigratingVm_State

type MigratingVm_State int32

The possible values of the state/health of source VM.

const (
	// The state was not sampled by the health checks yet.
	MigratingVm_STATE_UNSPECIFIED MigratingVm_State = 0
	// The VM in the source is being verified.
	MigratingVm_PENDING MigratingVm_State = 1
	// The source VM was verified, and it's ready to start replication.
	MigratingVm_READY MigratingVm_State = 2
	// Migration is going through the first sync cycle.
	MigratingVm_FIRST_SYNC MigratingVm_State = 3
	// The replication is active, and it's running or scheduled to run.
	MigratingVm_ACTIVE MigratingVm_State = 4
	// The source VM is being turned off, and a final replication is currently
	// running.
	MigratingVm_CUTTING_OVER MigratingVm_State = 7
	// The source VM was stopped and replicated. The replication is currently
	// paused.
	MigratingVm_CUTOVER MigratingVm_State = 8
	// A cutover job is active and replication cycle is running the final sync.
	MigratingVm_FINAL_SYNC MigratingVm_State = 9
	// The replication was paused by the user and no cycles are scheduled to
	// run.
	MigratingVm_PAUSED MigratingVm_State = 10
	// The migrating VM is being finalized and migration resources are being
	// removed.
	MigratingVm_FINALIZING MigratingVm_State = 11
	// The replication process is done. The migrating VM is finalized and no
	// longer consumes billable resources.
	MigratingVm_FINALIZED MigratingVm_State = 12
	// The replication process encountered an unrecoverable error and was
	// aborted.
	MigratingVm_ERROR MigratingVm_State = 13
)

func (MigratingVm_State) Descriptor

func (MigratingVm_State) Enum

func (MigratingVm_State) Number

func (MigratingVm_State) String

func (x MigratingVm_State) String() string

func (MigratingVm_State) Type

type MigratingVm_builder

type MigratingVm_builder struct {

	// Fields of oneof TargetVmDefaults:
	// Details of the target VM in Compute Engine.
	ComputeEngineTargetDefaults *ComputeEngineTargetDefaults

	// Fields of oneof SourceVmDetails:
	// Output only. Details of the VM from an AWS source.
	AwsSourceVmDetails *AwsSourceVmDetails
	// -- end of SourceVmDetails
	// Output only. The identifier of the MigratingVm.
	Name string
	// The unique ID of the VM in the source.
	// The VM's name in vSphere can be changed, so this is not the VM's name but
	// rather its moRef id. This id is of the form vm-<num>.
	SourceVmId string
	// The display name attached to the MigratingVm by the user.
	DisplayName string
	// The description attached to the migrating VM by the user.
	Description string
	// The replication schedule policy.
	Policy *SchedulePolicy
	// Output only. The time the migrating VM was created (this refers to this
	// resource and not to the time it was installed in the source).
	CreateTime *timestamppb.Timestamp
	// Output only. The last time the migrating VM resource was updated.
	UpdateTime *timestamppb.Timestamp
	// Output only. The most updated snapshot created time in the source that
	// finished replication.
	LastSync *ReplicationSync
	// Output only. State of the MigratingVm.
	State MigratingVm_State
	// Output only. The last time the migrating VM state was updated.
	StateTime *timestamppb.Timestamp
	// Output only. Details of the current running replication cycle.
	CurrentSyncInfo *ReplicationCycle
	// Output only. Details of the last replication cycle. This will be updated
	// whenever a replication cycle is finished and is not to be confused with
	// last_sync which is only updated on successful replication cycles.
	LastReplicationCycle *ReplicationCycle
	// Output only. The group this migrating vm is included in, if any. The group
	// is represented by the full path of the appropriate
	// [Group][google.cloud.vmmigration.v1.Group] resource.
	Group string
	// The labels of the migrating VM.
	Labels map[string]string
	// Output only. The recent [clone jobs][google.cloud.vmmigration.v1.CloneJob]
	// performed on the migrating VM. This field holds the vm's last completed
	// clone job and the vm's running clone job, if one exists.
	// Note: To have this field populated you need to explicitly request it via
	// the "view" parameter of the Get/List request.
	RecentCloneJobs []*CloneJob
	// Output only. Provides details on the state of the Migrating VM in case of
	// an error in replication.
	Error *status.Status
	// Output only. The recent cutover jobs performed on the migrating VM.
	// This field holds the vm's last completed cutover job and the vm's
	// running cutover job, if one exists.
	// Note: To have this field populated you need to explicitly request it via
	// the "view" parameter of the Get/List request.
	RecentCutoverJobs []*CutoverJob
	// Output only. Provides details of future CutoverJobs of a MigratingVm.
	// Set to empty when cutover forecast is unavailable.
	CutoverForecast *CutoverForecast
	// contains filtered or unexported fields
}

func (MigratingVm_builder) Build

func (b0 MigratingVm_builder) Build() *MigratingVm

type MigrationWarning

type MigrationWarning struct {

	// The warning code.
	Code MigrationWarning_WarningCode `` /* 131-byte string literal not displayed */
	// The localized warning message.
	WarningMessage *errdetails.LocalizedMessage `protobuf:"bytes,2,opt,name=warning_message,json=warningMessage,proto3" json:"warning_message,omitempty"`
	// Suggested action for solving the warning.
	ActionItem *errdetails.LocalizedMessage `protobuf:"bytes,3,opt,name=action_item,json=actionItem,proto3" json:"action_item,omitempty"`
	// URL(s) pointing to additional information on handling the current warning.
	HelpLinks []*errdetails.Help_Link `protobuf:"bytes,4,rep,name=help_links,json=helpLinks,proto3" json:"help_links,omitempty"`
	// The time the warning occurred.
	WarningTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=warning_time,json=warningTime,proto3" json:"warning_time,omitempty"`
	// contains filtered or unexported fields
}

Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.

func (*MigrationWarning) ClearActionItem

func (x *MigrationWarning) ClearActionItem()

func (*MigrationWarning) ClearWarningMessage

func (x *MigrationWarning) ClearWarningMessage()

func (*MigrationWarning) ClearWarningTime

func (x *MigrationWarning) ClearWarningTime()

func (*MigrationWarning) GetActionItem

func (x *MigrationWarning) GetActionItem() *errdetails.LocalizedMessage

func (*MigrationWarning) GetCode

func (x *MigrationWarning) GetHelpLinks() []*errdetails.Help_Link

func (*MigrationWarning) GetWarningMessage

func (x *MigrationWarning) GetWarningMessage() *errdetails.LocalizedMessage

func (*MigrationWarning) GetWarningTime

func (x *MigrationWarning) GetWarningTime() *timestamppb.Timestamp

func (*MigrationWarning) HasActionItem

func (x *MigrationWarning) HasActionItem() bool

func (*MigrationWarning) HasWarningMessage

func (x *MigrationWarning) HasWarningMessage() bool

func (*MigrationWarning) HasWarningTime

func (x *MigrationWarning) HasWarningTime() bool

func (*MigrationWarning) ProtoMessage

func (*MigrationWarning) ProtoMessage()

func (*MigrationWarning) ProtoReflect

func (x *MigrationWarning) ProtoReflect() protoreflect.Message

func (*MigrationWarning) Reset

func (x *MigrationWarning) Reset()

func (*MigrationWarning) SetActionItem

func (x *MigrationWarning) SetActionItem(v *errdetails.LocalizedMessage)

func (*MigrationWarning) SetCode

func (x *MigrationWarning) SetHelpLinks(v []*errdetails.Help_Link)

func (*MigrationWarning) SetWarningMessage

func (x *MigrationWarning) SetWarningMessage(v *errdetails.LocalizedMessage)

func (*MigrationWarning) SetWarningTime

func (x *MigrationWarning) SetWarningTime(v *timestamppb.Timestamp)

func (*MigrationWarning) String

func (x *MigrationWarning) String() string

type MigrationWarning_WarningCode

type MigrationWarning_WarningCode int32

Represents possible warning codes.

const (
	// Default value. This value is not used.
	MigrationWarning_WARNING_CODE_UNSPECIFIED MigrationWarning_WarningCode = 0
	// A warning originated from OS Adaptation.
	MigrationWarning_ADAPTATION_WARNING MigrationWarning_WarningCode = 1
)

func (MigrationWarning_WarningCode) Descriptor

func (MigrationWarning_WarningCode) Enum

func (MigrationWarning_WarningCode) Number

func (MigrationWarning_WarningCode) String

func (MigrationWarning_WarningCode) Type

type MigrationWarning_builder

type MigrationWarning_builder struct {

	// The warning code.
	Code MigrationWarning_WarningCode
	// The localized warning message.
	WarningMessage *errdetails.LocalizedMessage
	// Suggested action for solving the warning.
	ActionItem *errdetails.LocalizedMessage
	// URL(s) pointing to additional information on handling the current warning.
	HelpLinks []*errdetails.Help_Link
	// The time the warning occurred.
	WarningTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (MigrationWarning_builder) Build

type NetworkInterface

type NetworkInterface struct {

	// The network to connect the NIC to.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// The subnetwork to connect the NIC to.
	Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
	// The internal IP to define in the NIC.
	// The formats accepted are: `ephemeral` \ ipv4 address \ a named address
	// resource full path.
	InternalIp string `protobuf:"bytes,3,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
	// The external IP to define in the NIC.
	ExternalIp string `protobuf:"bytes,4,opt,name=external_ip,json=externalIp,proto3" json:"external_ip,omitempty"`
	// contains filtered or unexported fields
}

NetworkInterface represents a NIC of a VM.

func (*NetworkInterface) GetExternalIp

func (x *NetworkInterface) GetExternalIp() string

func (*NetworkInterface) GetInternalIp

func (x *NetworkInterface) GetInternalIp() string

func (*NetworkInterface) GetNetwork

func (x *NetworkInterface) GetNetwork() string

func (*NetworkInterface) GetSubnetwork

func (x *NetworkInterface) GetSubnetwork() string

func (*NetworkInterface) ProtoMessage

func (*NetworkInterface) ProtoMessage()

func (*NetworkInterface) ProtoReflect

func (x *NetworkInterface) ProtoReflect() protoreflect.Message

func (*NetworkInterface) Reset

func (x *NetworkInterface) Reset()

func (*NetworkInterface) SetExternalIp

func (x *NetworkInterface) SetExternalIp(v string)

func (*NetworkInterface) SetInternalIp

func (x *NetworkInterface) SetInternalIp(v string)

func (*NetworkInterface) SetNetwork

func (x *NetworkInterface) SetNetwork(v string)

func (*NetworkInterface) SetSubnetwork

func (x *NetworkInterface) SetSubnetwork(v string)

func (*NetworkInterface) String

func (x *NetworkInterface) String() string

type NetworkInterface_builder

type NetworkInterface_builder struct {

	// The network to connect the NIC to.
	Network string
	// The subnetwork to connect the NIC to.
	Subnetwork string
	// The internal IP to define in the NIC.
	// The formats accepted are: `ephemeral` \ ipv4 address \ a named address
	// resource full path.
	InternalIp string
	// The external IP to define in the NIC.
	ExternalIp string
	// contains filtered or unexported fields
}

func (NetworkInterface_builder) Build

type PostProcessingStep

type PostProcessingStep struct {
	// contains filtered or unexported fields
}

PostProcessingStep contains specific step details.

func (*PostProcessingStep) ProtoMessage

func (*PostProcessingStep) ProtoMessage()

func (*PostProcessingStep) ProtoReflect

func (x *PostProcessingStep) ProtoReflect() protoreflect.Message

func (*PostProcessingStep) Reset

func (x *PostProcessingStep) Reset()

func (*PostProcessingStep) String

func (x *PostProcessingStep) String() string

type PostProcessingStep_builder

type PostProcessingStep_builder struct {
	// contains filtered or unexported fields
}

func (PostProcessingStep_builder) Build

type PreparingVMDisksStep

type PreparingVMDisksStep struct {
	// contains filtered or unexported fields
}

PreparingVMDisksStep contains specific step details.

func (*PreparingVMDisksStep) ProtoMessage

func (*PreparingVMDisksStep) ProtoMessage()

func (*PreparingVMDisksStep) ProtoReflect

func (x *PreparingVMDisksStep) ProtoReflect() protoreflect.Message

func (*PreparingVMDisksStep) Reset

func (x *PreparingVMDisksStep) Reset()

func (*PreparingVMDisksStep) String

func (x *PreparingVMDisksStep) String() string

type PreparingVMDisksStep_builder

type PreparingVMDisksStep_builder struct {
	// contains filtered or unexported fields
}

func (PreparingVMDisksStep_builder) Build

type ReplicatingStep

type ReplicatingStep struct {

	// Total bytes to be handled in the step.
	TotalBytes int64 `protobuf:"varint,1,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	// Replicated bytes in the step.
	ReplicatedBytes int64 `protobuf:"varint,2,opt,name=replicated_bytes,json=replicatedBytes,proto3" json:"replicated_bytes,omitempty"`
	// The source disks replication rate for the last 2 minutes in bytes per
	// second.
	LastTwoMinutesAverageBytesPerSecond int64 `` /* 177-byte string literal not displayed */
	// The source disks replication rate for the last 30 minutes in bytes per
	// second.
	LastThirtyMinutesAverageBytesPerSecond int64 `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

ReplicatingStep contains specific step details.

func (*ReplicatingStep) GetLastThirtyMinutesAverageBytesPerSecond

func (x *ReplicatingStep) GetLastThirtyMinutesAverageBytesPerSecond() int64

func (*ReplicatingStep) GetLastTwoMinutesAverageBytesPerSecond

func (x *ReplicatingStep) GetLastTwoMinutesAverageBytesPerSecond() int64

func (*ReplicatingStep) GetReplicatedBytes

func (x *ReplicatingStep) GetReplicatedBytes() int64

func (*ReplicatingStep) GetTotalBytes

func (x *ReplicatingStep) GetTotalBytes() int64

func (*ReplicatingStep) ProtoMessage

func (*ReplicatingStep) ProtoMessage()

func (*ReplicatingStep) ProtoReflect

func (x *ReplicatingStep) ProtoReflect() protoreflect.Message

func (*ReplicatingStep) Reset

func (x *ReplicatingStep) Reset()

func (*ReplicatingStep) SetLastThirtyMinutesAverageBytesPerSecond

func (x *ReplicatingStep) SetLastThirtyMinutesAverageBytesPerSecond(v int64)

func (*ReplicatingStep) SetLastTwoMinutesAverageBytesPerSecond

func (x *ReplicatingStep) SetLastTwoMinutesAverageBytesPerSecond(v int64)

func (*ReplicatingStep) SetReplicatedBytes

func (x *ReplicatingStep) SetReplicatedBytes(v int64)

func (*ReplicatingStep) SetTotalBytes

func (x *ReplicatingStep) SetTotalBytes(v int64)

func (*ReplicatingStep) String

func (x *ReplicatingStep) String() string

type ReplicatingStep_builder

type ReplicatingStep_builder struct {

	// Total bytes to be handled in the step.
	TotalBytes int64
	// Replicated bytes in the step.
	ReplicatedBytes int64
	// The source disks replication rate for the last 2 minutes in bytes per
	// second.
	LastTwoMinutesAverageBytesPerSecond int64
	// The source disks replication rate for the last 30 minutes in bytes per
	// second.
	LastThirtyMinutesAverageBytesPerSecond int64
	// contains filtered or unexported fields
}

func (ReplicatingStep_builder) Build

type ReplicationCycle

type ReplicationCycle struct {

	// The identifier of the ReplicationCycle.
	Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"`
	// The cycle's ordinal number.
	CycleNumber int32 `protobuf:"varint,10,opt,name=cycle_number,json=cycleNumber,proto3" json:"cycle_number,omitempty"`
	// The time the replication cycle has started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time the replication cycle has ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// The accumulated duration the replication cycle was paused.
	TotalPauseDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=total_pause_duration,json=totalPauseDuration,proto3" json:"total_pause_duration,omitempty"`
	// The current progress in percentage of this cycle.
	// Was replaced by 'steps' field, which breaks down the cycle progression more
	// accurately.
	ProgressPercent int32 `protobuf:"varint,5,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// The cycle's steps list representing its progress.
	Steps []*CycleStep `protobuf:"bytes,9,rep,name=steps,proto3" json:"steps,omitempty"`
	// State of the ReplicationCycle.
	State ReplicationCycle_State `` /* 128-byte string literal not displayed */
	// Provides details on the state of the cycle in case of an error.
	Error *status.Status `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. Warnings that occurred during the cycle.
	Warnings []*MigrationWarning `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

ReplicationCycle contains information about the current replication cycle status.

func (*ReplicationCycle) ClearEndTime

func (x *ReplicationCycle) ClearEndTime()

func (*ReplicationCycle) ClearError

func (x *ReplicationCycle) ClearError()

func (*ReplicationCycle) ClearStartTime

func (x *ReplicationCycle) ClearStartTime()

func (*ReplicationCycle) ClearTotalPauseDuration

func (x *ReplicationCycle) ClearTotalPauseDuration()

func (*ReplicationCycle) GetCycleNumber

func (x *ReplicationCycle) GetCycleNumber() int32

func (*ReplicationCycle) GetEndTime

func (x *ReplicationCycle) GetEndTime() *timestamppb.Timestamp

func (*ReplicationCycle) GetError

func (x *ReplicationCycle) GetError() *status.Status

func (*ReplicationCycle) GetName

func (x *ReplicationCycle) GetName() string

func (*ReplicationCycle) GetProgressPercent

func (x *ReplicationCycle) GetProgressPercent() int32

func (*ReplicationCycle) GetStartTime

func (x *ReplicationCycle) GetStartTime() *timestamppb.Timestamp

func (*ReplicationCycle) GetState

func (*ReplicationCycle) GetSteps

func (x *ReplicationCycle) GetSteps() []*CycleStep

func (*ReplicationCycle) GetTotalPauseDuration

func (x *ReplicationCycle) GetTotalPauseDuration() *durationpb.Duration

func (*ReplicationCycle) GetWarnings

func (x *ReplicationCycle) GetWarnings() []*MigrationWarning

func (*ReplicationCycle) HasEndTime

func (x *ReplicationCycle) HasEndTime() bool

func (*ReplicationCycle) HasError

func (x *ReplicationCycle) HasError() bool

func (*ReplicationCycle) HasStartTime

func (x *ReplicationCycle) HasStartTime() bool

func (*ReplicationCycle) HasTotalPauseDuration

func (x *ReplicationCycle) HasTotalPauseDuration() bool

func (*ReplicationCycle) ProtoMessage

func (*ReplicationCycle) ProtoMessage()

func (*ReplicationCycle) ProtoReflect

func (x *ReplicationCycle) ProtoReflect() protoreflect.Message

func (*ReplicationCycle) Reset

func (x *ReplicationCycle) Reset()

func (*ReplicationCycle) SetCycleNumber

func (x *ReplicationCycle) SetCycleNumber(v int32)

func (*ReplicationCycle) SetEndTime

func (x *ReplicationCycle) SetEndTime(v *timestamppb.Timestamp)

func (*ReplicationCycle) SetError

func (x *ReplicationCycle) SetError(v *status.Status)

func (*ReplicationCycle) SetName

func (x *ReplicationCycle) SetName(v string)

func (*ReplicationCycle) SetProgressPercent

func (x *ReplicationCycle) SetProgressPercent(v int32)

func (*ReplicationCycle) SetStartTime

func (x *ReplicationCycle) SetStartTime(v *timestamppb.Timestamp)

func (*ReplicationCycle) SetState

func (*ReplicationCycle) SetSteps

func (x *ReplicationCycle) SetSteps(v []*CycleStep)

func (*ReplicationCycle) SetTotalPauseDuration

func (x *ReplicationCycle) SetTotalPauseDuration(v *durationpb.Duration)

func (*ReplicationCycle) SetWarnings

func (x *ReplicationCycle) SetWarnings(v []*MigrationWarning)

func (*ReplicationCycle) String

func (x *ReplicationCycle) String() string

type ReplicationCycle_State

type ReplicationCycle_State int32

Possible states of a replication cycle.

const (
	// The state is unknown. This is used for API compatibility only and is not
	// used by the system.
	ReplicationCycle_STATE_UNSPECIFIED ReplicationCycle_State = 0
	// The replication cycle is running.
	ReplicationCycle_RUNNING ReplicationCycle_State = 1
	// The replication cycle is paused.
	ReplicationCycle_PAUSED ReplicationCycle_State = 2
	// The replication cycle finished with errors.
	ReplicationCycle_FAILED ReplicationCycle_State = 3
	// The replication cycle finished successfully.
	ReplicationCycle_SUCCEEDED ReplicationCycle_State = 4
)

func (ReplicationCycle_State) Descriptor

func (ReplicationCycle_State) Enum

func (ReplicationCycle_State) Number

func (ReplicationCycle_State) String

func (x ReplicationCycle_State) String() string

func (ReplicationCycle_State) Type

type ReplicationCycle_builder

type ReplicationCycle_builder struct {

	// The identifier of the ReplicationCycle.
	Name string
	// The cycle's ordinal number.
	CycleNumber int32
	// The time the replication cycle has started.
	StartTime *timestamppb.Timestamp
	// The time the replication cycle has ended.
	EndTime *timestamppb.Timestamp
	// The accumulated duration the replication cycle was paused.
	TotalPauseDuration *durationpb.Duration
	// The current progress in percentage of this cycle.
	// Was replaced by 'steps' field, which breaks down the cycle progression more
	// accurately.
	ProgressPercent int32
	// The cycle's steps list representing its progress.
	Steps []*CycleStep
	// State of the ReplicationCycle.
	State ReplicationCycle_State
	// Provides details on the state of the cycle in case of an error.
	Error *status.Status
	// Output only. Warnings that occurred during the cycle.
	Warnings []*MigrationWarning
	// contains filtered or unexported fields
}

func (ReplicationCycle_builder) Build

type ReplicationSync

type ReplicationSync struct {

	// The most updated snapshot created time in the source that finished
	// replication.
	LastSyncTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"`
	// contains filtered or unexported fields
}

ReplicationSync contain information about the last replica sync to the cloud.

func (*ReplicationSync) ClearLastSyncTime

func (x *ReplicationSync) ClearLastSyncTime()

func (*ReplicationSync) GetLastSyncTime

func (x *ReplicationSync) GetLastSyncTime() *timestamppb.Timestamp

func (*ReplicationSync) HasLastSyncTime

func (x *ReplicationSync) HasLastSyncTime() bool

func (*ReplicationSync) ProtoMessage

func (*ReplicationSync) ProtoMessage()

func (*ReplicationSync) ProtoReflect

func (x *ReplicationSync) ProtoReflect() protoreflect.Message

func (*ReplicationSync) Reset

func (x *ReplicationSync) Reset()

func (*ReplicationSync) SetLastSyncTime

func (x *ReplicationSync) SetLastSyncTime(v *timestamppb.Timestamp)

func (*ReplicationSync) String

func (x *ReplicationSync) String() string

type ReplicationSync_builder

type ReplicationSync_builder struct {

	// The most updated snapshot created time in the source that finished
	// replication.
	LastSyncTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (ReplicationSync_builder) Build

type SchedulePolicy

type SchedulePolicy struct {

	// The idle duration between replication stages.
	IdleDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=idle_duration,json=idleDuration,proto3" json:"idle_duration,omitempty"`
	// A flag to indicate whether to skip OS adaptation during the replication
	// sync. OS adaptation is a process where the VM's operating system undergoes
	// changes and adaptations to fully function on Compute Engine.
	SkipOsAdaptation bool `protobuf:"varint,2,opt,name=skip_os_adaptation,json=skipOsAdaptation,proto3" json:"skip_os_adaptation,omitempty"`
	// contains filtered or unexported fields
}

A policy for scheduling replications.

func (*SchedulePolicy) ClearIdleDuration

func (x *SchedulePolicy) ClearIdleDuration()

func (*SchedulePolicy) GetIdleDuration

func (x *SchedulePolicy) GetIdleDuration() *durationpb.Duration

func (*SchedulePolicy) GetSkipOsAdaptation

func (x *SchedulePolicy) GetSkipOsAdaptation() bool

func (*SchedulePolicy) HasIdleDuration

func (x *SchedulePolicy) HasIdleDuration() bool

func (*SchedulePolicy) ProtoMessage

func (*SchedulePolicy) ProtoMessage()

func (*SchedulePolicy) ProtoReflect

func (x *SchedulePolicy) ProtoReflect() protoreflect.Message

func (*SchedulePolicy) Reset

func (x *SchedulePolicy) Reset()

func (*SchedulePolicy) SetIdleDuration

func (x *SchedulePolicy) SetIdleDuration(v *durationpb.Duration)

func (*SchedulePolicy) SetSkipOsAdaptation

func (x *SchedulePolicy) SetSkipOsAdaptation(v bool)

func (*SchedulePolicy) String

func (x *SchedulePolicy) String() string

type SchedulePolicy_builder

type SchedulePolicy_builder struct {

	// The idle duration between replication stages.
	IdleDuration *durationpb.Duration
	// A flag to indicate whether to skip OS adaptation during the replication
	// sync. OS adaptation is a process where the VM's operating system undergoes
	// changes and adaptations to fully function on Compute Engine.
	SkipOsAdaptation bool
	// contains filtered or unexported fields
}

func (SchedulePolicy_builder) Build

type SchedulingNodeAffinity

type SchedulingNodeAffinity struct {

	// The label key of Node resource to reference.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The operator to use for the node resources specified in the `values`
	// parameter.
	Operator SchedulingNodeAffinity_Operator `` /* 142-byte string literal not displayed */
	// Corresponds to the label values of Node resource.
	Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

func (*SchedulingNodeAffinity) GetKey

func (x *SchedulingNodeAffinity) GetKey() string

func (*SchedulingNodeAffinity) GetOperator

func (*SchedulingNodeAffinity) GetValues

func (x *SchedulingNodeAffinity) GetValues() []string

func (*SchedulingNodeAffinity) ProtoMessage

func (*SchedulingNodeAffinity) ProtoMessage()

func (*SchedulingNodeAffinity) ProtoReflect

func (x *SchedulingNodeAffinity) ProtoReflect() protoreflect.Message

func (*SchedulingNodeAffinity) Reset

func (x *SchedulingNodeAffinity) Reset()

func (*SchedulingNodeAffinity) SetKey

func (x *SchedulingNodeAffinity) SetKey(v string)

func (*SchedulingNodeAffinity) SetOperator

func (*SchedulingNodeAffinity) SetValues

func (x *SchedulingNodeAffinity) SetValues(v []string)

func (*SchedulingNodeAffinity) String

func (x *SchedulingNodeAffinity) String() string

type SchedulingNodeAffinity_Operator

type SchedulingNodeAffinity_Operator int32

Possible types of node selection operators. Valid operators are IN for affinity and NOT_IN for anti-affinity.

const (
	// An unknown, unexpected behavior.
	SchedulingNodeAffinity_OPERATOR_UNSPECIFIED SchedulingNodeAffinity_Operator = 0
	// The node resource group should be in these resources affinity.
	SchedulingNodeAffinity_IN SchedulingNodeAffinity_Operator = 1
	// The node resource group should not be in these resources affinity.
	SchedulingNodeAffinity_NOT_IN SchedulingNodeAffinity_Operator = 2
)

func (SchedulingNodeAffinity_Operator) Descriptor

func (SchedulingNodeAffinity_Operator) Enum

func (SchedulingNodeAffinity_Operator) Number

func (SchedulingNodeAffinity_Operator) String

func (SchedulingNodeAffinity_Operator) Type

type SchedulingNodeAffinity_builder

type SchedulingNodeAffinity_builder struct {

	// The label key of Node resource to reference.
	Key string
	// The operator to use for the node resources specified in the `values`
	// parameter.
	Operator SchedulingNodeAffinity_Operator
	// Corresponds to the label values of Node resource.
	Values []string
	// contains filtered or unexported fields
}

func (SchedulingNodeAffinity_builder) Build

type ShuttingDownSourceVMStep

type ShuttingDownSourceVMStep struct {
	// contains filtered or unexported fields
}

ShuttingDownSourceVMStep contains specific step details.

func (*ShuttingDownSourceVMStep) ProtoMessage

func (*ShuttingDownSourceVMStep) ProtoMessage()

func (*ShuttingDownSourceVMStep) ProtoReflect

func (x *ShuttingDownSourceVMStep) ProtoReflect() protoreflect.Message

func (*ShuttingDownSourceVMStep) Reset

func (x *ShuttingDownSourceVMStep) Reset()

func (*ShuttingDownSourceVMStep) String

func (x *ShuttingDownSourceVMStep) String() string

type ShuttingDownSourceVMStep_builder

type ShuttingDownSourceVMStep_builder struct {
	// contains filtered or unexported fields
}

func (ShuttingDownSourceVMStep_builder) Build

type Source

type Source struct {

	// Types that are valid to be assigned to SourceDetails:
	//
	//	*Source_Vmware
	//	*Source_Aws
	SourceDetails isSource_SourceDetails `protobuf_oneof:"source_details"`
	// Output only. The Source name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The create time timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The labels of the source.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// User-provided description of the source.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Source message describes a specific vm migration Source resource. It contains the source environment information.

func (*Source) ClearAws

func (x *Source) ClearAws()

func (*Source) ClearCreateTime

func (x *Source) ClearCreateTime()

func (*Source) ClearSourceDetails

func (x *Source) ClearSourceDetails()

func (*Source) ClearUpdateTime

func (x *Source) ClearUpdateTime()

func (*Source) ClearVmware

func (x *Source) ClearVmware()

func (*Source) GetAws

func (x *Source) GetAws() *AwsSourceDetails

func (*Source) GetCreateTime

func (x *Source) GetCreateTime() *timestamppb.Timestamp

func (*Source) GetDescription

func (x *Source) GetDescription() string

func (*Source) GetLabels

func (x *Source) GetLabels() map[string]string

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetSourceDetails

func (x *Source) GetSourceDetails() isSource_SourceDetails

func (*Source) GetUpdateTime

func (x *Source) GetUpdateTime() *timestamppb.Timestamp

func (*Source) GetVmware

func (x *Source) GetVmware() *VmwareSourceDetails

func (*Source) HasAws

func (x *Source) HasAws() bool

func (*Source) HasCreateTime

func (x *Source) HasCreateTime() bool

func (*Source) HasSourceDetails

func (x *Source) HasSourceDetails() bool

func (*Source) HasUpdateTime

func (x *Source) HasUpdateTime() bool

func (*Source) HasVmware

func (x *Source) HasVmware() bool

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) SetAws

func (x *Source) SetAws(v *AwsSourceDetails)

func (*Source) SetCreateTime

func (x *Source) SetCreateTime(v *timestamppb.Timestamp)

func (*Source) SetDescription

func (x *Source) SetDescription(v string)

func (*Source) SetLabels

func (x *Source) SetLabels(v map[string]string)

func (*Source) SetName

func (x *Source) SetName(v string)

func (*Source) SetUpdateTime

func (x *Source) SetUpdateTime(v *timestamppb.Timestamp)

func (*Source) SetVmware

func (x *Source) SetVmware(v *VmwareSourceDetails)

func (*Source) String

func (x *Source) String() string

func (*Source) WhichSourceDetails

func (x *Source) WhichSourceDetails() case_Source_SourceDetails

type SourceCreatedEvent

type SourceCreatedEvent struct {

	// The data associated with the event.
	Data *SourceEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Source is created.

func (*SourceCreatedEvent) ClearData

func (x *SourceCreatedEvent) ClearData()

func (*SourceCreatedEvent) GetData

func (x *SourceCreatedEvent) GetData() *SourceEventData

func (*SourceCreatedEvent) HasData

func (x *SourceCreatedEvent) HasData() bool

func (*SourceCreatedEvent) ProtoMessage

func (*SourceCreatedEvent) ProtoMessage()

func (*SourceCreatedEvent) ProtoReflect

func (x *SourceCreatedEvent) ProtoReflect() protoreflect.Message

func (*SourceCreatedEvent) Reset

func (x *SourceCreatedEvent) Reset()

func (*SourceCreatedEvent) SetData

func (x *SourceCreatedEvent) SetData(v *SourceEventData)

func (*SourceCreatedEvent) String

func (x *SourceCreatedEvent) String() string

type SourceCreatedEvent_builder

type SourceCreatedEvent_builder struct {

	// The data associated with the event.
	Data *SourceEventData
	// contains filtered or unexported fields
}

func (SourceCreatedEvent_builder) Build

type SourceDeletedEvent

type SourceDeletedEvent struct {

	// The data associated with the event.
	Data *SourceEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Source is deleted.

func (*SourceDeletedEvent) ClearData

func (x *SourceDeletedEvent) ClearData()

func (*SourceDeletedEvent) GetData

func (x *SourceDeletedEvent) GetData() *SourceEventData

func (*SourceDeletedEvent) HasData

func (x *SourceDeletedEvent) HasData() bool

func (*SourceDeletedEvent) ProtoMessage

func (*SourceDeletedEvent) ProtoMessage()

func (*SourceDeletedEvent) ProtoReflect

func (x *SourceDeletedEvent) ProtoReflect() protoreflect.Message

func (*SourceDeletedEvent) Reset

func (x *SourceDeletedEvent) Reset()

func (*SourceDeletedEvent) SetData

func (x *SourceDeletedEvent) SetData(v *SourceEventData)

func (*SourceDeletedEvent) String

func (x *SourceDeletedEvent) String() string

type SourceDeletedEvent_builder

type SourceDeletedEvent_builder struct {

	// The data associated with the event.
	Data *SourceEventData
	// contains filtered or unexported fields
}

func (SourceDeletedEvent_builder) Build

type SourceEventData

type SourceEventData struct {

	// Optional. The Source event payload. Unset for deletion events.
	Payload *Source `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all Source events.

func (*SourceEventData) ClearPayload

func (x *SourceEventData) ClearPayload()

func (*SourceEventData) GetPayload

func (x *SourceEventData) GetPayload() *Source

func (*SourceEventData) HasPayload

func (x *SourceEventData) HasPayload() bool

func (*SourceEventData) ProtoMessage

func (*SourceEventData) ProtoMessage()

func (*SourceEventData) ProtoReflect

func (x *SourceEventData) ProtoReflect() protoreflect.Message

func (*SourceEventData) Reset

func (x *SourceEventData) Reset()

func (*SourceEventData) SetPayload

func (x *SourceEventData) SetPayload(v *Source)

func (*SourceEventData) String

func (x *SourceEventData) String() string

type SourceEventData_builder

type SourceEventData_builder struct {

	// Optional. The Source event payload. Unset for deletion events.
	Payload *Source
	// contains filtered or unexported fields
}

func (SourceEventData_builder) Build

type SourceUpdatedEvent

type SourceUpdatedEvent struct {

	// The data associated with the event.
	Data *SourceEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a Source is updated.

func (*SourceUpdatedEvent) ClearData

func (x *SourceUpdatedEvent) ClearData()

func (*SourceUpdatedEvent) GetData

func (x *SourceUpdatedEvent) GetData() *SourceEventData

func (*SourceUpdatedEvent) HasData

func (x *SourceUpdatedEvent) HasData() bool

func (*SourceUpdatedEvent) ProtoMessage

func (*SourceUpdatedEvent) ProtoMessage()

func (*SourceUpdatedEvent) ProtoReflect

func (x *SourceUpdatedEvent) ProtoReflect() protoreflect.Message

func (*SourceUpdatedEvent) Reset

func (x *SourceUpdatedEvent) Reset()

func (*SourceUpdatedEvent) SetData

func (x *SourceUpdatedEvent) SetData(v *SourceEventData)

func (*SourceUpdatedEvent) String

func (x *SourceUpdatedEvent) String() string

type SourceUpdatedEvent_builder

type SourceUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *SourceEventData
	// contains filtered or unexported fields
}

func (SourceUpdatedEvent_builder) Build

type Source_Aws

type Source_Aws struct {
	// AWS type source details.
	Aws *AwsSourceDetails `protobuf:"bytes,12,opt,name=aws,proto3,oneof"`
}

type Source_Vmware

type Source_Vmware struct {
	// Vmware type source details.
	Vmware *VmwareSourceDetails `protobuf:"bytes,10,opt,name=vmware,proto3,oneof"`
}

type Source_builder

type Source_builder struct {

	// Fields of oneof SourceDetails:
	// Vmware type source details.
	Vmware *VmwareSourceDetails
	// AWS type source details.
	Aws *AwsSourceDetails
	// -- end of SourceDetails
	// Output only. The Source name.
	Name string
	// Output only. The create time timestamp.
	CreateTime *timestamppb.Timestamp
	// Output only. The update time timestamp.
	UpdateTime *timestamppb.Timestamp
	// The labels of the source.
	Labels map[string]string
	// User-provided description of the source.
	Description string
	// contains filtered or unexported fields
}

func (Source_builder) Build

func (b0 Source_builder) Build() *Source

type TargetProject

type TargetProject struct {

	// Output only. The name of the target project.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The target project ID (number) or project name.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// The target project's description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this target project resource was created (not related
	// to when the Compute Engine project it points to was created).
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last time the target project resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

TargetProject message represents a target Compute Engine project for a migration or a clone.

func (*TargetProject) ClearCreateTime

func (x *TargetProject) ClearCreateTime()

func (*TargetProject) ClearUpdateTime

func (x *TargetProject) ClearUpdateTime()

func (*TargetProject) GetCreateTime

func (x *TargetProject) GetCreateTime() *timestamppb.Timestamp

func (*TargetProject) GetDescription

func (x *TargetProject) GetDescription() string

func (*TargetProject) GetName

func (x *TargetProject) GetName() string

func (*TargetProject) GetProject

func (x *TargetProject) GetProject() string

func (*TargetProject) GetUpdateTime

func (x *TargetProject) GetUpdateTime() *timestamppb.Timestamp

func (*TargetProject) HasCreateTime

func (x *TargetProject) HasCreateTime() bool

func (*TargetProject) HasUpdateTime

func (x *TargetProject) HasUpdateTime() bool

func (*TargetProject) ProtoMessage

func (*TargetProject) ProtoMessage()

func (*TargetProject) ProtoReflect

func (x *TargetProject) ProtoReflect() protoreflect.Message

func (*TargetProject) Reset

func (x *TargetProject) Reset()

func (*TargetProject) SetCreateTime

func (x *TargetProject) SetCreateTime(v *timestamppb.Timestamp)

func (*TargetProject) SetDescription

func (x *TargetProject) SetDescription(v string)

func (*TargetProject) SetName

func (x *TargetProject) SetName(v string)

func (*TargetProject) SetProject

func (x *TargetProject) SetProject(v string)

func (*TargetProject) SetUpdateTime

func (x *TargetProject) SetUpdateTime(v *timestamppb.Timestamp)

func (*TargetProject) String

func (x *TargetProject) String() string

type TargetProjectCreatedEvent

type TargetProjectCreatedEvent struct {

	// The data associated with the event.
	Data *TargetProjectEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a TargetProject is created.

func (*TargetProjectCreatedEvent) ClearData

func (x *TargetProjectCreatedEvent) ClearData()

func (*TargetProjectCreatedEvent) GetData

func (*TargetProjectCreatedEvent) HasData

func (x *TargetProjectCreatedEvent) HasData() bool

func (*TargetProjectCreatedEvent) ProtoMessage

func (*TargetProjectCreatedEvent) ProtoMessage()

func (*TargetProjectCreatedEvent) ProtoReflect

func (*TargetProjectCreatedEvent) Reset

func (x *TargetProjectCreatedEvent) Reset()

func (*TargetProjectCreatedEvent) SetData

func (*TargetProjectCreatedEvent) String

func (x *TargetProjectCreatedEvent) String() string

type TargetProjectCreatedEvent_builder

type TargetProjectCreatedEvent_builder struct {

	// The data associated with the event.
	Data *TargetProjectEventData
	// contains filtered or unexported fields
}

func (TargetProjectCreatedEvent_builder) Build

type TargetProjectDeletedEvent

type TargetProjectDeletedEvent struct {

	// The data associated with the event.
	Data *TargetProjectEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a TargetProject is deleted.

func (*TargetProjectDeletedEvent) ClearData

func (x *TargetProjectDeletedEvent) ClearData()

func (*TargetProjectDeletedEvent) GetData

func (*TargetProjectDeletedEvent) HasData

func (x *TargetProjectDeletedEvent) HasData() bool

func (*TargetProjectDeletedEvent) ProtoMessage

func (*TargetProjectDeletedEvent) ProtoMessage()

func (*TargetProjectDeletedEvent) ProtoReflect

func (*TargetProjectDeletedEvent) Reset

func (x *TargetProjectDeletedEvent) Reset()

func (*TargetProjectDeletedEvent) SetData

func (*TargetProjectDeletedEvent) String

func (x *TargetProjectDeletedEvent) String() string

type TargetProjectDeletedEvent_builder

type TargetProjectDeletedEvent_builder struct {

	// The data associated with the event.
	Data *TargetProjectEventData
	// contains filtered or unexported fields
}

func (TargetProjectDeletedEvent_builder) Build

type TargetProjectEventData

type TargetProjectEventData struct {

	// Optional. The TargetProject event payload. Unset for deletion events.
	Payload *TargetProject `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all TargetProject events.

func (*TargetProjectEventData) ClearPayload

func (x *TargetProjectEventData) ClearPayload()

func (*TargetProjectEventData) GetPayload

func (x *TargetProjectEventData) GetPayload() *TargetProject

func (*TargetProjectEventData) HasPayload

func (x *TargetProjectEventData) HasPayload() bool

func (*TargetProjectEventData) ProtoMessage

func (*TargetProjectEventData) ProtoMessage()

func (*TargetProjectEventData) ProtoReflect

func (x *TargetProjectEventData) ProtoReflect() protoreflect.Message

func (*TargetProjectEventData) Reset

func (x *TargetProjectEventData) Reset()

func (*TargetProjectEventData) SetPayload

func (x *TargetProjectEventData) SetPayload(v *TargetProject)

func (*TargetProjectEventData) String

func (x *TargetProjectEventData) String() string

type TargetProjectEventData_builder

type TargetProjectEventData_builder struct {

	// Optional. The TargetProject event payload. Unset for deletion events.
	Payload *TargetProject
	// contains filtered or unexported fields
}

func (TargetProjectEventData_builder) Build

type TargetProjectUpdatedEvent

type TargetProjectUpdatedEvent struct {

	// The data associated with the event.
	Data *TargetProjectEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when a TargetProject is updated.

func (*TargetProjectUpdatedEvent) ClearData

func (x *TargetProjectUpdatedEvent) ClearData()

func (*TargetProjectUpdatedEvent) GetData

func (*TargetProjectUpdatedEvent) HasData

func (x *TargetProjectUpdatedEvent) HasData() bool

func (*TargetProjectUpdatedEvent) ProtoMessage

func (*TargetProjectUpdatedEvent) ProtoMessage()

func (*TargetProjectUpdatedEvent) ProtoReflect

func (*TargetProjectUpdatedEvent) Reset

func (x *TargetProjectUpdatedEvent) Reset()

func (*TargetProjectUpdatedEvent) SetData

func (*TargetProjectUpdatedEvent) String

func (x *TargetProjectUpdatedEvent) String() string

type TargetProjectUpdatedEvent_builder

type TargetProjectUpdatedEvent_builder struct {

	// The data associated with the event.
	Data *TargetProjectEventData
	// contains filtered or unexported fields
}

func (TargetProjectUpdatedEvent_builder) Build

type TargetProject_builder

type TargetProject_builder struct {

	// Output only. The name of the target project.
	Name string
	// The target project ID (number) or project name.
	Project string
	// The target project's description.
	Description string
	// Output only. The time this target project resource was created (not related
	// to when the Compute Engine project it points to was created).
	CreateTime *timestamppb.Timestamp
	// Output only. The last time the target project resource was updated.
	UpdateTime *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (TargetProject_builder) Build

type UpgradeStatus

type UpgradeStatus struct {

	// The version to upgrade to.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The state of the upgradeAppliance operation.
	State UpgradeStatus_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.events.cloud.vmmigration.v1.UpgradeStatus_State" json:"state,omitempty"`
	// Provides details on the state of the upgrade operation in case of an error.
	Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// The time the operation was started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The version from which we upgraded.
	PreviousVersion string `protobuf:"bytes,5,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty"`
	// contains filtered or unexported fields
}

UpgradeStatus contains information about upgradeAppliance operation.

func (*UpgradeStatus) ClearError

func (x *UpgradeStatus) ClearError()

func (*UpgradeStatus) ClearStartTime

func (x *UpgradeStatus) ClearStartTime()

func (*UpgradeStatus) GetError

func (x *UpgradeStatus) GetError() *status.Status

func (*UpgradeStatus) GetPreviousVersion

func (x *UpgradeStatus) GetPreviousVersion() string

func (*UpgradeStatus) GetStartTime

func (x *UpgradeStatus) GetStartTime() *timestamppb.Timestamp

func (*UpgradeStatus) GetState

func (x *UpgradeStatus) GetState() UpgradeStatus_State

func (*UpgradeStatus) GetVersion

func (x *UpgradeStatus) GetVersion() string

func (*UpgradeStatus) HasError

func (x *UpgradeStatus) HasError() bool

func (*UpgradeStatus) HasStartTime

func (x *UpgradeStatus) HasStartTime() bool

func (*UpgradeStatus) ProtoMessage

func (*UpgradeStatus) ProtoMessage()

func (*UpgradeStatus) ProtoReflect

func (x *UpgradeStatus) ProtoReflect() protoreflect.Message

func (*UpgradeStatus) Reset

func (x *UpgradeStatus) Reset()

func (*UpgradeStatus) SetError

func (x *UpgradeStatus) SetError(v *status.Status)

func (*UpgradeStatus) SetPreviousVersion

func (x *UpgradeStatus) SetPreviousVersion(v string)

func (*UpgradeStatus) SetStartTime

func (x *UpgradeStatus) SetStartTime(v *timestamppb.Timestamp)

func (*UpgradeStatus) SetState

func (x *UpgradeStatus) SetState(v UpgradeStatus_State)

func (*UpgradeStatus) SetVersion

func (x *UpgradeStatus) SetVersion(v string)

func (*UpgradeStatus) String

func (x *UpgradeStatus) String() string

type UpgradeStatus_State

type UpgradeStatus_State int32

The possible values of the state.

const (
	// The state was not sampled by the health checks yet.
	UpgradeStatus_STATE_UNSPECIFIED UpgradeStatus_State = 0
	// The upgrade has started.
	UpgradeStatus_RUNNING UpgradeStatus_State = 1
	// The upgrade failed.
	UpgradeStatus_FAILED UpgradeStatus_State = 2
	// The upgrade finished successfully.
	UpgradeStatus_SUCCEEDED UpgradeStatus_State = 3
)

func (UpgradeStatus_State) Descriptor

func (UpgradeStatus_State) Enum

func (UpgradeStatus_State) Number

func (UpgradeStatus_State) String

func (x UpgradeStatus_State) String() string

func (UpgradeStatus_State) Type

type UpgradeStatus_builder

type UpgradeStatus_builder struct {

	// The version to upgrade to.
	Version string
	// The state of the upgradeAppliance operation.
	State UpgradeStatus_State
	// Provides details on the state of the upgrade operation in case of an error.
	Error *status.Status
	// The time the operation was started.
	StartTime *timestamppb.Timestamp
	// The version from which we upgraded.
	PreviousVersion string
	// contains filtered or unexported fields
}

func (UpgradeStatus_builder) Build

type UtilizationReport

type UtilizationReport struct {

	// Output only. The report unique name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The report display name, as assigned by the user.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Current state of the report.
	State UtilizationReport_State `` /* 128-byte string literal not displayed */
	// Output only. The time the state was last set.
	StateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=state_time,json=stateTime,proto3" json:"state_time,omitempty"`
	// Output only. Provides details on the state of the report in case of an
	// error.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. The time the report was created (this refers to the time of
	// the request, not the time the report creation completed).
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time frame of the report.
	TimeFrame UtilizationReport_TimeFrame `` /* 157-byte string literal not displayed */
	// Output only. The point in time when the time frame ends. Notice that the
	// time frame is counted backwards. For instance if the "frame_end_time" value
	// is 2021/01/20 and the time frame is WEEK then the report covers the week
	// between 2021/01/20 and 2021/01/14.
	FrameEndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=frame_end_time,json=frameEndTime,proto3" json:"frame_end_time,omitempty"`
	// Output only. Total number of VMs included in the report.
	VmCount int32 `protobuf:"varint,9,opt,name=vm_count,json=vmCount,proto3" json:"vm_count,omitempty"`
	// List of utilization information per VM.
	// When sent as part of the request, the "vm_id" field is used in order to
	// specify which VMs to include in the report. In that case all other fields
	// are ignored.
	Vms []*VmUtilizationInfo `protobuf:"bytes,10,rep,name=vms,proto3" json:"vms,omitempty"`
	// contains filtered or unexported fields
}

Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.

func (*UtilizationReport) ClearCreateTime

func (x *UtilizationReport) ClearCreateTime()

func (*UtilizationReport) ClearError

func (x *UtilizationReport) ClearError()

func (*UtilizationReport) ClearFrameEndTime

func (x *UtilizationReport) ClearFrameEndTime()

func (*UtilizationReport) ClearStateTime

func (x *UtilizationReport) ClearStateTime()

func (*UtilizationReport) GetCreateTime

func (x *UtilizationReport) GetCreateTime() *timestamppb.Timestamp

func (*UtilizationReport) GetDisplayName

func (x *UtilizationReport) GetDisplayName() string

func (*UtilizationReport) GetError

func (x *UtilizationReport) GetError() *status.Status

func (*UtilizationReport) GetFrameEndTime

func (x *UtilizationReport) GetFrameEndTime() *timestamppb.Timestamp

func (*UtilizationReport) GetName

func (x *UtilizationReport) GetName() string

func (*UtilizationReport) GetState

func (*UtilizationReport) GetStateTime

func (x *UtilizationReport) GetStateTime() *timestamppb.Timestamp

func (*UtilizationReport) GetTimeFrame

func (*UtilizationReport) GetVmCount

func (x *UtilizationReport) GetVmCount() int32

func (*UtilizationReport) GetVms

func (x *UtilizationReport) GetVms() []*VmUtilizationInfo

func (*UtilizationReport) HasCreateTime

func (x *UtilizationReport) HasCreateTime() bool

func (*UtilizationReport) HasError

func (x *UtilizationReport) HasError() bool

func (*UtilizationReport) HasFrameEndTime

func (x *UtilizationReport) HasFrameEndTime() bool

func (*UtilizationReport) HasStateTime

func (x *UtilizationReport) HasStateTime() bool

func (*UtilizationReport) ProtoMessage

func (*UtilizationReport) ProtoMessage()

func (*UtilizationReport) ProtoReflect

func (x *UtilizationReport) ProtoReflect() protoreflect.Message

func (*UtilizationReport) Reset

func (x *UtilizationReport) Reset()

func (*UtilizationReport) SetCreateTime

func (x *UtilizationReport) SetCreateTime(v *timestamppb.Timestamp)

func (*UtilizationReport) SetDisplayName

func (x *UtilizationReport) SetDisplayName(v string)

func (*UtilizationReport) SetError

func (x *UtilizationReport) SetError(v *status.Status)

func (*UtilizationReport) SetFrameEndTime

func (x *UtilizationReport) SetFrameEndTime(v *timestamppb.Timestamp)

func (*UtilizationReport) SetName

func (x *UtilizationReport) SetName(v string)

func (*UtilizationReport) SetState

func (*UtilizationReport) SetStateTime

func (x *UtilizationReport) SetStateTime(v *timestamppb.Timestamp)

func (*UtilizationReport) SetTimeFrame

func (*UtilizationReport) SetVmCount

func (x *UtilizationReport) SetVmCount(v int32)

func (*UtilizationReport) SetVms

func (x *UtilizationReport) SetVms(v []*VmUtilizationInfo)

func (*UtilizationReport) String

func (x *UtilizationReport) String() string

type UtilizationReportCreatedEvent

type UtilizationReportCreatedEvent struct {

	// The data associated with the event.
	Data *UtilizationReportEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when an UtilizationReport is created.

func (*UtilizationReportCreatedEvent) ClearData

func (x *UtilizationReportCreatedEvent) ClearData()

func (*UtilizationReportCreatedEvent) GetData

func (*UtilizationReportCreatedEvent) HasData

func (x *UtilizationReportCreatedEvent) HasData() bool

func (*UtilizationReportCreatedEvent) ProtoMessage

func (*UtilizationReportCreatedEvent) ProtoMessage()

func (*UtilizationReportCreatedEvent) ProtoReflect

func (*UtilizationReportCreatedEvent) Reset

func (x *UtilizationReportCreatedEvent) Reset()

func (*UtilizationReportCreatedEvent) SetData

func (*UtilizationReportCreatedEvent) String

type UtilizationReportCreatedEvent_builder

type UtilizationReportCreatedEvent_builder struct {

	// The data associated with the event.
	Data *UtilizationReportEventData
	// contains filtered or unexported fields
}

func (UtilizationReportCreatedEvent_builder) Build

type UtilizationReportDeletedEvent

type UtilizationReportDeletedEvent struct {

	// The data associated with the event.
	Data *UtilizationReportEventData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The CloudEvent raised when an UtilizationReport is deleted.

func (*UtilizationReportDeletedEvent) ClearData

func (x *UtilizationReportDeletedEvent) ClearData()

func (*UtilizationReportDeletedEvent) GetData

func (*UtilizationReportDeletedEvent) HasData

func (x *UtilizationReportDeletedEvent) HasData() bool

func (*UtilizationReportDeletedEvent) ProtoMessage

func (*UtilizationReportDeletedEvent) ProtoMessage()

func (*UtilizationReportDeletedEvent) ProtoReflect

func (*UtilizationReportDeletedEvent) Reset

func (x *UtilizationReportDeletedEvent) Reset()

func (*UtilizationReportDeletedEvent) SetData

func (*UtilizationReportDeletedEvent) String

type UtilizationReportDeletedEvent_builder

type UtilizationReportDeletedEvent_builder struct {

	// The data associated with the event.
	Data *UtilizationReportEventData
	// contains filtered or unexported fields
}

func (UtilizationReportDeletedEvent_builder) Build

type UtilizationReportEventData

type UtilizationReportEventData struct {

	// Optional. The UtilizationReport event payload. Unset for deletion events.
	Payload *UtilizationReport `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The data within all UtilizationReport events.

func (*UtilizationReportEventData) ClearPayload

func (x *UtilizationReportEventData) ClearPayload()

func (*UtilizationReportEventData) GetPayload

func (*UtilizationReportEventData) HasPayload

func (x *UtilizationReportEventData) HasPayload() bool

func (*UtilizationReportEventData) ProtoMessage

func (*UtilizationReportEventData) ProtoMessage()

func (*UtilizationReportEventData) ProtoReflect

func (*UtilizationReportEventData) Reset

func (x *UtilizationReportEventData) Reset()

func (*UtilizationReportEventData) SetPayload

func (*UtilizationReportEventData) String

func (x *UtilizationReportEventData) String() string

type UtilizationReportEventData_builder

type UtilizationReportEventData_builder struct {

	// Optional. The UtilizationReport event payload. Unset for deletion events.
	Payload *UtilizationReport
	// contains filtered or unexported fields
}

func (UtilizationReportEventData_builder) Build

type UtilizationReport_State

type UtilizationReport_State int32

Utilization report state.

const (
	// The state is unknown. This value is not in use.
	UtilizationReport_STATE_UNSPECIFIED UtilizationReport_State = 0
	// The report is in the making.
	UtilizationReport_CREATING UtilizationReport_State = 1
	// Report creation completed successfully.
	UtilizationReport_SUCCEEDED UtilizationReport_State = 2
	// Report creation failed.
	UtilizationReport_FAILED UtilizationReport_State = 3
)

func (UtilizationReport_State) Descriptor

func (UtilizationReport_State) Enum

func (UtilizationReport_State) Number

func (UtilizationReport_State) String

func (x UtilizationReport_State) String() string

func (UtilizationReport_State) Type

type UtilizationReport_TimeFrame

type UtilizationReport_TimeFrame int32

Report time frame options.

const (
	// The time frame was not specified and will default to WEEK.
	UtilizationReport_TIME_FRAME_UNSPECIFIED UtilizationReport_TimeFrame = 0
	// One week.
	UtilizationReport_WEEK UtilizationReport_TimeFrame = 1
	// One month.
	UtilizationReport_MONTH UtilizationReport_TimeFrame = 2
	// One year.
	UtilizationReport_YEAR UtilizationReport_TimeFrame = 3
)

func (UtilizationReport_TimeFrame) Descriptor

func (UtilizationReport_TimeFrame) Enum

func (UtilizationReport_TimeFrame) Number

func (UtilizationReport_TimeFrame) String

func (UtilizationReport_TimeFrame) Type

type UtilizationReport_builder

type UtilizationReport_builder struct {

	// Output only. The report unique name.
	Name string
	// The report display name, as assigned by the user.
	DisplayName string
	// Output only. Current state of the report.
	State UtilizationReport_State
	// Output only. The time the state was last set.
	StateTime *timestamppb.Timestamp
	// Output only. Provides details on the state of the report in case of an
	// error.
	Error *status.Status
	// Output only. The time the report was created (this refers to the time of
	// the request, not the time the report creation completed).
	CreateTime *timestamppb.Timestamp
	// Time frame of the report.
	TimeFrame UtilizationReport_TimeFrame
	// Output only. The point in time when the time frame ends. Notice that the
	// time frame is counted backwards. For instance if the "frame_end_time" value
	// is 2021/01/20 and the time frame is WEEK then the report covers the week
	// between 2021/01/20 and 2021/01/14.
	FrameEndTime *timestamppb.Timestamp
	// Output only. Total number of VMs included in the report.
	VmCount int32
	// List of utilization information per VM.
	// When sent as part of the request, the "vm_id" field is used in order to
	// specify which VMs to include in the report. In that case all other fields
	// are ignored.
	Vms []*VmUtilizationInfo
	// contains filtered or unexported fields
}

func (UtilizationReport_builder) Build

type VmUtilizationInfo

type VmUtilizationInfo struct {

	// Types that are valid to be assigned to VmDetails:
	//
	//	*VmUtilizationInfo_VmwareVmDetails
	VmDetails isVmUtilizationInfo_VmDetails `protobuf_oneof:"VmDetails"`
	// The VM's ID in the source.
	VmId string `protobuf:"bytes,3,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
	// Utilization metrics for this VM.
	Utilization *VmUtilizationMetrics `protobuf:"bytes,2,opt,name=utilization,proto3" json:"utilization,omitempty"`
	// contains filtered or unexported fields
}

Utilization information of a single VM.

func (*VmUtilizationInfo) ClearUtilization

func (x *VmUtilizationInfo) ClearUtilization()

func (*VmUtilizationInfo) ClearVmDetails

func (x *VmUtilizationInfo) ClearVmDetails()

func (*VmUtilizationInfo) ClearVmwareVmDetails

func (x *VmUtilizationInfo) ClearVmwareVmDetails()

func (*VmUtilizationInfo) GetUtilization

func (x *VmUtilizationInfo) GetUtilization() *VmUtilizationMetrics

func (*VmUtilizationInfo) GetVmDetails

func (x *VmUtilizationInfo) GetVmDetails() isVmUtilizationInfo_VmDetails

func (*VmUtilizationInfo) GetVmId

func (x *VmUtilizationInfo) GetVmId() string

func (*VmUtilizationInfo) GetVmwareVmDetails

func (x *VmUtilizationInfo) GetVmwareVmDetails() *VmwareVmDetails

func (*VmUtilizationInfo) HasUtilization

func (x *VmUtilizationInfo) HasUtilization() bool

func (*VmUtilizationInfo) HasVmDetails

func (x *VmUtilizationInfo) HasVmDetails() bool

func (*VmUtilizationInfo) HasVmwareVmDetails

func (x *VmUtilizationInfo) HasVmwareVmDetails() bool

func (*VmUtilizationInfo) ProtoMessage

func (*VmUtilizationInfo) ProtoMessage()

func (*VmUtilizationInfo) ProtoReflect

func (x *VmUtilizationInfo) ProtoReflect() protoreflect.Message

func (*VmUtilizationInfo) Reset

func (x *VmUtilizationInfo) Reset()

func (*VmUtilizationInfo) SetUtilization

func (x *VmUtilizationInfo) SetUtilization(v *VmUtilizationMetrics)

func (*VmUtilizationInfo) SetVmId

func (x *VmUtilizationInfo) SetVmId(v string)

func (*VmUtilizationInfo) SetVmwareVmDetails

func (x *VmUtilizationInfo) SetVmwareVmDetails(v *VmwareVmDetails)

func (*VmUtilizationInfo) String

func (x *VmUtilizationInfo) String() string

func (*VmUtilizationInfo) WhichVmDetails

func (x *VmUtilizationInfo) WhichVmDetails() case_VmUtilizationInfo_VmDetails

type VmUtilizationInfo_VmwareVmDetails

type VmUtilizationInfo_VmwareVmDetails struct {
	// The description of the VM in a Source of type Vmware.
	VmwareVmDetails *VmwareVmDetails `protobuf:"bytes,1,opt,name=vmware_vm_details,json=vmwareVmDetails,proto3,oneof"`
}

type VmUtilizationInfo_builder

type VmUtilizationInfo_builder struct {

	// Fields of oneof VmDetails:
	// The description of the VM in a Source of type Vmware.
	VmwareVmDetails *VmwareVmDetails
	// -- end of VmDetails
	// The VM's ID in the source.
	VmId string
	// Utilization metrics for this VM.
	Utilization *VmUtilizationMetrics
	// contains filtered or unexported fields
}

func (VmUtilizationInfo_builder) Build

type VmUtilizationMetrics

type VmUtilizationMetrics struct {

	// Max CPU usage, percent.
	CpuMaxPercent int32 `protobuf:"varint,9,opt,name=cpu_max_percent,json=cpuMaxPercent,proto3" json:"cpu_max_percent,omitempty"`
	// Average CPU usage, percent.
	CpuAveragePercent int32 `protobuf:"varint,10,opt,name=cpu_average_percent,json=cpuAveragePercent,proto3" json:"cpu_average_percent,omitempty"`
	// Max memory usage, percent.
	MemoryMaxPercent int32 `protobuf:"varint,11,opt,name=memory_max_percent,json=memoryMaxPercent,proto3" json:"memory_max_percent,omitempty"`
	// Average memory usage, percent.
	MemoryAveragePercent int32 `protobuf:"varint,12,opt,name=memory_average_percent,json=memoryAveragePercent,proto3" json:"memory_average_percent,omitempty"`
	// Max disk IO rate, in kilobytes per second.
	DiskIoRateMaxKbps int64 `protobuf:"varint,13,opt,name=disk_io_rate_max_kbps,json=diskIoRateMaxKbps,proto3" json:"disk_io_rate_max_kbps,omitempty"`
	// Average disk IO rate, in kilobytes per second.
	DiskIoRateAverageKbps int64 `` /* 132-byte string literal not displayed */
	// Max network throughput (combined transmit-rates and receive-rates), in
	// kilobytes per second.
	NetworkThroughputMaxKbps int64 `` /* 139-byte string literal not displayed */
	// Average network throughput (combined transmit-rates and receive-rates), in
	// kilobytes per second.
	NetworkThroughputAverageKbps int64 `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Utilization metrics values for a single VM.

func (*VmUtilizationMetrics) GetCpuAveragePercent

func (x *VmUtilizationMetrics) GetCpuAveragePercent() int32

func (*VmUtilizationMetrics) GetCpuMaxPercent

func (x *VmUtilizationMetrics) GetCpuMaxPercent() int32

func (*VmUtilizationMetrics) GetDiskIoRateAverageKbps

func (x *VmUtilizationMetrics) GetDiskIoRateAverageKbps() int64

func (*VmUtilizationMetrics) GetDiskIoRateMaxKbps

func (x *VmUtilizationMetrics) GetDiskIoRateMaxKbps() int64

func (*VmUtilizationMetrics) GetMemoryAveragePercent

func (x *VmUtilizationMetrics) GetMemoryAveragePercent() int32

func (*VmUtilizationMetrics) GetMemoryMaxPercent

func (x *VmUtilizationMetrics) GetMemoryMaxPercent() int32

func (*VmUtilizationMetrics) GetNetworkThroughputAverageKbps

func (x *VmUtilizationMetrics) GetNetworkThroughputAverageKbps() int64

func (*VmUtilizationMetrics) GetNetworkThroughputMaxKbps

func (x *VmUtilizationMetrics) GetNetworkThroughputMaxKbps() int64

func (*VmUtilizationMetrics) ProtoMessage

func (*VmUtilizationMetrics) ProtoMessage()

func (*VmUtilizationMetrics) ProtoReflect

func (x *VmUtilizationMetrics) ProtoReflect() protoreflect.Message

func (*VmUtilizationMetrics) Reset

func (x *VmUtilizationMetrics) Reset()

func (*VmUtilizationMetrics) SetCpuAveragePercent

func (x *VmUtilizationMetrics) SetCpuAveragePercent(v int32)

func (*VmUtilizationMetrics) SetCpuMaxPercent

func (x *VmUtilizationMetrics) SetCpuMaxPercent(v int32)

func (*VmUtilizationMetrics) SetDiskIoRateAverageKbps

func (x *VmUtilizationMetrics) SetDiskIoRateAverageKbps(v int64)

func (*VmUtilizationMetrics) SetDiskIoRateMaxKbps

func (x *VmUtilizationMetrics) SetDiskIoRateMaxKbps(v int64)

func (*VmUtilizationMetrics) SetMemoryAveragePercent

func (x *VmUtilizationMetrics) SetMemoryAveragePercent(v int32)

func (*VmUtilizationMetrics) SetMemoryMaxPercent

func (x *VmUtilizationMetrics) SetMemoryMaxPercent(v int32)

func (*VmUtilizationMetrics) SetNetworkThroughputAverageKbps

func (x *VmUtilizationMetrics) SetNetworkThroughputAverageKbps(v int64)

func (*VmUtilizationMetrics) SetNetworkThroughputMaxKbps

func (x *VmUtilizationMetrics) SetNetworkThroughputMaxKbps(v int64)

func (*VmUtilizationMetrics) String

func (x *VmUtilizationMetrics) String() string

type VmUtilizationMetrics_builder

type VmUtilizationMetrics_builder struct {

	// Max CPU usage, percent.
	CpuMaxPercent int32
	// Average CPU usage, percent.
	CpuAveragePercent int32
	// Max memory usage, percent.
	MemoryMaxPercent int32
	// Average memory usage, percent.
	MemoryAveragePercent int32
	// Max disk IO rate, in kilobytes per second.
	DiskIoRateMaxKbps int64
	// Average disk IO rate, in kilobytes per second.
	DiskIoRateAverageKbps int64
	// Max network throughput (combined transmit-rates and receive-rates), in
	// kilobytes per second.
	NetworkThroughputMaxKbps int64
	// Average network throughput (combined transmit-rates and receive-rates), in
	// kilobytes per second.
	NetworkThroughputAverageKbps int64
	// contains filtered or unexported fields
}

func (VmUtilizationMetrics_builder) Build

type VmwareSourceDetails

type VmwareSourceDetails struct {

	// The credentials username.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The ip address of the vcenter this Source represents.
	VcenterIp string `protobuf:"bytes,3,opt,name=vcenter_ip,json=vcenterIp,proto3" json:"vcenter_ip,omitempty"`
	// The thumbprint representing the certificate for the vcenter.
	Thumbprint string `protobuf:"bytes,4,opt,name=thumbprint,proto3" json:"thumbprint,omitempty"`
	// The hostname of the vcenter.
	ResolvedVcenterHost string `protobuf:"bytes,5,opt,name=resolved_vcenter_host,json=resolvedVcenterHost,proto3" json:"resolved_vcenter_host,omitempty"`
	// contains filtered or unexported fields
}

VmwareSourceDetails message describes a specific source details for the vmware source type.

func (*VmwareSourceDetails) GetResolvedVcenterHost

func (x *VmwareSourceDetails) GetResolvedVcenterHost() string

func (*VmwareSourceDetails) GetThumbprint

func (x *VmwareSourceDetails) GetThumbprint() string

func (*VmwareSourceDetails) GetUsername

func (x *VmwareSourceDetails) GetUsername() string

func (*VmwareSourceDetails) GetVcenterIp

func (x *VmwareSourceDetails) GetVcenterIp() string

func (*VmwareSourceDetails) ProtoMessage

func (*VmwareSourceDetails) ProtoMessage()

func (*VmwareSourceDetails) ProtoReflect

func (x *VmwareSourceDetails) ProtoReflect() protoreflect.Message

func (*VmwareSourceDetails) Reset

func (x *VmwareSourceDetails) Reset()

func (*VmwareSourceDetails) SetResolvedVcenterHost

func (x *VmwareSourceDetails) SetResolvedVcenterHost(v string)

func (*VmwareSourceDetails) SetThumbprint

func (x *VmwareSourceDetails) SetThumbprint(v string)

func (*VmwareSourceDetails) SetUsername

func (x *VmwareSourceDetails) SetUsername(v string)

func (*VmwareSourceDetails) SetVcenterIp

func (x *VmwareSourceDetails) SetVcenterIp(v string)

func (*VmwareSourceDetails) String

func (x *VmwareSourceDetails) String() string

type VmwareSourceDetails_builder

type VmwareSourceDetails_builder struct {

	// The credentials username.
	Username string
	// The ip address of the vcenter this Source represents.
	VcenterIp string
	// The thumbprint representing the certificate for the vcenter.
	Thumbprint string
	// The hostname of the vcenter.
	ResolvedVcenterHost string
	// contains filtered or unexported fields
}

func (VmwareSourceDetails_builder) Build

type VmwareVmDetails

type VmwareVmDetails struct {

	// The VM's id in the source (note that this is not the MigratingVm's id).
	// This is the moref id of the VM.
	VmId string `protobuf:"bytes,1,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
	// The id of the vCenter's datacenter this VM is contained in.
	DatacenterId string `protobuf:"bytes,2,opt,name=datacenter_id,json=datacenterId,proto3" json:"datacenter_id,omitempty"`
	// The descriptive name of the vCenter's datacenter this VM is contained in.
	DatacenterDescription string `protobuf:"bytes,3,opt,name=datacenter_description,json=datacenterDescription,proto3" json:"datacenter_description,omitempty"`
	// The unique identifier of the VM in vCenter.
	Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// The display name of the VM. Note that this is not necessarily unique.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The power state of the VM at the moment list was taken.
	PowerState VmwareVmDetails_PowerState `` /* 159-byte string literal not displayed */
	// The number of cpus in the VM.
	CpuCount int32 `protobuf:"varint,7,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	// The size of the memory of the VM in MB.
	MemoryMb int32 `protobuf:"varint,8,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"`
	// The number of disks the VM has.
	DiskCount int32 `protobuf:"varint,9,opt,name=disk_count,json=diskCount,proto3" json:"disk_count,omitempty"`
	// The total size of the storage allocated to the VM in MB.
	CommittedStorageMb int64 `protobuf:"varint,12,opt,name=committed_storage_mb,json=committedStorageMb,proto3" json:"committed_storage_mb,omitempty"`
	// The VM's OS. See for example
	// https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
	// for types of strings this might hold.
	GuestDescription string `protobuf:"bytes,11,opt,name=guest_description,json=guestDescription,proto3" json:"guest_description,omitempty"`
	// Output only. The VM Boot Option.
	BootOption VmwareVmDetails_BootOption `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

VmwareVmDetails describes a VM in vCenter.

func (*VmwareVmDetails) GetBootOption

func (x *VmwareVmDetails) GetBootOption() VmwareVmDetails_BootOption

func (*VmwareVmDetails) GetCommittedStorageMb

func (x *VmwareVmDetails) GetCommittedStorageMb() int64

func (*VmwareVmDetails) GetCpuCount

func (x *VmwareVmDetails) GetCpuCount() int32

func (*VmwareVmDetails) GetDatacenterDescription

func (x *VmwareVmDetails) GetDatacenterDescription() string

func (*VmwareVmDetails) GetDatacenterId

func (x *VmwareVmDetails) GetDatacenterId() string

func (*VmwareVmDetails) GetDiskCount

func (x *VmwareVmDetails) GetDiskCount() int32

func (*VmwareVmDetails) GetDisplayName

func (x *VmwareVmDetails) GetDisplayName() string

func (*VmwareVmDetails) GetGuestDescription

func (x *VmwareVmDetails) GetGuestDescription() string

func (*VmwareVmDetails) GetMemoryMb

func (x *VmwareVmDetails) GetMemoryMb() int32

func (*VmwareVmDetails) GetPowerState

func (x *VmwareVmDetails) GetPowerState() VmwareVmDetails_PowerState

func (*VmwareVmDetails) GetUuid

func (x *VmwareVmDetails) GetUuid() string

func (*VmwareVmDetails) GetVmId

func (x *VmwareVmDetails) GetVmId() string

func (*VmwareVmDetails) ProtoMessage

func (*VmwareVmDetails) ProtoMessage()

func (*VmwareVmDetails) ProtoReflect

func (x *VmwareVmDetails) ProtoReflect() protoreflect.Message

func (*VmwareVmDetails) Reset

func (x *VmwareVmDetails) Reset()

func (*VmwareVmDetails) SetBootOption

func (x *VmwareVmDetails) SetBootOption(v VmwareVmDetails_BootOption)

func (*VmwareVmDetails) SetCommittedStorageMb

func (x *VmwareVmDetails) SetCommittedStorageMb(v int64)

func (*VmwareVmDetails) SetCpuCount

func (x *VmwareVmDetails) SetCpuCount(v int32)

func (*VmwareVmDetails) SetDatacenterDescription

func (x *VmwareVmDetails) SetDatacenterDescription(v string)

func (*VmwareVmDetails) SetDatacenterId

func (x *VmwareVmDetails) SetDatacenterId(v string)

func (*VmwareVmDetails) SetDiskCount

func (x *VmwareVmDetails) SetDiskCount(v int32)

func (*VmwareVmDetails) SetDisplayName

func (x *VmwareVmDetails) SetDisplayName(v string)

func (*VmwareVmDetails) SetGuestDescription

func (x *VmwareVmDetails) SetGuestDescription(v string)

func (*VmwareVmDetails) SetMemoryMb

func (x *VmwareVmDetails) SetMemoryMb(v int32)

func (*VmwareVmDetails) SetPowerState

func (x *VmwareVmDetails) SetPowerState(v VmwareVmDetails_PowerState)

func (*VmwareVmDetails) SetUuid

func (x *VmwareVmDetails) SetUuid(v string)

func (*VmwareVmDetails) SetVmId

func (x *VmwareVmDetails) SetVmId(v string)

func (*VmwareVmDetails) String

func (x *VmwareVmDetails) String() string

type VmwareVmDetails_BootOption

type VmwareVmDetails_BootOption int32

Possible values for vm boot option.

const (
	// The boot option is unknown.
	VmwareVmDetails_BOOT_OPTION_UNSPECIFIED VmwareVmDetails_BootOption = 0
	// The boot option is EFI.
	VmwareVmDetails_EFI VmwareVmDetails_BootOption = 1
	// The boot option is BIOS.
	VmwareVmDetails_BIOS VmwareVmDetails_BootOption = 2
)

func (VmwareVmDetails_BootOption) Descriptor

func (VmwareVmDetails_BootOption) Enum

func (VmwareVmDetails_BootOption) Number

func (VmwareVmDetails_BootOption) String

func (VmwareVmDetails_BootOption) Type

type VmwareVmDetails_PowerState

type VmwareVmDetails_PowerState int32

Possible values for the power state of the VM.

const (
	// Power state is not specified.
	VmwareVmDetails_POWER_STATE_UNSPECIFIED VmwareVmDetails_PowerState = 0
	// The VM is turned ON.
	VmwareVmDetails_ON VmwareVmDetails_PowerState = 1
	// The VM is turned OFF.
	VmwareVmDetails_OFF VmwareVmDetails_PowerState = 2
	// The VM is suspended. This is similar to hibernation or sleep mode.
	VmwareVmDetails_SUSPENDED VmwareVmDetails_PowerState = 3
)

func (VmwareVmDetails_PowerState) Descriptor

func (VmwareVmDetails_PowerState) Enum

func (VmwareVmDetails_PowerState) Number

func (VmwareVmDetails_PowerState) String

func (VmwareVmDetails_PowerState) Type

type VmwareVmDetails_builder

type VmwareVmDetails_builder struct {

	// The VM's id in the source (note that this is not the MigratingVm's id).
	// This is the moref id of the VM.
	VmId string
	// The id of the vCenter's datacenter this VM is contained in.
	DatacenterId string
	// The descriptive name of the vCenter's datacenter this VM is contained in.
	DatacenterDescription string
	// The unique identifier of the VM in vCenter.
	Uuid string
	// The display name of the VM. Note that this is not necessarily unique.
	DisplayName string
	// The power state of the VM at the moment list was taken.
	PowerState VmwareVmDetails_PowerState
	// The number of cpus in the VM.
	CpuCount int32
	// The size of the memory of the VM in MB.
	MemoryMb int32
	// The number of disks the VM has.
	DiskCount int32
	// The total size of the storage allocated to the VM in MB.
	CommittedStorageMb int64
	// The VM's OS. See for example
	// https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
	// for types of strings this might hold.
	GuestDescription string
	// Output only. The VM Boot Option.
	BootOption VmwareVmDetails_BootOption
	// contains filtered or unexported fields
}

func (VmwareVmDetails_builder) Build

Source Files

  • data.pb.go
  • events.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL