public static final class RemoteRepositoryConfig.YumRepository.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.YumRepository.Builder> implements RemoteRepositoryConfig.YumRepositoryOrBuilder
Configuration for a Yum remote repository.
Protobuf type
google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public RemoteRepositoryConfig.YumRepository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RemoteRepositoryConfig.YumRepository build()
public RemoteRepositoryConfig.YumRepository buildPartial()
public RemoteRepositoryConfig.YumRepository.Builder clear()
Overrides
public RemoteRepositoryConfig.YumRepository.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RemoteRepositoryConfig.YumRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RemoteRepositoryConfig.YumRepository.Builder clearPublicRepository()
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.YumRepository.Builder clearUpstream()
public RemoteRepositoryConfig.YumRepository.Builder clone()
Overrides
public RemoteRepositoryConfig.YumRepository getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RemoteRepositoryConfig.YumRepository.PublicRepository getPublicRepository()
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.YumRepository.PublicRepository.Builder getPublicRepositoryBuilder()
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.YumRepository.PublicRepositoryOrBuilder getPublicRepositoryOrBuilder()
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.YumRepository.UpstreamCase getUpstreamCase()
public boolean hasPublicRepository()
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
Returns |
---|
Type | Description |
boolean | Whether the publicRepository field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RemoteRepositoryConfig.YumRepository.Builder mergeFrom(RemoteRepositoryConfig.YumRepository other)
public RemoteRepositoryConfig.YumRepository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RemoteRepositoryConfig.YumRepository.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public RemoteRepositoryConfig.YumRepository.Builder mergePublicRepository(RemoteRepositoryConfig.YumRepository.PublicRepository value)
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public final RemoteRepositoryConfig.YumRepository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RemoteRepositoryConfig.YumRepository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RemoteRepositoryConfig.YumRepository.Builder setPublicRepository(RemoteRepositoryConfig.YumRepository.PublicRepository value)
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.YumRepository.Builder setPublicRepository(RemoteRepositoryConfig.YumRepository.PublicRepository.Builder builderForValue)
One of the publicly available Yum repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.YumRepository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RemoteRepositoryConfig.YumRepository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides