Class Repository.MavenRepositoryConfig (1.2.7)

public static final class Repository.MavenRepositoryConfig extends GeneratedMessageV3 implements Repository.MavenRepositoryConfigOrBuilder

MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.

Protobuf type google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Repository.MavenRepositoryConfig

Static Fields

ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER

public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_POLICY_FIELD_NUMBER

public static final int VERSION_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Repository.MavenRepositoryConfig getDefaultInstance()
Returns
TypeDescription
Repository.MavenRepositoryConfig

getDescriptor()

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

newBuilder()

public static Repository.MavenRepositoryConfig.Builder newBuilder()
Returns
TypeDescription
Repository.MavenRepositoryConfig.Builder

newBuilder(Repository.MavenRepositoryConfig prototype)

public static Repository.MavenRepositoryConfig.Builder newBuilder(Repository.MavenRepositoryConfig prototype)
Parameter
NameDescription
prototypeRepository.MavenRepositoryConfig
Returns
TypeDescription
Repository.MavenRepositoryConfig.Builder

parseDelimitedFrom(InputStream input)

public static Repository.MavenRepositoryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Repository.MavenRepositoryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Repository.MavenRepositoryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Repository.MavenRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Repository.MavenRepositoryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Repository.MavenRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Repository.MavenRepositoryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Repository.MavenRepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Repository.MavenRepositoryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Repository.MavenRepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Repository.MavenRepositoryConfig> parser()
Returns
TypeDescription
Parser<MavenRepositoryConfig>

Methods

equals(Object obj)

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

getAllowSnapshotOverwrites()

public boolean getAllowSnapshotOverwrites()

The repository with this flag will allow publishing the same snapshot versions.

bool allow_snapshot_overwrites = 1;

Returns
TypeDescription
boolean

The allowSnapshotOverwrites.

getDefaultInstanceForType()

public Repository.MavenRepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
Repository.MavenRepositoryConfig

getParserForType()

public Parser<Repository.MavenRepositoryConfig> getParserForType()
Returns
TypeDescription
Parser<MavenRepositoryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersionPolicy()

public Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy()

Version policy defines the versions that the registry will accept.

.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;

Returns
TypeDescription
Repository.MavenRepositoryConfig.VersionPolicy

The versionPolicy.

getVersionPolicyValue()

public int getVersionPolicyValue()

Version policy defines the versions that the registry will accept.

.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for versionPolicy.

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 Repository.MavenRepositoryConfig.Builder newBuilderForType()
Returns
TypeDescription
Repository.MavenRepositoryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Repository.MavenRepositoryConfig.Builder toBuilder()
Returns
TypeDescription
Repository.MavenRepositoryConfig.Builder

writeTo(CodedOutputStream output)

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