Class GuestPolicies.AptRepository (2.17.0)

public static final class GuestPolicies.AptRepository extends GeneratedMessageV3 implements GuestPolicies.AptRepositoryOrBuilder

Represents a single Apt package repository. This repository is added to a repo file that is stored at /etc/apt/sources.list.d/google_osconfig.list.

Protobuf type google.cloud.osconfig.v1beta.AptRepository

Static Fields

ARCHIVE_TYPE_FIELD_NUMBER

public static final int ARCHIVE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

COMPONENTS_FIELD_NUMBER

public static final int COMPONENTS_FIELD_NUMBER
Field Value
TypeDescription
int

DISTRIBUTION_FIELD_NUMBER

public static final int DISTRIBUTION_FIELD_NUMBER
Field Value
TypeDescription
int

GPG_KEY_FIELD_NUMBER

public static final int GPG_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(GuestPolicies.AptRepository prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.AptRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription