Interface InstanceGroupManagerResourcePoliciesOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The URL of the workload policy that is specified for this managed instance group.
    com.google.protobuf.ByteString
    The URL of the workload policy that is specified for this managed instance group.
    boolean
    The URL of the workload policy that is specified for this managed instance group.

    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

    • hasWorkloadPolicy

      boolean hasWorkloadPolicy()
       The URL of the workload policy that is specified for this managed
       instance group.
       It can be a full or partial URL. For example, the following are
       all valid URLs to a workload policy:
      
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy
       - projects/project/regions/region/resourcePolicies/resourcePolicy
       - regions/region/resourcePolicies/resourcePolicy
       
      optional string workload_policy = 114721530;
      Returns:
      Whether the workloadPolicy field is set.
    • getWorkloadPolicy

      String getWorkloadPolicy()
       The URL of the workload policy that is specified for this managed
       instance group.
       It can be a full or partial URL. For example, the following are
       all valid URLs to a workload policy:
      
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy
       - projects/project/regions/region/resourcePolicies/resourcePolicy
       - regions/region/resourcePolicies/resourcePolicy
       
      optional string workload_policy = 114721530;
      Returns:
      The workloadPolicy.
    • getWorkloadPolicyBytes

      com.google.protobuf.ByteString getWorkloadPolicyBytes()
       The URL of the workload policy that is specified for this managed
       instance group.
       It can be a full or partial URL. For example, the following are
       all valid URLs to a workload policy:
      
      
       - https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy
       - projects/project/regions/region/resourcePolicies/resourcePolicy
       - regions/region/resourcePolicies/resourcePolicy
       
      optional string workload_policy = 114721530;
      Returns:
      The bytes for workloadPolicy.