- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.1.0
- 2.0.0
- 1.1.0
- 1.0.4
- 0.9.0
- 0.8.2
public static final class AnalyzeWorkloadMoveRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeWorkloadMoveRequest.Builder> implements AnalyzeWorkloadMoveRequestOrBuilder
A request to analyze a hypothetical move of a source project or project-based workload to a target (destination) folder-based 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeWorkloadMoveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
build()
public AnalyzeWorkloadMoveRequest build()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest |
buildPartial()
public AnalyzeWorkloadMoveRequest buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest |
clear()
public AnalyzeWorkloadMoveRequest.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeWorkloadMoveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeWorkloadMoveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
clearProject()
public AnalyzeWorkloadMoveRequest.Builder clearProject()
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 | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
clearProjectOrWorkloadResource()
public AnalyzeWorkloadMoveRequest.Builder clearProjectOrWorkloadResource()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
clearSource()
public AnalyzeWorkloadMoveRequest.Builder clearSource()
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 | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
clearTarget()
public AnalyzeWorkloadMoveRequest.Builder clearTarget()
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 | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
clone()
public AnalyzeWorkloadMoveRequest.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
getDefaultInstanceForType()
public AnalyzeWorkloadMoveRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getProject()
public 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 | |
---|---|
Type | Description |
String | The project. |
getProjectBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for project. |
getProjectOrWorkloadResourceCase()
public AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase getProjectOrWorkloadResourceCase()
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceCase |
getSource()
public 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 | |
---|---|
Type | Description |
String | The source. |
getSourceBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for source. |
getTarget()
public 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 | |
---|---|
Type | Description |
String | The target. |
getTargetBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for target. |
hasProject()
public 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 | |
---|---|
Type | Description |
boolean | Whether the project field is set. |
hasSource()
public 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 | |
---|---|
Type | Description |
boolean | Whether the source field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyzeWorkloadMoveRequest other)
public AnalyzeWorkloadMoveRequest.Builder mergeFrom(AnalyzeWorkloadMoveRequest other)
Parameter | |
---|---|
Name | Description |
other | AnalyzeWorkloadMoveRequest |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeWorkloadMoveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzeWorkloadMoveRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeWorkloadMoveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeWorkloadMoveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
setProject(String value)
public AnalyzeWorkloadMoveRequest.Builder setProject(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The project to set. |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setProjectBytes(ByteString value)
public AnalyzeWorkloadMoveRequest.Builder setProjectBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for project to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |
setSource(String value)
public AnalyzeWorkloadMoveRequest.Builder setSource(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The source to set. |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setSourceBytes(ByteString value)
public AnalyzeWorkloadMoveRequest.Builder setSourceBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for source to set. |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setTarget(String value)
public AnalyzeWorkloadMoveRequest.Builder setTarget(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The target to set. |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setTargetBytes(ByteString value)
public AnalyzeWorkloadMoveRequest.Builder setTargetBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for target to set. |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeWorkloadMoveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeWorkloadMoveRequest.Builder |