Class GuestPolicies.PackageRepository (2.56.0)

public static final class GuestPolicies.PackageRepository extends GeneratedMessageV3 implements GuestPolicies.PackageRepositoryOrBuilder

A package repository.

Protobuf type google.cloud.osconfig.v1beta.PackageRepository

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GuestPolicies.PackageRepository

Static Fields

APT_FIELD_NUMBER

public static final int APT_FIELD_NUMBER
Field Value
Type Description
int

GOO_FIELD_NUMBER

public static final int GOO_FIELD_NUMBER
Field Value
Type Description
int

YUM_FIELD_NUMBER

public static final int YUM_FIELD_NUMBER
Field Value
Type Description
int

ZYPPER_FIELD_NUMBER

public static final int ZYPPER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GuestPolicies.PackageRepository getDefaultInstance()
Returns
Type Description
GuestPolicies.PackageRepository

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GuestPolicies.PackageRepository.Builder newBuilder()
Returns
Type Description
GuestPolicies.PackageRepository.Builder

newBuilder(GuestPolicies.PackageRepository prototype)

public static GuestPolicies.PackageRepository.Builder newBuilder(GuestPolicies.PackageRepository prototype)
Parameter
Name Description
prototype GuestPolicies.PackageRepository
Returns
Type Description
GuestPolicies.PackageRepository.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.PackageRepository parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GuestPolicies.PackageRepository parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.PackageRepository parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.PackageRepository parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GuestPolicies.PackageRepository parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.PackageRepository parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.PackageRepository
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GuestPolicies.PackageRepository> parser()
Returns
Type Description
Parser<PackageRepository>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApt()

public GuestPolicies.AptRepository getApt()

An Apt Repository.

.google.cloud.osconfig.v1beta.AptRepository apt = 1;

Returns
Type Description
GuestPolicies.AptRepository

The apt.

getAptOrBuilder()

public GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder()

An Apt Repository.

.google.cloud.osconfig.v1beta.AptRepository apt = 1;

Returns
Type Description
GuestPolicies.AptRepositoryOrBuilder

getDefaultInstanceForType()

public GuestPolicies.PackageRepository getDefaultInstanceForType()
Returns
Type Description
GuestPolicies.PackageRepository

getGoo()

public GuestPolicies.GooRepository getGoo()

A Goo Repository.

.google.cloud.osconfig.v1beta.GooRepository goo = 4;

Returns
Type Description
GuestPolicies.GooRepository

The goo.

getGooOrBuilder()

public GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder()

A Goo Repository.

.google.cloud.osconfig.v1beta.GooRepository goo = 4;

Returns
Type Description
GuestPolicies.GooRepositoryOrBuilder

getParserForType()

public Parser<GuestPolicies.PackageRepository> getParserForType()
Returns
Type Description
Parser<PackageRepository>
Overrides

getRepositoryCase()

public GuestPolicies.PackageRepository.RepositoryCase getRepositoryCase()
Returns
Type Description
GuestPolicies.PackageRepository.RepositoryCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getYum()

public GuestPolicies.YumRepository getYum()

A Yum Repository.

.google.cloud.osconfig.v1beta.YumRepository yum = 2;

Returns
Type Description
GuestPolicies.YumRepository

The yum.

getYumOrBuilder()

public GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder()

A Yum Repository.

.google.cloud.osconfig.v1beta.YumRepository yum = 2;

Returns
Type Description
GuestPolicies.YumRepositoryOrBuilder

getZypper()

public GuestPolicies.ZypperRepository getZypper()

A Zypper Repository.

.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;

Returns
Type Description
GuestPolicies.ZypperRepository

The zypper.

getZypperOrBuilder()

public GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder()

A Zypper Repository.

.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;

Returns
Type Description
GuestPolicies.ZypperRepositoryOrBuilder

hasApt()

public boolean hasApt()

An Apt Repository.

.google.cloud.osconfig.v1beta.AptRepository apt = 1;

Returns
Type Description
boolean

Whether the apt field is set.

hasGoo()

public boolean hasGoo()

A Goo Repository.

.google.cloud.osconfig.v1beta.GooRepository goo = 4;

Returns
Type Description
boolean

Whether the goo field is set.

hasYum()

public boolean hasYum()

A Yum Repository.

.google.cloud.osconfig.v1beta.YumRepository yum = 2;

Returns
Type Description
boolean

Whether the yum field is set.

hasZypper()

public boolean hasZypper()

A Zypper Repository.

.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;

Returns
Type Description
boolean

Whether the zypper field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GuestPolicies.PackageRepository.Builder newBuilderForType()
Returns
Type Description
GuestPolicies.PackageRepository.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.PackageRepository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GuestPolicies.PackageRepository.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GuestPolicies.PackageRepository.Builder toBuilder()
Returns
Type Description
GuestPolicies.PackageRepository.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException