Class GuestPolicies.YumRepository (2.23.0)

public static final class GuestPolicies.YumRepository extends GeneratedMessageV3 implements GuestPolicies.YumRepositoryOrBuilder

Represents a single Yum package repository. This repository is added to a repo file that is stored at /etc/yum.repos.d/google_osconfig.repo.

Protobuf type google.cloud.osconfig.v1beta.YumRepository

Static Fields

BASE_URL_FIELD_NUMBER

public static final int BASE_URL_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GPG_KEYS_FIELD_NUMBER

public static final int GPG_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GuestPolicies.YumRepository getDefaultInstance()
Returns
TypeDescription
GuestPolicies.YumRepository

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GuestPolicies.YumRepository.Builder newBuilder()
Returns
TypeDescription
GuestPolicies.YumRepository.Builder

newBuilder(GuestPolicies.YumRepository prototype)

public static GuestPolicies.YumRepository.Builder newBuilder(GuestPolicies.YumRepository prototype)
Parameter
NameDescription
prototypeGuestPolicies.YumRepository
Returns
TypeDescription
GuestPolicies.YumRepository.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.YumRepository parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.YumRepository
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.YumRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite