Interface OSPolicy.Resource.PackageResource.MSIOrBuilder

    • Method Detail

      • 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

        OSPolicy.Resource.File 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.