Interface OSPolicy.Resource.PackageResource.MSIOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getProperties(int index)
    Additional properties to use during installation.
    com.google.protobuf.ByteString
    getPropertiesBytes(int index)
    Additional properties to use during installation.
    int
    Additional properties to use during installation.
    Additional properties to use during installation.
    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. The MSI package.
       
      .google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the source field is set.
    • getSource

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

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

      List<String> getPropertiesList()
       Additional properties to use during installation.
       This should be in the format of Property=Setting.
       Appended to the defaults of `ACTION=INSTALL
       REBOOT=ReallySuppress`.
       
      repeated string properties = 2;
      Returns:
      A list containing the properties.
    • getPropertiesCount

      int getPropertiesCount()
       Additional properties to use during installation.
       This should be in the format of Property=Setting.
       Appended to the defaults of `ACTION=INSTALL
       REBOOT=ReallySuppress`.
       
      repeated string properties = 2;
      Returns:
      The count of properties.
    • getProperties

      String getProperties(int index)
       Additional properties to use during installation.
       This should be in the format of Property=Setting.
       Appended to the defaults of `ACTION=INSTALL
       REBOOT=ReallySuppress`.
       
      repeated string properties = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The properties at the given index.
    • getPropertiesBytes

      com.google.protobuf.ByteString getPropertiesBytes(int index)
       Additional properties to use during installation.
       This should be in the format of Property=Setting.
       Appended to the defaults of `ACTION=INSTALL
       REBOOT=ReallySuppress`.
       
      repeated string properties = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the properties at the given index.