Interface OrgPolicyOverlay.PolicyOverlayOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OrgPolicyOverlay.PolicyOverlay, OrgPolicyOverlay.PolicyOverlay.Builder
Enclosing class:
OrgPolicyOverlay

public static interface OrgPolicyOverlay.PolicyOverlayOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

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

    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

    • getPolicyParent

      String getPolicyParent()
       Optional. The parent of the policy we are attaching to.
       Example: "projects/123456"
       
      string policy_parent = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The policyParent.
    • getPolicyParentBytes

      com.google.protobuf.ByteString getPolicyParentBytes()
       Optional. The parent of the policy we are attaching to.
       Example: "projects/123456"
       
      string policy_parent = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for policyParent.
    • hasPolicy

      boolean hasPolicy()
       Optional. The new or updated OrgPolicy.
       
      .google.cloud.orgpolicy.v2.Policy policy = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the policy field is set.
    • getPolicy

      Policy getPolicy()
       Optional. The new or updated OrgPolicy.
       
      .google.cloud.orgpolicy.v2.Policy policy = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The policy.
    • getPolicyOrBuilder

      PolicyOrBuilder getPolicyOrBuilder()
       Optional. The new or updated OrgPolicy.
       
      .google.cloud.orgpolicy.v2.Policy policy = 2 [(.google.api.field_behavior) = OPTIONAL];