Interface VirtualRepositoryConfigOrBuilder (1.30.0)

public interface VirtualRepositoryConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUpstreamPolicies(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
UpstreamPolicy

getUpstreamPoliciesCount()

public abstract 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
TypeDescription
int

getUpstreamPoliciesList()

public abstract 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;

Returns
TypeDescription
List<UpstreamPolicy>

getUpstreamPoliciesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
UpstreamPolicyOrBuilder

getUpstreamPoliciesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.UpstreamPolicyOrBuilder>