Class ListApiSpecRevisionsResponse.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<ListApiSpecRevisionsResponse.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<ListApiSpecRevisionsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public ListApiSpecRevisionsResponse.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<ListApiSpecRevisionsResponse.Builder>
        Throws:
        IOException
      • removeApiSpecs

        public ListApiSpecRevisionsResponse.Builder removeApiSpecs​(int index)
         The revisions of the spec.
         
        repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
      • getApiSpecsBuilder

        public ApiSpec.Builder getApiSpecsBuilder​(int index)
         The revisions of the spec.
         
        repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
      • addApiSpecsBuilder

        public ApiSpec.Builder addApiSpecsBuilder()
         The revisions of the spec.
         
        repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
      • addApiSpecsBuilder

        public ApiSpec.Builder addApiSpecsBuilder​(int index)
         The revisions of the spec.
         
        repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
      • getApiSpecsBuilderList

        public List<ApiSpec.Builder> getApiSpecsBuilderList()
         The revisions of the spec.
         
        repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token that 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 ListApiSpecRevisionsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token that 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 ListApiSpecRevisionsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListApiSpecRevisionsResponse.Builder setNextPageToken​(String value)
         A token that 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 ListApiSpecRevisionsResponse.Builder clearNextPageToken()
         A token that 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 ListApiSpecRevisionsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token that 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.