Interface GuestPolicies.YumRepositoryOrBuilder (2.26.0)

public static interface GuestPolicies.YumRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseUrl()

public abstract String getBaseUrl()

Required. The location of the repository directory.

string base_url = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The baseUrl.

getBaseUrlBytes()

public abstract ByteString getBaseUrlBytes()

Required. The location of the repository directory.

string base_url = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for baseUrl.

getDisplayName()

public abstract String getDisplayName()

The display name of the repository.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the repository.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getGpgKeys(int index)

public abstract String getGpgKeys(int index)

URIs of GPG keys.

repeated string gpg_keys = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The gpgKeys at the given index.

getGpgKeysBytes(int index)

public abstract ByteString getGpgKeysBytes(int index)

URIs of GPG keys.

repeated string gpg_keys = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the gpgKeys at the given index.

getGpgKeysCount()

public abstract int getGpgKeysCount()

URIs of GPG keys.

repeated string gpg_keys = 4;

Returns
TypeDescription
int

The count of gpgKeys.

getGpgKeysList()

public abstract List<String> getGpgKeysList()

URIs of GPG keys.

repeated string gpg_keys = 4;

Returns
TypeDescription
List<String>

A list containing the gpgKeys.

getId()

public abstract 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
TypeDescription
String

The id.

getIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for id.