Class Repository
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 ClassesModifier and TypeClassDescriptionstatic final classA Repository for storing artifacts with a specific format.static enumA package format.static enumstatic final classMavenRepositoryConfig is maven related repository details.static interfaceNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels with user-defined metadata.booleancom.google.protobuf.TimestampThe time when the repository was created.com.google.protobuf.TimestampOrBuilderThe time when the repository was created.static RepositoryThe user-provided description of the repository.com.google.protobuf.ByteStringThe user-provided description of the repository.static final com.google.protobuf.Descriptors.DescriptorThe format of packages that are stored in the repository.intThe 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.ByteStringThe Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository.Deprecated.intLabels with user-defined metadata.Labels with user-defined metadata.getLabelsOrDefault(String key, String defaultValue) Labels with user-defined metadata.getLabelsOrThrow(String key) 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.getName()The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".com.google.protobuf.ByteStringThe name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".com.google.protobuf.Parser<Repository>intcom.google.protobuf.TimestampThe time when the repository was last updated.com.google.protobuf.TimestampOrBuilderThe time when the repository was last updated.booleanThe time when the repository was created.inthashCode()booleanMaven repository config contains repository level configuration for the repositories of maven type.booleanThe time when the repository was last updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Repository.Builderstatic Repository.BuildernewBuilder(Repository prototype) protected Repository.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RepositoryparseDelimitedFrom(InputStream input) static RepositoryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(byte[] data) static RepositoryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(com.google.protobuf.ByteString data) static RepositoryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(com.google.protobuf.CodedInputStream input) static RepositoryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(InputStream input) static RepositoryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(ByteBuffer data) static RepositoryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Repository>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAVEN_CONFIG_FIELD_NUMBER
public static final int MAVEN_CONFIG_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getFormatConfigCase
- Specified by:
getFormatConfigCasein interfaceRepositoryOrBuilder
-
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:
hasMavenConfigin interfaceRepositoryOrBuilder- Returns:
- Whether the mavenConfig field is set.
-
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:
getMavenConfigin interfaceRepositoryOrBuilder- Returns:
- The mavenConfig.
-
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:
getMavenConfigOrBuilderin interfaceRepositoryOrBuilder
-
getName
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
string name = 1;- Specified by:
getNamein interfaceRepositoryOrBuilder- 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:
getNameBytesin interfaceRepositoryOrBuilder- 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:
getFormatValuein interfaceRepositoryOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
getFormat
The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1beta2.Repository.Format format = 2;- Specified by:
getFormatin interfaceRepositoryOrBuilder- Returns:
- The format.
-
getDescription
The user-provided description of the repository.
string description = 3;- Specified by:
getDescriptionin interfaceRepositoryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The user-provided description of the repository.
string description = 3;- Specified by:
getDescriptionBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for description.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:RepositoryOrBuilderLabels 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:
getLabelsCountin interfaceRepositoryOrBuilder
-
containsLabels
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:
containsLabelsin interfaceRepositoryOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRepositoryOrBuilder
-
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:
getLabelsMapin interfaceRepositoryOrBuilder
-
getLabelsOrDefault
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:
getLabelsOrDefaultin interfaceRepositoryOrBuilder
-
getLabelsOrThrow
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:
getLabelsOrThrowin interfaceRepositoryOrBuilder
-
hasCreateTime
public boolean hasCreateTime()The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
hasCreateTimein interfaceRepositoryOrBuilder- 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:
getCreateTimein interfaceRepositoryOrBuilder- 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:
getCreateTimeOrBuilderin interfaceRepositoryOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;- Specified by:
hasUpdateTimein interfaceRepositoryOrBuilder- 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:
getUpdateTimein interfaceRepositoryOrBuilder- 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:
getUpdateTimeOrBuilderin interfaceRepositoryOrBuilder
-
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:
getKmsKeyNamein interfaceRepositoryOrBuilder- 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:
getKmsKeyNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for kmsKeyName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Repository parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Repository parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Repository parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Repository.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-