Interface OSPolicy.Resource.RepositoryResourceOrBuilder (2.21.0)

public static interface OSPolicy.Resource.RepositoryResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApt()

public abstract OSPolicy.Resource.RepositoryResource.AptRepository getApt()

An Apt Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.AptRepository

The apt.

getAptOrBuilder()

public abstract OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder()

An Apt Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder

getGoo()

public abstract OSPolicy.Resource.RepositoryResource.GooRepository getGoo()

A Goo Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.GooRepository

The goo.

getGooOrBuilder()

public abstract OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder()

A Goo Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder

getRepositoryCase()

public abstract OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase()
Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.RepositoryCase

getYum()

public abstract OSPolicy.Resource.RepositoryResource.YumRepository getYum()

A Yum Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.YumRepository

The yum.

getYumOrBuilder()

public abstract OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder()

A Yum Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder

getZypper()

public abstract OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper()

A Zypper Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.ZypperRepository

The zypper.

getZypperOrBuilder()

public abstract OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder()

A Zypper Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;

Returns
TypeDescription
OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder

hasApt()

public abstract boolean hasApt()

An Apt Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;

Returns
TypeDescription
boolean

Whether the apt field is set.

hasGoo()

public abstract boolean hasGoo()

A Goo Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;

Returns
TypeDescription
boolean

Whether the goo field is set.

hasYum()

public abstract boolean hasYum()

A Yum Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;

Returns
TypeDescription
boolean

Whether the yum field is set.

hasZypper()

public abstract boolean hasZypper()

A Zypper Repository.

.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;

Returns
TypeDescription
boolean

Whether the zypper field is set.