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
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 OSPolicy.Resource.RepositoryResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OSPolicy.Resource.RepositoryResource build()
buildPartial()
public OSPolicy.Resource.RepositoryResource buildPartial()
clear()
public OSPolicy.Resource.RepositoryResource.Builder clear()
Overrides
clearApt()
public OSPolicy.Resource.RepositoryResource.Builder clearApt()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
clearField(Descriptors.FieldDescriptor field)
public OSPolicy.Resource.RepositoryResource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGoo()
public OSPolicy.Resource.RepositoryResource.Builder clearGoo()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicy.Resource.RepositoryResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRepository()
public OSPolicy.Resource.RepositoryResource.Builder clearRepository()
clearYum()
public OSPolicy.Resource.RepositoryResource.Builder clearYum()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
clearZypper()
public OSPolicy.Resource.RepositoryResource.Builder clearZypper()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
clone()
public OSPolicy.Resource.RepositoryResource.Builder clone()
Overrides
getApt()
public OSPolicy.Resource.RepositoryResource.AptRepository getApt()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
getAptBuilder()
public OSPolicy.Resource.RepositoryResource.AptRepository.Builder getAptBuilder()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
getAptOrBuilder()
public OSPolicy.Resource.RepositoryResource.AptRepositoryOrBuilder getAptOrBuilder()
An Apt Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository apt = 1;
getDefaultInstanceForType()
public OSPolicy.Resource.RepositoryResource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGoo()
public OSPolicy.Resource.RepositoryResource.GooRepository getGoo()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
getGooBuilder()
public OSPolicy.Resource.RepositoryResource.GooRepository.Builder getGooBuilder()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
getGooOrBuilder()
public OSPolicy.Resource.RepositoryResource.GooRepositoryOrBuilder getGooOrBuilder()
A Goo Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository goo = 4;
getRepositoryCase()
public OSPolicy.Resource.RepositoryResource.RepositoryCase getRepositoryCase()
getYum()
public OSPolicy.Resource.RepositoryResource.YumRepository getYum()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
getYumBuilder()
public OSPolicy.Resource.RepositoryResource.YumRepository.Builder getYumBuilder()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
getYumOrBuilder()
public OSPolicy.Resource.RepositoryResource.YumRepositoryOrBuilder getYumOrBuilder()
A Yum Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository yum = 2;
getZypper()
public OSPolicy.Resource.RepositoryResource.ZypperRepository getZypper()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
getZypperBuilder()
public OSPolicy.Resource.RepositoryResource.ZypperRepository.Builder getZypperBuilder()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
getZypperOrBuilder()
public OSPolicy.Resource.RepositoryResource.ZypperRepositoryOrBuilder getZypperOrBuilder()
A Zypper Repository.
.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository zypper = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(OSPolicy.Resource.RepositoryResource other)
public OSPolicy.Resource.RepositoryResource.Builder mergeFrom(OSPolicy.Resource.RepositoryResource other)
public OSPolicy.Resource.RepositoryResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OSPolicy.Resource.RepositoryResource.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicy.Resource.RepositoryResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy.Resource.RepositoryResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicy.Resource.RepositoryResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicy.Resource.RepositoryResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;