Class ImportAptArtifactsRequest.Builder

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

public static final class ImportAptArtifactsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportAptArtifactsRequest.Builder> implements ImportAptArtifactsRequestOrBuilder
 The request to import new apt artifacts.
 
Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest
  • 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<ImportAptArtifactsRequest.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<ImportAptArtifactsRequest.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<ImportAptArtifactsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ImportAptArtifactsRequest.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<ImportAptArtifactsRequest.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<ImportAptArtifactsRequest.Builder>
    • mergeFrom

      public ImportAptArtifactsRequest.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<ImportAptArtifactsRequest.Builder>
      Throws:
      IOException
    • getSourceCase

      public ImportAptArtifactsRequest.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ImportAptArtifactsRequestOrBuilder
    • clearSource

      public ImportAptArtifactsRequest.Builder clearSource()
    • hasGcsSource

      public boolean hasGcsSource()
       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
      Specified by:
      hasGcsSource in interface ImportAptArtifactsRequestOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public ImportAptArtifactsGcsSource getGcsSource()
       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
      Specified by:
      getGcsSource in interface ImportAptArtifactsRequestOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
    • setGcsSource

       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
    • mergeGcsSource

       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
    • clearGcsSource

      public ImportAptArtifactsRequest.Builder clearGcsSource()
       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
    • getGcsSourceBuilder

      public ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder()
       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
    • getGcsSourceOrBuilder

      public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()
       Google Cloud Storage location where input content is located.
       
      .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2;
      Specified by:
      getGcsSourceOrBuilder in interface ImportAptArtifactsRequestOrBuilder
    • getParent

      public String getParent()
       The name of the parent resource where the artifacts will be imported.
       
      string parent = 1;
      Specified by:
      getParent in interface ImportAptArtifactsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       The name of the parent resource where the artifacts will be imported.
       
      string parent = 1;
      Specified by:
      getParentBytes in interface ImportAptArtifactsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ImportAptArtifactsRequest.Builder setParent(String value)
       The name of the parent resource where the artifacts will be imported.
       
      string parent = 1;
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ImportAptArtifactsRequest.Builder clearParent()
       The name of the parent resource where the artifacts will be imported.
       
      string parent = 1;
      Returns:
      This builder for chaining.
    • setParentBytes

      public ImportAptArtifactsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       The name of the parent resource where the artifacts will be imported.
       
      string parent = 1;
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.