Class RemoteRepositoryConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.artifactregistry.v1.RemoteRepositoryConfig
- All Implemented Interfaces:
RemoteRepositoryConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RemoteRepositoryConfig
extends com.google.protobuf.GeneratedMessage
implements RemoteRepositoryConfigOrBuilder
Remote repository configuration.Protobuf type
google.devtools.artifactregistry.v1.RemoteRepositoryConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for an Apt remote repository.static interfacestatic final classRemote repository configuration.static final classCommon remote repository settings type.static interfacestatic final classConfiguration for a Docker remote repository.static interfacestatic final classConfiguration for a Maven remote repository.static interfacestatic final classConfiguration for a Npm remote repository.static interfacestatic final classConfiguration for a Python remote repository.static interfacestatic enumstatic final classThe credentials to access the remote repository.static interfacestatic final classConfiguration for a Yum remote repository.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 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 TypeMethodDescriptionbooleanSpecific settings for an Apt remote repository.Specific settings for an Apt remote repository.Common remote repository settings.Common remote repository settings.static RemoteRepositoryConfigThe description of the remote source.com.google.protobuf.ByteStringThe description of the remote source.static final com.google.protobuf.Descriptors.DescriptorbooleanInput only.Specific settings for a Docker remote repository.Specific settings for a Docker remote repository.Specific settings for a Maven remote repository.Specific settings for a Maven remote repository.Specific settings for an Npm remote repository.Specific settings for an Npm remote repository.com.google.protobuf.Parser<RemoteRepositoryConfig>Specific settings for a Python remote repository.Specific settings for a Python remote repository.intOptional.Optional.Specific settings for a Yum remote repository.Specific settings for a Yum remote repository.booleanSpecific settings for an Apt remote repository.booleanCommon remote repository settings.booleanSpecific settings for a Docker remote repository.inthashCode()booleanSpecific settings for a Maven remote repository.booleanSpecific settings for an Npm remote repository.booleanSpecific settings for a Python remote repository.booleanOptional.booleanSpecific settings for a Yum remote repository.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(RemoteRepositoryConfig prototype) protected RemoteRepositoryConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RemoteRepositoryConfigparseDelimitedFrom(InputStream input) static RemoteRepositoryConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteRepositoryConfigparseFrom(byte[] data) static RemoteRepositoryConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteRepositoryConfigparseFrom(com.google.protobuf.ByteString data) static RemoteRepositoryConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteRepositoryConfigparseFrom(com.google.protobuf.CodedInputStream input) static RemoteRepositoryConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteRepositoryConfigparseFrom(InputStream input) static RemoteRepositoryConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteRepositoryConfigparseFrom(ByteBuffer data) static RemoteRepositoryConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RemoteRepositoryConfig>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, internalGetMapFieldReflection, 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
-
DOCKER_REPOSITORY_FIELD_NUMBER
public static final int DOCKER_REPOSITORY_FIELD_NUMBER- See Also:
-
MAVEN_REPOSITORY_FIELD_NUMBER
public static final int MAVEN_REPOSITORY_FIELD_NUMBER- See Also:
-
NPM_REPOSITORY_FIELD_NUMBER
public static final int NPM_REPOSITORY_FIELD_NUMBER- See Also:
-
PYTHON_REPOSITORY_FIELD_NUMBER
public static final int PYTHON_REPOSITORY_FIELD_NUMBER- See Also:
-
APT_REPOSITORY_FIELD_NUMBER
public static final int APT_REPOSITORY_FIELD_NUMBER- See Also:
-
YUM_REPOSITORY_FIELD_NUMBER
public static final int YUM_REPOSITORY_FIELD_NUMBER- See Also:
-
COMMON_REPOSITORY_FIELD_NUMBER
public static final int COMMON_REPOSITORY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
UPSTREAM_CREDENTIALS_FIELD_NUMBER
public static final int UPSTREAM_CREDENTIALS_FIELD_NUMBER- See Also:
-
DISABLE_UPSTREAM_VALIDATION_FIELD_NUMBER
public static final int DISABLE_UPSTREAM_VALIDATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRemoteSourceCase
- Specified by:
getRemoteSourceCasein interfaceRemoteRepositoryConfigOrBuilder
-
hasDockerRepository
public boolean hasDockerRepository()Specific settings for a Docker remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;- Specified by:
hasDockerRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the dockerRepository field is set.
-
getDockerRepository
Specific settings for a Docker remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;- Specified by:
getDockerRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The dockerRepository.
-
getDockerRepositoryOrBuilder
Specific settings for a Docker remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;- Specified by:
getDockerRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
hasMavenRepository
public boolean hasMavenRepository()Specific settings for a Maven remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;- Specified by:
hasMavenRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the mavenRepository field is set.
-
getMavenRepository
Specific settings for a Maven remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;- Specified by:
getMavenRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The mavenRepository.
-
getMavenRepositoryOrBuilder
Specific settings for a Maven remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;- Specified by:
getMavenRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
hasNpmRepository
public boolean hasNpmRepository()Specific settings for an Npm remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;- Specified by:
hasNpmRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the npmRepository field is set.
-
getNpmRepository
Specific settings for an Npm remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;- Specified by:
getNpmRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The npmRepository.
-
getNpmRepositoryOrBuilder
Specific settings for an Npm remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;- Specified by:
getNpmRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
hasPythonRepository
public boolean hasPythonRepository()Specific settings for a Python remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;- Specified by:
hasPythonRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the pythonRepository field is set.
-
getPythonRepository
Specific settings for a Python remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;- Specified by:
getPythonRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The pythonRepository.
-
getPythonRepositoryOrBuilder
Specific settings for a Python remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;- Specified by:
getPythonRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
hasAptRepository
public boolean hasAptRepository()Specific settings for an Apt remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;- Specified by:
hasAptRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the aptRepository field is set.
-
getAptRepository
Specific settings for an Apt remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;- Specified by:
getAptRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The aptRepository.
-
getAptRepositoryOrBuilder
Specific settings for an Apt remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;- Specified by:
getAptRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
hasYumRepository
public boolean hasYumRepository()Specific settings for a Yum remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;- Specified by:
hasYumRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the yumRepository field is set.
-
getYumRepository
Specific settings for a Yum remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;- Specified by:
getYumRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The yumRepository.
-
getYumRepositoryOrBuilder
Specific settings for a Yum remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;- Specified by:
getYumRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
hasCommonRepository
public boolean hasCommonRepository()Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;- Specified by:
hasCommonRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the commonRepository field is set.
-
getCommonRepository
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;- Specified by:
getCommonRepositoryin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The commonRepository.
-
getCommonRepositoryOrBuilder
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;- Specified by:
getCommonRepositoryOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
getDescription
The description of the remote source.
string description = 1;- Specified by:
getDescriptionin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the remote source.
string description = 1;- Specified by:
getDescriptionBytesin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The bytes for description.
-
hasUpstreamCredentials
public boolean hasUpstreamCredentials()Optional. The credentials used to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUpstreamCredentialsin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- Whether the upstreamCredentials field is set.
-
getUpstreamCredentials
Optional. The credentials used to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpstreamCredentialsin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The upstreamCredentials.
-
getUpstreamCredentialsOrBuilder
Optional. The credentials used to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpstreamCredentialsOrBuilderin interfaceRemoteRepositoryConfigOrBuilder
-
getDisableUpstreamValidation
public boolean getDisableUpstreamValidation()Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getDisableUpstreamValidationin interfaceRemoteRepositoryConfigOrBuilder- Returns:
- The disableUpstreamValidation.
-
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 RemoteRepositoryConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RemoteRepositoryConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RemoteRepositoryConfig 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 RemoteRepositoryConfig.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
-