Interface AlternatePolicySpecOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Reference to the launch that will be used while audit logging and to control the launch.
    com.google.protobuf.ByteString
    Reference to the launch that will be used while audit logging and to control the launch.
    Specify constraint for configurations of Google Cloud resources.
    Specify constraint for configurations of Google Cloud resources.
    boolean
    Specify constraint for configurations of Google Cloud resources.

    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

    • getLaunch

      String getLaunch()
       Reference to the launch that will be used while audit logging and to
       control the launch.
       Should be set only in the alternate policy.
       
      string launch = 1;
      Returns:
      The launch.
    • getLaunchBytes

      com.google.protobuf.ByteString getLaunchBytes()
       Reference to the launch that will be used while audit logging and to
       control the launch.
       Should be set only in the alternate policy.
       
      string launch = 1;
      Returns:
      The bytes for launch.
    • hasSpec

      boolean hasSpec()
       Specify constraint for configurations of Google Cloud resources.
       
      .google.cloud.orgpolicy.v2.PolicySpec spec = 2;
      Returns:
      Whether the spec field is set.
    • getSpec

      PolicySpec getSpec()
       Specify constraint for configurations of Google Cloud resources.
       
      .google.cloud.orgpolicy.v2.PolicySpec spec = 2;
      Returns:
      The spec.
    • getSpecOrBuilder

      PolicySpecOrBuilder getSpecOrBuilder()
       Specify constraint for configurations of Google Cloud resources.
       
      .google.cloud.orgpolicy.v2.PolicySpec spec = 2;