Interface AnalyzeWorkloadMoveRequestOrBuilder (2.1.0)

public interface AnalyzeWorkloadMoveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProject()

public abstract String getProject()

The Source is a project based to be moved. This is the project's relative path in the API, formatted as "cloudresourcemanager.googleapis.com/projects/{project_number}" "projects/{project_number}" "cloudresourcemanager.googleapis.com/projects/{project_id}" "projects/{project_id}" For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

string project = 3;

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The Source is a project based to be moved. This is the project's relative path in the API, formatted as "cloudresourcemanager.googleapis.com/projects/{project_number}" "projects/{project_number}" "cloudresourcemanager.googleapis.com/projects/{project_id}" "projects/{project_id}" For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

string project = 3;

Returns
TypeDescription
ByteString

The bytes for project.

getProjectOrWorkloadResourceCase()

public abstract AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase getProjectOrWorkloadResourceCase()
Returns
TypeDescription
AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase

getSource()

public abstract String getSource()

The Source is project based Workload to be moved. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

string source = 1;

Returns
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

The Source is project based Workload to be moved. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

string source = 1;

Returns
TypeDescription
ByteString

The bytes for source.

getTarget()

public abstract String getTarget()

Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-2".

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The target.

getTargetBytes()

public abstract ByteString getTargetBytes()

Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-2".

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for target.

hasProject()

public abstract boolean hasProject()

The Source is a project based to be moved. This is the project's relative path in the API, formatted as "cloudresourcemanager.googleapis.com/projects/{project_number}" "projects/{project_number}" "cloudresourcemanager.googleapis.com/projects/{project_id}" "projects/{project_id}" For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

string project = 3;

Returns
TypeDescription
boolean

Whether the project field is set.

hasSource()

public abstract boolean hasSource()

The Source is project based Workload to be moved. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

string source = 1;

Returns
TypeDescription
boolean

Whether the source field is set.