public static final class RemoteRepositoryConfig.AptRepository.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.AptRepository.Builder> implements RemoteRepositoryConfig.AptRepositoryOrBuilder
Configuration for an Apt remote repository.
Protobuf type
google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public RemoteRepositoryConfig.AptRepository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RemoteRepositoryConfig.AptRepository build()
public RemoteRepositoryConfig.AptRepository buildPartial()
public RemoteRepositoryConfig.AptRepository.Builder clear()
Overrides
public RemoteRepositoryConfig.AptRepository.Builder clearCustomRepository()
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RemoteRepositoryConfig.AptRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RemoteRepositoryConfig.AptRepository.Builder clearPublicRepository()
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.AptRepository.Builder clearUpstream()
public RemoteRepositoryConfig.AptRepository.Builder clone()
Overrides
public RemoteRepositoryConfig.AptRepository.CustomRepository getCustomRepository()
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository.CustomRepository.Builder getCustomRepositoryBuilder()
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository.CustomRepositoryOrBuilder getCustomRepositoryOrBuilder()
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RemoteRepositoryConfig.AptRepository.PublicRepository getPublicRepository()
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.AptRepository.PublicRepository.Builder getPublicRepositoryBuilder()
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.AptRepository.PublicRepositoryOrBuilder getPublicRepositoryOrBuilder()
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.AptRepository.UpstreamCase getUpstreamCase()
public boolean hasCustomRepository()
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
Returns |
Type |
Description |
boolean |
Whether the customRepository field is set.
|
public boolean hasPublicRepository()
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.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.AptRepository.Builder mergeCustomRepository(RemoteRepositoryConfig.AptRepository.CustomRepository value)
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository.Builder mergeFrom(RemoteRepositoryConfig.AptRepository other)
public RemoteRepositoryConfig.AptRepository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RemoteRepositoryConfig.AptRepository.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public RemoteRepositoryConfig.AptRepository.Builder mergePublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository value)
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public final RemoteRepositoryConfig.AptRepository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RemoteRepositoryConfig.AptRepository.Builder setCustomRepository(RemoteRepositoryConfig.AptRepository.CustomRepository value)
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository.Builder setCustomRepository(RemoteRepositoryConfig.AptRepository.CustomRepository.Builder builderForValue)
Customer-specified remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository custom_repository = 3;
public RemoteRepositoryConfig.AptRepository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RemoteRepositoryConfig.AptRepository.Builder setPublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository value)
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.AptRepository.Builder setPublicRepository(RemoteRepositoryConfig.AptRepository.PublicRepository.Builder builderForValue)
One of the publicly available Apt repositories supported by Artifact
Registry.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository public_repository = 1;
public RemoteRepositoryConfig.AptRepository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RemoteRepositoryConfig.AptRepository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides