Interface WorkloadOrBuilder

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

@Generated public interface WorkloadOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getFolderId

      long getFolderId()
       Output only. Folder id this workload is associated with
       
      int64 folder_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The folderId.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFolder

      String getFolder()
       Output only. The name of container folder of the assured workload
       
      string folder = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The folder.
    • getFolderBytes

      com.google.protobuf.ByteString getFolderBytes()
       Output only. The name of container folder of the assured workload
       
      string folder = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for folder.
    • hasWorkloadOnboardingState

      boolean hasWorkloadOnboardingState()
       Container for workload onboarding steps.
       
      .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState workload_onboarding_state = 5;
      Returns:
      Whether the workloadOnboardingState field is set.
    • getWorkloadOnboardingState

      WorkloadOnboardingState getWorkloadOnboardingState()
       Container for workload onboarding steps.
       
      .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState workload_onboarding_state = 5;
      Returns:
      The workloadOnboardingState.
    • getWorkloadOnboardingStateOrBuilder

      WorkloadOnboardingStateOrBuilder getWorkloadOnboardingStateOrBuilder()
       Container for workload onboarding steps.
       
      .google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState workload_onboarding_state = 5;
    • getIsOnboarded

      boolean getIsOnboarded()
       Indicates whether a workload is fully onboarded.
       
      bool is_onboarded = 6;
      Returns:
      The isOnboarded.
    • getKeyManagementProjectId

      String getKeyManagementProjectId()
       The project id of the key management project for the workload
       
      string key_management_project_id = 7;
      Returns:
      The keyManagementProjectId.
    • getKeyManagementProjectIdBytes

      com.google.protobuf.ByteString getKeyManagementProjectIdBytes()
       The project id of the key management project for the workload
       
      string key_management_project_id = 7;
      Returns:
      The bytes for keyManagementProjectId.
    • getLocation

      String getLocation()
       The Google Cloud location of the workload
       
      string location = 8;
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       The Google Cloud location of the workload
       
      string location = 8;
      Returns:
      The bytes for location.
    • getPartnerValue

      int getPartnerValue()
       Partner associated with this workload.
       
      .google.cloud.cloudcontrolspartner.v1.Workload.Partner partner = 9;
      Returns:
      The enum numeric value on the wire for partner.
    • getPartner

      Workload.Partner getPartner()
       Partner associated with this workload.
       
      .google.cloud.cloudcontrolspartner.v1.Workload.Partner partner = 9;
      Returns:
      The partner.