public static final class AnalyzeWorkloadMoveRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeWorkloadMoveRequest.Builder> implements AnalyzeWorkloadMoveRequestOrBuilderRequest to check if source workload can be moved to target workload.
Protobuf type google.cloud.assuredworkloads.v1beta1.AnalyzeWorkloadMoveRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeWorkloadMoveRequest.BuilderImplements
AnalyzeWorkloadMoveRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeWorkloadMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
build()
public AnalyzeWorkloadMoveRequest build()| Type | Description |
| AnalyzeWorkloadMoveRequest |
buildPartial()
public AnalyzeWorkloadMoveRequest buildPartial()| Type | Description |
| AnalyzeWorkloadMoveRequest |
clear()
public AnalyzeWorkloadMoveRequest.Builder clear()| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeWorkloadMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeWorkloadMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
clearProject()
public AnalyzeWorkloadMoveRequest.Builder clearProject()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;
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
clearProjectOrWorkloadResource()
public AnalyzeWorkloadMoveRequest.Builder clearProjectOrWorkloadResource()| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
clearSource()
public AnalyzeWorkloadMoveRequest.Builder clearSource()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;
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
clearTarget()
public AnalyzeWorkloadMoveRequest.Builder clearTarget()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];
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
clone()
public AnalyzeWorkloadMoveRequest.Builder clone()| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
getDefaultInstanceForType()
public AnalyzeWorkloadMoveRequest getDefaultInstanceForType()| Type | Description |
| AnalyzeWorkloadMoveRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getProject()
public 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;
| Type | Description |
| String | The project. |
getProjectBytes()
public 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;
| Type | Description |
| ByteString | The bytes for project. |
getProjectOrWorkloadResourceCase()
public AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase getProjectOrWorkloadResourceCase()| Type | Description |
| AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase |
getSource()
public 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;
| Type | Description |
| String | The source. |
getSourceBytes()
public 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;
| Type | Description |
| ByteString | The bytes for source. |
getTarget()
public 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];
| Type | Description |
| String | The target. |
getTargetBytes()
public 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];
| Type | Description |
| ByteString | The bytes for target. |
hasProject()
public 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;
| Type | Description |
| boolean | Whether the project field is set. |
hasSource()
public 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;
| Type | Description |
| boolean | Whether the source field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(AnalyzeWorkloadMoveRequest other)
public AnalyzeWorkloadMoveRequest.Builder mergeFrom(AnalyzeWorkloadMoveRequest other)| Name | Description |
| other | AnalyzeWorkloadMoveRequest |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeWorkloadMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public AnalyzeWorkloadMoveRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeWorkloadMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeWorkloadMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
setProject(String value)
public AnalyzeWorkloadMoveRequest.Builder setProject(String value)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;
| Name | Description |
| value | StringThe project to set. |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setProjectBytes(ByteString value)
public AnalyzeWorkloadMoveRequest.Builder setProjectBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes for project to set. |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeWorkloadMoveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |
setSource(String value)
public AnalyzeWorkloadMoveRequest.Builder setSource(String value)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;
| Name | Description |
| value | StringThe source to set. |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setSourceBytes(ByteString value)
public AnalyzeWorkloadMoveRequest.Builder setSourceBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes for source to set. |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setTarget(String value)
public AnalyzeWorkloadMoveRequest.Builder setTarget(String value)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];
| Name | Description |
| value | StringThe target to set. |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setTargetBytes(ByteString value)
public AnalyzeWorkloadMoveRequest.Builder setTargetBytes(ByteString value)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];
| Name | Description |
| value | ByteStringThe bytes for target to set. |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeWorkloadMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| AnalyzeWorkloadMoveRequest.Builder |