Class GuestPolicies.PackageRepository (2.21.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
TypeDescription
int

GOO_FIELD_NUMBER

public static final int GOO_FIELD_NUMBER
Field Value
TypeDescription
int

YUM_FIELD_NUMBER

public static final int YUM_FIELD_NUMBER
Field Value
TypeDescription
int

ZYPPER_FIELD_NUMBER

public static final int ZYPPER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(GuestPolicies.PackageRepository prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GuestPolicies.PackageRepository parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.PackageRepository parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.PackageRepository parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GuestPolicies.PackageRepository parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.PackageRepository parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.PackageRepository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.PackageRepository
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApt()

public GuestPolicies.AptRepository getApt()

An Apt Repository.

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

Returns
TypeDescription
GuestPolicies.AptRepository

The apt.

getAptOrBuilder()

public GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder()

An Apt Repository.

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

Returns
TypeDescription
GuestPolicies.AptRepositoryOrBuilder

getDefaultInstanceForType()

public GuestPolicies.PackageRepository getDefaultInstanceForType()
Returns
TypeDescription
GuestPolicies.PackageRepository

getGoo()

public GuestPolicies.GooRepository getGoo()

A Goo Repository.

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

Returns
TypeDescription
GuestPolicies.GooRepository

The goo.

getGooOrBuilder()

public GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder()

A Goo Repository.

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

Returns
TypeDescription
GuestPolicies.GooRepositoryOrBuilder

getParserForType()

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

getRepositoryCase()

public GuestPolicies.PackageRepository.RepositoryCase getRepositoryCase()
Returns
TypeDescription
GuestPolicies.PackageRepository.RepositoryCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getYum()

public GuestPolicies.YumRepository getYum()

A Yum Repository.

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

Returns
TypeDescription
GuestPolicies.YumRepository

The yum.

getYumOrBuilder()

public GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder()

A Yum Repository.

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

Returns
TypeDescription
GuestPolicies.YumRepositoryOrBuilder

getZypper()

public GuestPolicies.ZypperRepository getZypper()

A Zypper Repository.

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

Returns
TypeDescription
GuestPolicies.ZypperRepository

The zypper.

getZypperOrBuilder()

public GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder()

A Zypper Repository.

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

Returns
TypeDescription
GuestPolicies.ZypperRepositoryOrBuilder

hasApt()

public boolean hasApt()

An Apt Repository.

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

Returns
TypeDescription
boolean

Whether the apt field is set.

hasGoo()

public boolean hasGoo()

A Goo Repository.

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

Returns
TypeDescription
boolean

Whether the goo field is set.

hasYum()

public boolean hasYum()

A Yum Repository.

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

Returns
TypeDescription
boolean

Whether the yum field is set.

hasZypper()

public boolean hasZypper()

A Zypper Repository.

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

Returns
TypeDescription
boolean

Whether the zypper field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GuestPolicies.PackageRepository.Builder newBuilderForType()
Returns
TypeDescription
GuestPolicies.PackageRepository.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.PackageRepository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GuestPolicies.PackageRepository.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GuestPolicies.PackageRepository.Builder toBuilder()
Returns
TypeDescription
GuestPolicies.PackageRepository.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException