Interface CreateWorkloadRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateWorkloadRequest
,CreateWorkloadRequest.Builder
public interface CreateWorkloadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getExternalId()
Optional.com.google.protobuf.ByteString
getExternalIdBytes()
Optional.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Workload
getWorkload()
Required.WorkloadOrBuilder
getWorkloadOrBuilder()
Required.boolean
hasWorkload()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The resource name of the new Workload's parent. Must be of the form `organizations/{org_id}/locations/{location_id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the new Workload's parent. Must be of the form `organizations/{org_id}/locations/{location_id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasWorkload
boolean hasWorkload()
Required. Assured Workload to create
.google.cloud.assuredworkloads.v1beta1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the workload field is set.
-
getWorkload
Workload getWorkload()
Required. Assured Workload to create
.google.cloud.assuredworkloads.v1beta1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The workload.
-
getWorkloadOrBuilder
WorkloadOrBuilder getWorkloadOrBuilder()
Required. Assured Workload to create
.google.cloud.assuredworkloads.v1beta1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
-
getExternalId
String getExternalId()
Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The externalId.
-
getExternalIdBytes
com.google.protobuf.ByteString getExternalIdBytes()
Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for externalId.
-
-