Interface AlternatePolicySpecOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getLaunch()
      Reference to the launch that will be used while audit logging and to control the launch.
      com.google.protobuf.ByteString getLaunchBytes()
      Reference to the launch that will be used while audit logging and to control the launch.
      PolicySpec getSpec()
      Specify `Constraint` for configurations of Cloud Platform resources.
      PolicySpecOrBuilder getSpecOrBuilder()
      Specify `Constraint` for configurations of Cloud Platform resources.
      boolean hasSpec()
      Specify `Constraint` for configurations of Cloud Platform 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 Detail

      • 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 Cloud Platform resources.
         
        .google.cloud.orgpolicy.v2.PolicySpec spec = 2;
        Returns:
        Whether the spec field is set.
      • getSpec

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

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