Send feedback
Class GuestPolicies.PackageRepository.Builder (2.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.49.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies . PackageRepository . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GuestPolicies . PackageRepository build ()
buildPartial()
public GuestPolicies . PackageRepository buildPartial ()
clear()
public GuestPolicies . PackageRepository . Builder clear ()
Overrides
clearApt()
public GuestPolicies . PackageRepository . Builder clearApt ()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies . PackageRepository . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearGoo()
public GuestPolicies . PackageRepository . Builder clearGoo ()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies . PackageRepository . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRepository()
public GuestPolicies . PackageRepository . Builder clearRepository ()
clearYum()
public GuestPolicies . PackageRepository . Builder clearYum ()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
clearZypper()
public GuestPolicies . PackageRepository . Builder clearZypper ()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
clone()
public GuestPolicies . PackageRepository . Builder clone ()
Overrides
getApt()
public GuestPolicies . AptRepository getApt ()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
getAptBuilder()
public GuestPolicies . AptRepository . Builder getAptBuilder ()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
getAptOrBuilder()
public GuestPolicies . AptRepositoryOrBuilder getAptOrBuilder ()
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
getDefaultInstanceForType()
public GuestPolicies . PackageRepository getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getGoo()
public GuestPolicies . GooRepository getGoo ()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
getGooBuilder()
public GuestPolicies . GooRepository . Builder getGooBuilder ()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
getGooOrBuilder()
public GuestPolicies . GooRepositoryOrBuilder getGooOrBuilder ()
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
getRepositoryCase()
public GuestPolicies . PackageRepository . RepositoryCase getRepositoryCase ()
getYum()
public GuestPolicies . YumRepository getYum ()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
getYumBuilder()
public GuestPolicies . YumRepository . Builder getYumBuilder ()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
getYumOrBuilder()
public GuestPolicies . YumRepositoryOrBuilder getYumOrBuilder ()
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
getZypper()
public GuestPolicies . ZypperRepository getZypper ()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
getZypperBuilder()
public GuestPolicies . ZypperRepository . Builder getZypperBuilder ()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
getZypperOrBuilder()
public GuestPolicies . ZypperRepositoryOrBuilder getZypperOrBuilder ()
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeApt(GuestPolicies.AptRepository value)
public GuestPolicies . PackageRepository . Builder mergeApt ( GuestPolicies . AptRepository value )
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
mergeFrom(GuestPolicies.PackageRepository other)
public GuestPolicies . PackageRepository . Builder mergeFrom ( GuestPolicies . PackageRepository other )
public GuestPolicies . PackageRepository . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GuestPolicies . PackageRepository . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeGoo(GuestPolicies.GooRepository value)
public GuestPolicies . PackageRepository . Builder mergeGoo ( GuestPolicies . GooRepository value )
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies . PackageRepository . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeYum(GuestPolicies.YumRepository value)
public GuestPolicies . PackageRepository . Builder mergeYum ( GuestPolicies . YumRepository value )
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
mergeZypper(GuestPolicies.ZypperRepository value)
public GuestPolicies . PackageRepository . Builder mergeZypper ( GuestPolicies . ZypperRepository value )
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
setApt(GuestPolicies.AptRepository value)
public GuestPolicies . PackageRepository . Builder setApt ( GuestPolicies . AptRepository value )
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
setApt(GuestPolicies.AptRepository.Builder builderForValue)
public GuestPolicies . PackageRepository . Builder setApt ( GuestPolicies . AptRepository . Builder builderForValue )
An Apt Repository.
.google.cloud.osconfig.v1beta.AptRepository apt = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies . PackageRepository . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setGoo(GuestPolicies.GooRepository value)
public GuestPolicies . PackageRepository . Builder setGoo ( GuestPolicies . GooRepository value )
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
setGoo(GuestPolicies.GooRepository.Builder builderForValue)
public GuestPolicies . PackageRepository . Builder setGoo ( GuestPolicies . GooRepository . Builder builderForValue )
A Goo Repository.
.google.cloud.osconfig.v1beta.GooRepository goo = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies . PackageRepository . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies . PackageRepository . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setYum(GuestPolicies.YumRepository value)
public GuestPolicies . PackageRepository . Builder setYum ( GuestPolicies . YumRepository value )
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
setYum(GuestPolicies.YumRepository.Builder builderForValue)
public GuestPolicies . PackageRepository . Builder setYum ( GuestPolicies . YumRepository . Builder builderForValue )
A Yum Repository.
.google.cloud.osconfig.v1beta.YumRepository yum = 2;
setZypper(GuestPolicies.ZypperRepository value)
public GuestPolicies . PackageRepository . Builder setZypper ( GuestPolicies . ZypperRepository value )
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
setZypper(GuestPolicies.ZypperRepository.Builder builderForValue)
public GuestPolicies . PackageRepository . Builder setZypper ( GuestPolicies . ZypperRepository . Builder builderForValue )
A Zypper Repository.
.google.cloud.osconfig.v1beta.ZypperRepository zypper = 3;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]