Package com.google.cloud.osconfig.v1beta
Interface GuestPolicies.YumRepositoryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GuestPolicies.YumRepository,GuestPolicies.YumRepository.Builder
- Enclosing class:
- GuestPolicies
public static interface GuestPolicies.YumRepositoryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.The display name of the repository.com.google.protobuf.ByteStringThe display name of the repository.getGpgKeys(int index) URIs of GPG keys.com.google.protobuf.ByteStringgetGpgKeysBytes(int index) URIs of GPG keys.intURIs of GPG keys.URIs of GPG keys.getId()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-