Class SearchCatalogsResponse.Builder

  • All Implemented Interfaces:
    SearchCatalogsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    SearchCatalogsResponse

    public static final class SearchCatalogsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
    implements SearchCatalogsResponseOrBuilder
     Response message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].
     
    Protobuf type google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse
    • 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<SearchCatalogsResponse.Builder>
      • clear

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

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

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

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

        public SearchCatalogsResponse.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<SearchCatalogsResponse.Builder>
      • clearField

        public SearchCatalogsResponse.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<SearchCatalogsResponse.Builder>
      • clearOneof

        public SearchCatalogsResponse.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<SearchCatalogsResponse.Builder>
      • setRepeatedField

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

        public SearchCatalogsResponse.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<SearchCatalogsResponse.Builder>
      • isInitialized

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

        public SearchCatalogsResponse.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<SearchCatalogsResponse.Builder>
        Throws:
        IOException
      • getCatalogsCount

        public int getCatalogsCount()
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
        Specified by:
        getCatalogsCount in interface SearchCatalogsResponseOrBuilder
      • getCatalogs

        public Catalog getCatalogs​(int index)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
        Specified by:
        getCatalogs in interface SearchCatalogsResponseOrBuilder
      • setCatalogs

        public SearchCatalogsResponse.Builder setCatalogs​(int index,
                                                          Catalog value)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • setCatalogs

        public SearchCatalogsResponse.Builder setCatalogs​(int index,
                                                          Catalog.Builder builderForValue)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • addCatalogs

        public SearchCatalogsResponse.Builder addCatalogs​(Catalog value)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • addCatalogs

        public SearchCatalogsResponse.Builder addCatalogs​(int index,
                                                          Catalog value)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • addCatalogs

        public SearchCatalogsResponse.Builder addCatalogs​(int index,
                                                          Catalog.Builder builderForValue)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • addAllCatalogs

        public SearchCatalogsResponse.Builder addAllCatalogs​(Iterable<? extends Catalog> values)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • clearCatalogs

        public SearchCatalogsResponse.Builder clearCatalogs()
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • removeCatalogs

        public SearchCatalogsResponse.Builder removeCatalogs​(int index)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • getCatalogsBuilder

        public Catalog.Builder getCatalogsBuilder​(int index)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • addCatalogsBuilder

        public Catalog.Builder addCatalogsBuilder()
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • addCatalogsBuilder

        public Catalog.Builder addCatalogsBuilder​(int index)
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • getCatalogsBuilderList

        public List<Catalog.Builder> getCatalogsBuilderList()
         The `Catalog`s computed from the resource context.
         
        repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
      • getNextPageToken

        public String getNextPageToken()
         A pagination token returned from a previous call to SearchCatalogs that
         indicates from where listing should continue.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface SearchCatalogsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A pagination token returned from a previous call to SearchCatalogs that
         indicates from where listing should continue.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface SearchCatalogsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public SearchCatalogsResponse.Builder setNextPageToken​(String value)
         A pagination token returned from a previous call to SearchCatalogs that
         indicates from where listing should continue.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public SearchCatalogsResponse.Builder clearNextPageToken()
         A pagination token returned from a previous call to SearchCatalogs that
         indicates from where listing should continue.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public SearchCatalogsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A pagination token returned from a previous call to SearchCatalogs that
         indicates from where listing should continue.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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