Class VirtualRepositoryConfig (1.44.0)

public final class VirtualRepositoryConfig extends GeneratedMessageV3 implements VirtualRepositoryConfigOrBuilder

Virtual repository configuration.

Protobuf type google.devtools.artifactregistry.v1.VirtualRepositoryConfig

Static Fields

UPSTREAM_POLICIES_FIELD_NUMBER

public static final int UPSTREAM_POLICIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VirtualRepositoryConfig getDefaultInstance()
Returns
Type Description
VirtualRepositoryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VirtualRepositoryConfig.Builder newBuilder()
Returns
Type Description
VirtualRepositoryConfig.Builder

newBuilder(VirtualRepositoryConfig prototype)

public static VirtualRepositoryConfig.Builder newBuilder(VirtualRepositoryConfig prototype)
Parameter
Name Description
prototype VirtualRepositoryConfig
Returns
Type Description
VirtualRepositoryConfig.Builder

parseDelimitedFrom(InputStream input)

public static VirtualRepositoryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VirtualRepositoryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VirtualRepositoryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VirtualRepositoryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VirtualRepositoryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VirtualRepositoryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VirtualRepositoryConfig> parser()
Returns
Type Description
Parser<VirtualRepositoryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VirtualRepositoryConfig getDefaultInstanceForType()
Returns
Type Description
VirtualRepositoryConfig

getParserForType()

public Parser<VirtualRepositoryConfig> getParserForType()
Returns
Type Description
Parser<VirtualRepositoryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpstreamPolicies(int index)

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
Returns
Type Description
UpstreamPolicy

getUpstreamPoliciesCount()

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

getUpstreamPoliciesList()

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;

Returns
Type Description
List<UpstreamPolicy>

getUpstreamPoliciesOrBuilder(int index)

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
Returns
Type Description
UpstreamPolicyOrBuilder

getUpstreamPoliciesOrBuilderList()

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VirtualRepositoryConfig.Builder newBuilderForType()
Returns
Type Description
VirtualRepositoryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VirtualRepositoryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VirtualRepositoryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VirtualRepositoryConfig.Builder toBuilder()
Returns
Type Description
VirtualRepositoryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException