java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.artifactregistry.v1beta2.Repository
All Implemented Interfaces:
RepositoryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Repository extends com.google.protobuf.GeneratedMessage implements RepositoryOrBuilder
 A Repository for storing artifacts with a specific format.
 
Protobuf type google.devtools.artifactregistry.v1beta2.Repository
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A Repository for storing artifacts with a specific format.
    static enum 
    A package format.
    static enum 
     
    static final class 
    MavenRepositoryConfig is maven related repository details.
    static interface 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Labels with user-defined metadata.
    boolean
     
    com.google.protobuf.Timestamp
    The time when the repository was created.
    com.google.protobuf.TimestampOrBuilder
    The time when the repository was created.
    static Repository
     
     
    The user-provided description of the repository.
    com.google.protobuf.ByteString
    The user-provided description of the repository.
    static final com.google.protobuf.Descriptors.Descriptor
     
    The format of packages that are stored in the repository.
     
    int
    The format of packages that are stored in the repository.
    The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository.
    com.google.protobuf.ByteString
    The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository.
    Deprecated.
    int
    Labels with user-defined metadata.
    Labels with user-defined metadata.
    getLabelsOrDefault(String key, String defaultValue)
    Labels with user-defined metadata.
    Labels with user-defined metadata.
    Maven repository config contains repository level configuration for the repositories of maven type.
    Maven repository config contains repository level configuration for the repositories of maven type.
    The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
    com.google.protobuf.ByteString
    The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
    com.google.protobuf.Parser<Repository>
     
    int
     
    com.google.protobuf.Timestamp
    The time when the repository was last updated.
    com.google.protobuf.TimestampOrBuilder
    The time when the repository was last updated.
    boolean
    The time when the repository was created.
    int
     
    boolean
    Maven repository config contains repository level configuration for the repositories of maven type.
    boolean
    The time when the repository was last updated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Repository
     
    static Repository
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Repository
    parseFrom(byte[] data)
     
    static Repository
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Repository
    parseFrom(com.google.protobuf.ByteString data)
     
    static Repository
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Repository
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Repository
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Repository
     
    static Repository
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Repository
     
    static Repository
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Repository>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getFormatConfigCase

      public Repository.FormatConfigCase getFormatConfigCase()
      Specified by:
      getFormatConfigCase in interface RepositoryOrBuilder
    • hasMavenConfig

      public boolean hasMavenConfig()
       Maven repository config contains repository level configuration
       for the repositories of maven type.
       
      .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9;
      Specified by:
      hasMavenConfig in interface RepositoryOrBuilder
      Returns:
      Whether the mavenConfig field is set.
    • getMavenConfig

      public Repository.MavenRepositoryConfig getMavenConfig()
       Maven repository config contains repository level configuration
       for the repositories of maven type.
       
      .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9;
      Specified by:
      getMavenConfig in interface RepositoryOrBuilder
      Returns:
      The mavenConfig.
    • getMavenConfigOrBuilder

      public Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder()
       Maven repository config contains repository level configuration
       for the repositories of maven type.
       
      .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9;
      Specified by:
      getMavenConfigOrBuilder in interface RepositoryOrBuilder
    • getName

      public String getName()
       The name of the repository, for example:
       "projects/p1/locations/us-central1/repositories/repo1".
       
      string name = 1;
      Specified by:
      getName in interface RepositoryOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the repository, for example:
       "projects/p1/locations/us-central1/repositories/repo1".
       
      string name = 1;
      Specified by:
      getNameBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for name.
    • getFormatValue

      public int getFormatValue()
       The format of packages that are stored in the repository.
       
      .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2;
      Specified by:
      getFormatValue in interface RepositoryOrBuilder
      Returns:
      The enum numeric value on the wire for format.
    • getFormat

      public Repository.Format getFormat()
       The format of packages that are stored in the repository.
       
      .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2;
      Specified by:
      getFormat in interface RepositoryOrBuilder
      Returns:
      The format.
    • getDescription

      public String getDescription()
       The user-provided description of the repository.
       
      string description = 3;
      Specified by:
      getDescription in interface RepositoryOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The user-provided description of the repository.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for description.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: RepositoryOrBuilder
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface RepositoryOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface RepositoryOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface RepositoryOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface RepositoryOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface RepositoryOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface RepositoryOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       The time when the repository was created.
       
      .google.protobuf.Timestamp create_time = 5;
      Specified by:
      hasCreateTime in interface RepositoryOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       The time when the repository was created.
       
      .google.protobuf.Timestamp create_time = 5;
      Specified by:
      getCreateTime in interface RepositoryOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time when the repository was created.
       
      .google.protobuf.Timestamp create_time = 5;
      Specified by:
      getCreateTimeOrBuilder in interface RepositoryOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       The time when the repository was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
      Specified by:
      hasUpdateTime in interface RepositoryOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       The time when the repository was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
      Specified by:
      getUpdateTime in interface RepositoryOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       The time when the repository was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
      Specified by:
      getUpdateTimeOrBuilder in interface RepositoryOrBuilder
    • getKmsKeyName

      public String getKmsKeyName()
       The Cloud KMS resource name of the customer managed encryption key that’s
       used to encrypt the contents of the Repository. Has the form:
       `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
       This value may not be changed after the Repository has been created.
       
      string kms_key_name = 8;
      Specified by:
      getKmsKeyName in interface RepositoryOrBuilder
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

      public com.google.protobuf.ByteString getKmsKeyNameBytes()
       The Cloud KMS resource name of the customer managed encryption key that’s
       used to encrypt the contents of the Repository. Has the form:
       `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
       This value may not be changed after the Repository has been created.
       
      string kms_key_name = 8;
      Specified by:
      getKmsKeyNameBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for kmsKeyName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Repository parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Repository parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Repository parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Repository parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Repository parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Repository parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Repository parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Repository parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Repository parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Repository parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Repository parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Repository.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Repository.Builder newBuilder()
    • newBuilder

      public static Repository.Builder newBuilder(Repository prototype)
    • toBuilder

      public Repository.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Repository.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Repository getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Repository> parser()
    • getParserForType

      public com.google.protobuf.Parser<Repository> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Repository getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder