Interface CreateWorkloadRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateWorkloadRequest, CreateWorkloadRequest.Builder

@Generated public interface CreateWorkloadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.v1.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.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The workload.
    • getWorkloadOrBuilder

      WorkloadOrBuilder getWorkloadOrBuilder()
       Required. Assured Workload to create
       
      .google.cloud.assuredworkloads.v1.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.