Class ListApisResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListApisResponse.Builder>
com.google.cloud.apihub.v1.ListApisResponse.Builder
All Implemented Interfaces:
ListApisResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListApisResponse

public static final class ListApisResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListApisResponse.Builder> implements ListApisResponseOrBuilder
 The [ListApis][google.cloud.apihub.v1.ApiHub.ListApis] method's response.
 
Protobuf type google.cloud.apihub.v1.ListApisResponse
  • 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<ListApisResponse.Builder>
    • clear

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

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

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

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

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

      public ListApisResponse.Builder mergeFrom(ListApisResponse other)
    • isInitialized

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

      public ListApisResponse.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<ListApisResponse.Builder>
      Throws:
      IOException
    • getApisList

      public List<Api> getApisList()
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
      Specified by:
      getApisList in interface ListApisResponseOrBuilder
    • getApisCount

      public int getApisCount()
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
      Specified by:
      getApisCount in interface ListApisResponseOrBuilder
    • getApis

      public Api getApis(int index)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
      Specified by:
      getApis in interface ListApisResponseOrBuilder
    • setApis

      public ListApisResponse.Builder setApis(int index, Api value)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • setApis

      public ListApisResponse.Builder setApis(int index, Api.Builder builderForValue)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(Api value)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(int index, Api value)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(Api.Builder builderForValue)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(int index, Api.Builder builderForValue)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • addAllApis

      public ListApisResponse.Builder addAllApis(Iterable<? extends Api> values)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • clearApis

      public ListApisResponse.Builder clearApis()
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • removeApis

      public ListApisResponse.Builder removeApis(int index)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • getApisBuilder

      public Api.Builder getApisBuilder(int index)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • getApisOrBuilder

      public ApiOrBuilder getApisOrBuilder(int index)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
      Specified by:
      getApisOrBuilder in interface ListApisResponseOrBuilder
    • getApisOrBuilderList

      public List<? extends ApiOrBuilder> getApisOrBuilderList()
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
      Specified by:
      getApisOrBuilderList in interface ListApisResponseOrBuilder
    • addApisBuilder

      public Api.Builder addApisBuilder()
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • addApisBuilder

      public Api.Builder addApisBuilder(int index)
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 1;
    • getApisBuilderList

      public List<Api.Builder> getApisBuilderList()
       The API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.Api apis = 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 ListApisResponseOrBuilder
      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 ListApisResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListApisResponse.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 ListApisResponse.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 ListApisResponse.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.