Interface OSPolicy.Resource.PackageResource.RPMOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OSPolicy.Resource.PackageResource.RPM, OSPolicy.Resource.PackageResource.RPM.Builder
Enclosing class:
OSPolicy.Resource.PackageResource

public static interface OSPolicy.Resource.PackageResource.RPMOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether dependencies should also be installed
    Required.
    Required.
    boolean
    Required.

    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

    • hasSource

      boolean hasSource()
       Required. An rpm package.
       
      .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the source field is set.
    • getSource

       Required. An rpm package.
       
      .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The source.
    • getSourceOrBuilder

      OSPolicy.Resource.FileOrBuilder getSourceOrBuilder()
       Required. An rpm package.
       
      .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPullDeps

      boolean getPullDeps()
       Whether dependencies should also be installed.
       - install when false: `rpm --upgrade --replacepkgs package.rpm`
       - install when true: `yum -y install package.rpm` or
       `zypper -y install package.rpm`
       
      bool pull_deps = 2;
      Returns:
      The pullDeps.