Interface VirtualRepositoryConfigOrBuilder (1.41.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.devtools.artifactregistry.v1.UpstreamPolicyOrBuilder>