Class ListArtifactsResponse.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<ListArtifactsResponse.Builder>
      • clear

        public ListArtifactsResponse.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.GeneratedMessageV3.Builder<ListArtifactsResponse.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<ListArtifactsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListArtifactsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
      • clearField

        public ListArtifactsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
      • clearOneof

        public ListArtifactsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
      • setRepeatedField

        public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
      • addRepeatedField

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

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

        public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
        Throws:
        IOException
      • getArtifactsCount

        public int getArtifactsCount()
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
        Specified by:
        getArtifactsCount in interface ListArtifactsResponseOrBuilder
      • setArtifacts

        public ListArtifactsResponse.Builder setArtifacts​(int index,
                                                          Artifact value)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • setArtifacts

        public ListArtifactsResponse.Builder setArtifacts​(int index,
                                                          Artifact.Builder builderForValue)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • addArtifacts

        public ListArtifactsResponse.Builder addArtifacts​(Artifact value)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • addArtifacts

        public ListArtifactsResponse.Builder addArtifacts​(int index,
                                                          Artifact value)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • addArtifacts

        public ListArtifactsResponse.Builder addArtifacts​(int index,
                                                          Artifact.Builder builderForValue)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • clearArtifacts

        public ListArtifactsResponse.Builder clearArtifacts()
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • removeArtifacts

        public ListArtifactsResponse.Builder removeArtifacts​(int index)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • getArtifactsBuilder

        public Artifact.Builder getArtifactsBuilder​(int index)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • addArtifactsBuilder

        public Artifact.Builder addArtifactsBuilder()
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • addArtifactsBuilder

        public Artifact.Builder addArtifactsBuilder​(int index)
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • getArtifactsBuilderList

        public List<Artifact.Builder> getArtifactsBuilderList()
         The artifacts from the specified publisher.
         
        repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListArtifactsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListArtifactsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListArtifactsResponse.Builder setNextPageToken​(String value)
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListArtifactsResponse.Builder clearNextPageToken()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListArtifactsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListArtifactsResponse.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<ListArtifactsResponse.Builder>
      • mergeUnknownFields

        public final ListArtifactsResponse.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<ListArtifactsResponse.Builder>