Interface OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder (2.51.0)

public static interface OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder 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
Type Description
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
Type Description
ByteString

The bytes for baseUrl.

getDisplayName()

public abstract String getDisplayName()

The display name of the repository.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the repository.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getGpgKeys(int index)

public abstract String getGpgKeys(int index)

URIs of GPG keys.

repeated string gpg_keys = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of gpgKeys.

getGpgKeysList()

public abstract List<String> getGpgKeysList()

URIs of GPG keys.

repeated string gpg_keys = 4;

Returns
Type Description
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 zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.