Interface GuestPolicies.AptRepositoryOrBuilder

    • Method Detail

      • getArchiveTypeValue

        int getArchiveTypeValue()
         Type of archive files in this repository. The default behavior is DEB.
         
        .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1;
        Returns:
        The enum numeric value on the wire for archiveType.
      • getArchiveType

        GuestPolicies.AptRepository.ArchiveType getArchiveType()
         Type of archive files in this repository. The default behavior is DEB.
         
        .google.cloud.osconfig.v1beta.AptRepository.ArchiveType archive_type = 1;
        Returns:
        The archiveType.
      • getUri

        String getUri()
         Required. URI for this repository.
         
        string uri = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The uri.
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
         Required. URI for this repository.
         
        string uri = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for uri.
      • getDistribution

        String getDistribution()
         Required. Distribution of this repository.
         
        string distribution = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The distribution.
      • getDistributionBytes

        com.google.protobuf.ByteString getDistributionBytes()
         Required. Distribution of this repository.
         
        string distribution = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for distribution.
      • getComponentsList

        List<String> getComponentsList()
         Required. List of components for this repository. Must contain at least one item.
         
        repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the components.
      • getComponentsCount

        int getComponentsCount()
         Required. List of components for this repository. Must contain at least one item.
         
        repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of components.
      • getComponents

        String getComponents​(int index)
         Required. List of components for this repository. Must contain at least one item.
         
        repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The components at the given index.
      • getComponentsBytes

        com.google.protobuf.ByteString getComponentsBytes​(int index)
         Required. List of components for this repository. Must contain at least one item.
         
        repeated string components = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the components at the given index.
      • getGpgKey

        String getGpgKey()
         URI of the key file for this repository. The agent maintains
         a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
         all the keys in any applied guest policy.
         
        string gpg_key = 5;
        Returns:
        The gpgKey.
      • getGpgKeyBytes

        com.google.protobuf.ByteString getGpgKeyBytes()
         URI of the key file for this repository. The agent maintains
         a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg` containing
         all the keys in any applied guest policy.
         
        string gpg_key = 5;
        Returns:
        The bytes for gpgKey.