public static final class GuestPolicies.PackageRepository.Builder extends GeneratedMessageV3.Builder<GuestPolicies.PackageRepository.Builder> implements GuestPolicies.PackageRepositoryOrBuilder
A package repository.
Protobuf type google.cloud.osconfig.v1beta.PackageRepository
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.PackageRepository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GuestPolicies.PackageRepository build()
Returns
buildPartial()
public GuestPolicies.PackageRepository buildPartial()
Returns
clear()
public GuestPolicies.PackageRepository.Builder clear()
Returns
Overrides
clearApt()
public GuestPolicies.PackageRepository.Builder clearApt()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.PackageRepository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGoo()
public GuestPolicies.PackageRepository.Builder clearGoo()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.PackageRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRepository()
public GuestPolicies.PackageRepository.Builder clearRepository()
Returns
clearYum()
public GuestPolicies.PackageRepository.Builder clearYum()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
clearZypper()
public GuestPolicies.PackageRepository.Builder clearZypper()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
clone()
public GuestPolicies.PackageRepository.Builder clone()
Returns
Overrides
getApt()
public GuestPolicies.AptRepository getApt()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
getAptBuilder()
public GuestPolicies.AptRepository.Builder getAptBuilder()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
getAptOrBuilder()
public GuestPolicies.AptRepositoryOrBuilder getAptOrBuilder()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
getDefaultInstanceForType()
public GuestPolicies.PackageRepository getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGoo()
public GuestPolicies.GooRepository getGoo()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
getGooBuilder()
public GuestPolicies.GooRepository.Builder getGooBuilder()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
getGooOrBuilder()
public GuestPolicies.GooRepositoryOrBuilder getGooOrBuilder()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
getRepositoryCase()
public GuestPolicies.PackageRepository.RepositoryCase getRepositoryCase()
Returns
getYum()
public GuestPolicies.YumRepository getYum()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
getYumBuilder()
public GuestPolicies.YumRepository.Builder getYumBuilder()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
getYumOrBuilder()
public GuestPolicies.YumRepositoryOrBuilder getYumOrBuilder()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Returns
getZypper()
public GuestPolicies.ZypperRepository getZypper()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
getZypperBuilder()
public GuestPolicies.ZypperRepository.Builder getZypperBuilder()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
getZypperOrBuilder()
public GuestPolicies.ZypperRepositoryOrBuilder getZypperOrBuilder()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Returns
hasApt()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Returns
Type | Description |
boolean | Whether the apt field is set.
|
hasGoo()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Returns
Type | Description |
boolean | Whether the goo field is set.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeApt(GuestPolicies.AptRepository value)
public GuestPolicies.PackageRepository.Builder mergeApt(GuestPolicies.AptRepository value)
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Parameter
Returns
mergeFrom(GuestPolicies.PackageRepository other)
public GuestPolicies.PackageRepository.Builder mergeFrom(GuestPolicies.PackageRepository other)
Parameter
Returns
public GuestPolicies.PackageRepository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GuestPolicies.PackageRepository.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGoo(GuestPolicies.GooRepository value)
public GuestPolicies.PackageRepository.Builder mergeGoo(GuestPolicies.GooRepository value)
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.PackageRepository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeYum(GuestPolicies.YumRepository value)
public GuestPolicies.PackageRepository.Builder mergeYum(GuestPolicies.YumRepository value)
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Parameter
Returns
mergeZypper(GuestPolicies.ZypperRepository value)
public GuestPolicies.PackageRepository.Builder mergeZypper(GuestPolicies.ZypperRepository value)
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Parameter
Returns
setApt(GuestPolicies.AptRepository value)
public GuestPolicies.PackageRepository.Builder setApt(GuestPolicies.AptRepository value)
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Parameter
Returns
setApt(GuestPolicies.AptRepository.Builder builderForValue)
public GuestPolicies.PackageRepository.Builder setApt(GuestPolicies.AptRepository.Builder builderForValue)
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.PackageRepository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGoo(GuestPolicies.GooRepository value)
public GuestPolicies.PackageRepository.Builder setGoo(GuestPolicies.GooRepository value)
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Parameter
Returns
setGoo(GuestPolicies.GooRepository.Builder builderForValue)
public GuestPolicies.PackageRepository.Builder setGoo(GuestPolicies.GooRepository.Builder builderForValue)
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.PackageRepository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.PackageRepository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setYum(GuestPolicies.YumRepository value)
public GuestPolicies.PackageRepository.Builder setYum(GuestPolicies.YumRepository value)
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Parameter
Returns
setYum(GuestPolicies.YumRepository.Builder builderForValue)
public GuestPolicies.PackageRepository.Builder setYum(GuestPolicies.YumRepository.Builder builderForValue)
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
Parameter
Returns
setZypper(GuestPolicies.ZypperRepository value)
public GuestPolicies.PackageRepository.Builder setZypper(GuestPolicies.ZypperRepository value)
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Parameter
Returns
setZypper(GuestPolicies.ZypperRepository.Builder builderForValue)
public GuestPolicies.PackageRepository.Builder setZypper(GuestPolicies.ZypperRepository.Builder builderForValue)
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Parameter
Returns