Class ImportYumArtifactsRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportYumArtifactsRequest.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.GeneratedMessageV3.Builder<ImportYumArtifactsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ImportYumArtifactsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportYumArtifactsRequest.Builder>
      • isInitialized

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

        public ImportYumArtifactsRequest.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<ImportYumArtifactsRequest.Builder>
        Throws:
        IOException
      • hasGcsSource

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

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

        public ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder()
         Google Cloud Storage location where input content is located.
         
        .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2;
      • 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 ImportYumArtifactsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ImportYumArtifactsRequest.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 ImportYumArtifactsRequest.Builder clearParent()
         The name of the parent resource where the artifacts will be imported.
         
        string parent = 1;
        Returns:
        This builder for chaining.
      • setParentBytes

        public ImportYumArtifactsRequest.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.
      • setUnknownFields

        public final ImportYumArtifactsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportYumArtifactsRequest.Builder>
      • mergeUnknownFields

        public final ImportYumArtifactsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportYumArtifactsRequest.Builder>