Interface AnalyzeWorkloadMoveRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeWorkloadMoveRequest,AnalyzeWorkloadMoveRequest.Builder
public interface AnalyzeWorkloadMoveRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetProject()The source type is a project.com.google.protobuf.ByteStringgetProjectBytes()The source type is a project.AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCasegetProjectOrWorkloadResourceCase()StringgetSource()The source type is a project-based workload.com.google.protobuf.ByteStringgetSourceBytes()The source type is a project-based workload.StringgetTarget()Required.com.google.protobuf.ByteStringgetTargetBytes()Required.booleanhasProject()The source type is a project.booleanhasSource()The source type is a project-based workload.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSource
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:
- Whether the source field is set.
-
getSource
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:
- The source.
-
getSourceBytes
com.google.protobuf.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:
- The bytes for source.
-
hasProject
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:
- Whether the project field is set.
-
getProject
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:
- The project.
-
getProjectBytes
com.google.protobuf.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:
- The bytes for project.
-
getTarget
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:
- The target.
-
getTargetBytes
com.google.protobuf.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:
- The bytes for target.
-
getProjectOrWorkloadResourceCase
AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase getProjectOrWorkloadResourceCase()
-
-