Send feedback
Class OSPolicy.Resource.RepositoryResource.Builder (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
public static final class OSPolicy . Resource . RepositoryResource . Builder extends GeneratedMessageV3 . Builder<OSPolicy . Resource . RepositoryResource . Builder > implements OSPolicy . Resource . RepositoryResourceOrBuilder
A resource that manages a package repository.
Protobuf type google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy . Resource . RepositoryResource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public OSPolicy . Resource . RepositoryResource build ()
Returns
buildPartial()
public OSPolicy . Resource . RepositoryResource buildPartial ()
Returns
clear()
public OSPolicy . Resource . RepositoryResource . Builder clear ()
Returns
Overrides
clearApt()
public OSPolicy . Resource . RepositoryResource . Builder clearApt ()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public OSPolicy . Resource . RepositoryResource . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearGoo()
public OSPolicy . Resource . RepositoryResource . Builder clearGoo ()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicy . Resource . RepositoryResource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearRepository()
public OSPolicy . Resource . RepositoryResource . Builder clearRepository ()
Returns
clearYum()
public OSPolicy . Resource . RepositoryResource . Builder clearYum ()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Returns
clearZypper()
public OSPolicy . Resource . RepositoryResource . Builder clearZypper ()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Returns
clone()
public OSPolicy . Resource . RepositoryResource . Builder clone ()
Returns
Overrides
getApt()
public OSPolicy . Resource . RepositoryResource . AptRepository getApt ()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Returns
getAptBuilder()
public OSPolicy . Resource . RepositoryResource . AptRepository . Builder getAptBuilder ()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Returns
getAptOrBuilder()
public OSPolicy . Resource . RepositoryResource . AptRepositoryOrBuilder getAptOrBuilder ()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Returns
getDefaultInstanceForType()
public OSPolicy . Resource . RepositoryResource getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getGoo()
public OSPolicy . Resource . RepositoryResource . GooRepository getGoo ()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Returns
getGooBuilder()
public OSPolicy . Resource . RepositoryResource . GooRepository . Builder getGooBuilder ()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Returns
getGooOrBuilder()
public OSPolicy . Resource . RepositoryResource . GooRepositoryOrBuilder getGooOrBuilder ()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Returns
getRepositoryCase()
public OSPolicy . Resource . RepositoryResource . RepositoryCase getRepositoryCase ()
Returns
getYum()
public OSPolicy . Resource . RepositoryResource . YumRepository getYum ()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Returns
getYumBuilder()
public OSPolicy . Resource . RepositoryResource . YumRepository . Builder getYumBuilder ()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Returns
getYumOrBuilder()
public OSPolicy . Resource . RepositoryResource . YumRepositoryOrBuilder getYumOrBuilder ()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Returns
getZypper()
public OSPolicy . Resource . RepositoryResource . ZypperRepository getZypper ()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Returns
getZypperBuilder()
public OSPolicy . Resource . RepositoryResource . ZypperRepository . Builder getZypperBuilder ()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Returns
getZypperOrBuilder()
public OSPolicy . Resource . RepositoryResource . ZypperRepositoryOrBuilder getZypperOrBuilder ()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Returns
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()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Returns
Type Description boolean Whether the goo field is set.
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 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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeApt(OSPolicy.Resource.RepositoryResource.AptRepository value)
public OSPolicy . Resource . RepositoryResource . Builder mergeApt ( OSPolicy . Resource . RepositoryResource . AptRepository value )
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Parameter
Returns
mergeFrom(OSPolicy.Resource.RepositoryResource other)
public OSPolicy . Resource . RepositoryResource . Builder mergeFrom ( OSPolicy . Resource . RepositoryResource other )
Parameter
Returns
public OSPolicy . Resource . RepositoryResource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OSPolicy . Resource . RepositoryResource . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeGoo(OSPolicy.Resource.RepositoryResource.GooRepository value)
public OSPolicy . Resource . RepositoryResource . Builder mergeGoo ( OSPolicy . Resource . RepositoryResource . GooRepository value )
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicy . Resource . RepositoryResource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeYum(OSPolicy.Resource.RepositoryResource.YumRepository value)
public OSPolicy . Resource . RepositoryResource . Builder mergeYum ( OSPolicy . Resource . RepositoryResource . YumRepository value )
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Parameter
Returns
mergeZypper(OSPolicy.Resource.RepositoryResource.ZypperRepository value)
public OSPolicy . Resource . RepositoryResource . Builder mergeZypper ( OSPolicy . Resource . RepositoryResource . ZypperRepository value )
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Parameter
Returns
setApt(OSPolicy.Resource.RepositoryResource.AptRepository value)
public OSPolicy . Resource . RepositoryResource . Builder setApt ( OSPolicy . Resource . RepositoryResource . AptRepository value )
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Parameter
Returns
setApt(OSPolicy.Resource.RepositoryResource.AptRepository.Builder builderForValue)
public OSPolicy . Resource . RepositoryResource . Builder setApt ( OSPolicy . Resource . RepositoryResource . AptRepository . Builder builderForValue )
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy . Resource . RepositoryResource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setGoo(OSPolicy.Resource.RepositoryResource.GooRepository value)
public OSPolicy . Resource . RepositoryResource . Builder setGoo ( OSPolicy . Resource . RepositoryResource . GooRepository value )
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Parameter
Returns
setGoo(OSPolicy.Resource.RepositoryResource.GooRepository.Builder builderForValue)
public OSPolicy . Resource . RepositoryResource . Builder setGoo ( OSPolicy . Resource . RepositoryResource . GooRepository . Builder builderForValue )
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicy . Resource . RepositoryResource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicy . Resource . RepositoryResource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setYum(OSPolicy.Resource.RepositoryResource.YumRepository value)
public OSPolicy . Resource . RepositoryResource . Builder setYum ( OSPolicy . Resource . RepositoryResource . YumRepository value )
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Parameter
Returns
setYum(OSPolicy.Resource.RepositoryResource.YumRepository.Builder builderForValue)
public OSPolicy . Resource . RepositoryResource . Builder setYum ( OSPolicy . Resource . RepositoryResource . YumRepository . Builder builderForValue )
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
Parameter
Returns
setZypper(OSPolicy.Resource.RepositoryResource.ZypperRepository value)
public OSPolicy . Resource . RepositoryResource . Builder setZypper ( OSPolicy . Resource . RepositoryResource . ZypperRepository value )
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Parameter
Returns
setZypper(OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder builderForValue)
public OSPolicy . Resource . RepositoryResource . Builder setZypper ( OSPolicy . Resource . RepositoryResource . ZypperRepository . Builder builderForValue )
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
Parameter
Returns
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."],[],[]]