Class VirtualRepositoryConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VirtualRepositoryConfig.Builder>
com.google.devtools.artifactregistry.v1.VirtualRepositoryConfig.Builder
All Implemented Interfaces:
VirtualRepositoryConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VirtualRepositoryConfig

public static final class VirtualRepositoryConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<VirtualRepositoryConfig.Builder> implements VirtualRepositoryConfigOrBuilder
 Virtual repository configuration.
 
Protobuf type google.devtools.artifactregistry.v1.VirtualRepositoryConfig
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VirtualRepositoryConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<VirtualRepositoryConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VirtualRepositoryConfig.Builder>
    • getDefaultInstanceForType

      public VirtualRepositoryConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public VirtualRepositoryConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public VirtualRepositoryConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public VirtualRepositoryConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VirtualRepositoryConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<VirtualRepositoryConfig.Builder>
    • mergeFrom

      public VirtualRepositoryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VirtualRepositoryConfig.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getUpstreamPoliciesList in interface VirtualRepositoryConfigOrBuilder
    • 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;
      Specified by:
      getUpstreamPoliciesCount in interface VirtualRepositoryConfigOrBuilder
    • getUpstreamPolicies

      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;
      Specified by:
      getUpstreamPolicies in interface VirtualRepositoryConfigOrBuilder
    • setUpstreamPolicies

      public VirtualRepositoryConfig.Builder setUpstreamPolicies(int index, UpstreamPolicy value)
       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;
    • setUpstreamPolicies

      public VirtualRepositoryConfig.Builder setUpstreamPolicies(int index, UpstreamPolicy.Builder builderForValue)
       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;
    • addUpstreamPolicies

      public VirtualRepositoryConfig.Builder addUpstreamPolicies(UpstreamPolicy value)
       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;
    • addUpstreamPolicies

      public VirtualRepositoryConfig.Builder addUpstreamPolicies(int index, UpstreamPolicy value)
       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;
    • addUpstreamPolicies

      public VirtualRepositoryConfig.Builder addUpstreamPolicies(UpstreamPolicy.Builder builderForValue)
       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;
    • addUpstreamPolicies

      public VirtualRepositoryConfig.Builder addUpstreamPolicies(int index, UpstreamPolicy.Builder builderForValue)
       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;
    • addAllUpstreamPolicies

      public VirtualRepositoryConfig.Builder addAllUpstreamPolicies(Iterable<? extends UpstreamPolicy> values)
       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;
    • clearUpstreamPolicies

      public VirtualRepositoryConfig.Builder clearUpstreamPolicies()
       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;
    • removeUpstreamPolicies

      public VirtualRepositoryConfig.Builder removeUpstreamPolicies(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;
    • getUpstreamPoliciesBuilder

      public UpstreamPolicy.Builder getUpstreamPoliciesBuilder(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;
    • getUpstreamPoliciesOrBuilder

      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;
      Specified by:
      getUpstreamPoliciesOrBuilder in interface VirtualRepositoryConfigOrBuilder
    • 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;
      Specified by:
      getUpstreamPoliciesOrBuilderList in interface VirtualRepositoryConfigOrBuilder
    • addUpstreamPoliciesBuilder

      public UpstreamPolicy.Builder addUpstreamPoliciesBuilder()
       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;
    • addUpstreamPoliciesBuilder

      public UpstreamPolicy.Builder addUpstreamPoliciesBuilder(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;
    • getUpstreamPoliciesBuilderList

      public List<UpstreamPolicy.Builder> getUpstreamPoliciesBuilderList()
       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;