Interface GuestPolicies.YumRepositoryOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getBaseUrl()
      Required.
      com.google.protobuf.ByteString getBaseUrlBytes()
      Required.
      String getDisplayName()
      The display name of the repository.
      com.google.protobuf.ByteString getDisplayNameBytes()
      The display name of the repository.
      String getGpgKeys​(int index)
      URIs of GPG keys.
      com.google.protobuf.ByteString getGpgKeysBytes​(int index)
      URIs of GPG keys.
      int getGpgKeysCount()
      URIs of GPG keys.
      List<String> getGpgKeysList()
      URIs of GPG keys.
      String getId()
      Required.
      com.google.protobuf.ByteString getIdBytes()
      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 Detail

      • getId

        String getId()
         Required. A one word, unique name for this repository. This is
         the `repo id` in the Yum config file and also the `display_name` if
         `display_name` is omitted. This id is also used as the unique identifier
         when checking for guest policy conflicts.
         
        string id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Required. A one word, unique name for this repository. This is
         the `repo id` in the Yum config file and also the `display_name` if
         `display_name` is omitted. This id is also used as the unique identifier
         when checking for guest policy conflicts.
         
        string id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for id.
      • getDisplayName

        String getDisplayName()
         The display name of the repository.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the repository.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getBaseUrl

        String getBaseUrl()
         Required. The location of the repository directory.
         
        string base_url = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The baseUrl.
      • getBaseUrlBytes

        com.google.protobuf.ByteString getBaseUrlBytes()
         Required. The location of the repository directory.
         
        string base_url = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for baseUrl.
      • getGpgKeysList

        List<String> getGpgKeysList()
         URIs of GPG keys.
         
        repeated string gpg_keys = 4;
        Returns:
        A list containing the gpgKeys.
      • getGpgKeysCount

        int getGpgKeysCount()
         URIs of GPG keys.
         
        repeated string gpg_keys = 4;
        Returns:
        The count of gpgKeys.
      • getGpgKeys

        String getGpgKeys​(int index)
         URIs of GPG keys.
         
        repeated string gpg_keys = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The gpgKeys at the given index.
      • getGpgKeysBytes

        com.google.protobuf.ByteString getGpgKeysBytes​(int index)
         URIs of GPG keys.
         
        repeated string gpg_keys = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the gpgKeys at the given index.