Class VirtualRepositoryConfig (1.36.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static VirtualRepositoryConfig getDefaultInstance()
Returns
TypeDescription
VirtualRepositoryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VirtualRepositoryConfig.Builder newBuilder()
Returns
TypeDescription
VirtualRepositoryConfig.Builder

newBuilder(VirtualRepositoryConfig prototype)

public static VirtualRepositoryConfig.Builder newBuilder(VirtualRepositoryConfig prototype)
Parameter
NameDescription
prototypeVirtualRepositoryConfig
Returns
TypeDescription
VirtualRepositoryConfig.Builder

parseDelimitedFrom(InputStream input)

public static VirtualRepositoryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VirtualRepositoryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VirtualRepositoryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VirtualRepositoryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VirtualRepositoryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VirtualRepositoryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VirtualRepositoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VirtualRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VirtualRepositoryConfig> parser()
Returns
TypeDescription
Parser<VirtualRepositoryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VirtualRepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
VirtualRepositoryConfig

getParserForType()

public Parser<VirtualRepositoryConfig> getParserForType()
Returns
TypeDescription
Parser<VirtualRepositoryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.UpstreamPolicyOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VirtualRepositoryConfig.Builder newBuilderForType()
Returns
TypeDescription
VirtualRepositoryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VirtualRepositoryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VirtualRepositoryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VirtualRepositoryConfig.Builder toBuilder()
Returns
TypeDescription
VirtualRepositoryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException