Interface OSPolicy.Resource.RepositoryResourceOrBuilder (2.48.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
Type Description
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
Type Description
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
Type Description
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
Type Description
OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder

getRepositoryCase()

public abstract OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder

hasApt()

public abstract boolean hasApt()

An Apt Repository.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the zypper field is set.