Interface AnalyzeWorkloadMoveRequestOrBuilder (2.17.0)

public interface AnalyzeWorkloadMoveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProject()

public abstract String getProject()

The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID.

string project = 3;

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID.

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 type is a project-based workload. Specify the workloads's relative resource name, 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 type is a project-based workload. Specify the workloads's relative resource name, 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 ID of the folder-based destination workload. This workload is where the source project will hypothetically be moved to. Specify the workload's relative resource name, 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 ID of the folder-based destination workload. This workload is where the source project will hypothetically be moved to. Specify the workload's relative resource name, 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 type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID.

string project = 3;

Returns
TypeDescription
boolean

Whether the project field is set.

hasSource()

public abstract boolean hasSource()

The source type is a project-based workload. Specify the workloads's relative resource name, 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.