public static final class VirtualRepositoryConfig.Builder extends GeneratedMessageV3.Builder<VirtualRepositoryConfig.Builder> implements VirtualRepositoryConfigOrBuilder
Virtual repository configuration.
Protobuf type google.devtools.artifactregistry.v1.VirtualRepositoryConfig
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 VirtualRepositoryConfig.Builder addAllUpstreamPolicies(Iterable<? extends UpstreamPolicy> values)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.devtools.artifactregistry.v1.UpstreamPolicy>
|
public VirtualRepositoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VirtualRepositoryConfig.Builder addUpstreamPolicies(UpstreamPolicy value)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public VirtualRepositoryConfig.Builder addUpstreamPolicies(UpstreamPolicy.Builder builderForValue)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public VirtualRepositoryConfig.Builder addUpstreamPolicies(int index, UpstreamPolicy value)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public VirtualRepositoryConfig.Builder addUpstreamPolicies(int index, UpstreamPolicy.Builder builderForValue)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public UpstreamPolicy.Builder addUpstreamPoliciesBuilder()
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public UpstreamPolicy.Builder addUpstreamPoliciesBuilder(int index)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Parameter |
Name |
Description |
index |
int
|
public VirtualRepositoryConfig build()
public VirtualRepositoryConfig buildPartial()
public VirtualRepositoryConfig.Builder clear()
Overrides
public VirtualRepositoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public VirtualRepositoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public VirtualRepositoryConfig.Builder clearUpstreamPolicies()
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public VirtualRepositoryConfig.Builder clone()
Overrides
public VirtualRepositoryConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public UpstreamPolicy getUpstreamPolicies(int index)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Parameter |
Name |
Description |
index |
int
|
public UpstreamPolicy.Builder getUpstreamPoliciesBuilder(int index)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Parameter |
Name |
Description |
index |
int
|
public List<UpstreamPolicy.Builder> getUpstreamPoliciesBuilderList()
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public int getUpstreamPoliciesCount()
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Returns |
Type |
Description |
int |
|
public List<UpstreamPolicy> getUpstreamPoliciesList()
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public UpstreamPolicyOrBuilder getUpstreamPoliciesOrBuilder(int index)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends UpstreamPolicyOrBuilder> getUpstreamPoliciesOrBuilderList()
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Returns |
Type |
Description |
List<? extends com.google.devtools.artifactregistry.v1.UpstreamPolicyOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VirtualRepositoryConfig.Builder mergeFrom(VirtualRepositoryConfig other)
public VirtualRepositoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public VirtualRepositoryConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final VirtualRepositoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public VirtualRepositoryConfig.Builder removeUpstreamPolicies(int index)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
Parameter |
Name |
Description |
index |
int
|
public VirtualRepositoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VirtualRepositoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final VirtualRepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public VirtualRepositoryConfig.Builder setUpstreamPolicies(int index, UpstreamPolicy value)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;
public VirtualRepositoryConfig.Builder setUpstreamPolicies(int index, UpstreamPolicy.Builder builderForValue)
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
repeated .google.devtools.artifactregistry.v1.UpstreamPolicy upstream_policies = 1;