Class ListExternalApisResponse.Builder

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

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

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

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

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

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

    • isInitialized

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

      public ListExternalApisResponse.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<ListExternalApisResponse.Builder>
      Throws:
      IOException
    • getExternalApisList

      public List<ExternalApi> getExternalApisList()
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
      Specified by:
      getExternalApisList in interface ListExternalApisResponseOrBuilder
    • getExternalApisCount

      public int getExternalApisCount()
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
      Specified by:
      getExternalApisCount in interface ListExternalApisResponseOrBuilder
    • getExternalApis

      public ExternalApi getExternalApis(int index)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
      Specified by:
      getExternalApis in interface ListExternalApisResponseOrBuilder
    • setExternalApis

      public ListExternalApisResponse.Builder setExternalApis(int index, ExternalApi value)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • setExternalApis

      public ListExternalApisResponse.Builder setExternalApis(int index, ExternalApi.Builder builderForValue)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • addExternalApis

      public ListExternalApisResponse.Builder addExternalApis(ExternalApi value)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • addExternalApis

      public ListExternalApisResponse.Builder addExternalApis(int index, ExternalApi value)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • addExternalApis

      public ListExternalApisResponse.Builder addExternalApis(ExternalApi.Builder builderForValue)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • addExternalApis

      public ListExternalApisResponse.Builder addExternalApis(int index, ExternalApi.Builder builderForValue)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • addAllExternalApis

      public ListExternalApisResponse.Builder addAllExternalApis(Iterable<? extends ExternalApi> values)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • clearExternalApis

      public ListExternalApisResponse.Builder clearExternalApis()
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • removeExternalApis

      public ListExternalApisResponse.Builder removeExternalApis(int index)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • getExternalApisBuilder

      public ExternalApi.Builder getExternalApisBuilder(int index)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • getExternalApisOrBuilder

      public ExternalApiOrBuilder getExternalApisOrBuilder(int index)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
      Specified by:
      getExternalApisOrBuilder in interface ListExternalApisResponseOrBuilder
    • getExternalApisOrBuilderList

      public List<? extends ExternalApiOrBuilder> getExternalApisOrBuilderList()
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
      Specified by:
      getExternalApisOrBuilderList in interface ListExternalApisResponseOrBuilder
    • addExternalApisBuilder

      public ExternalApi.Builder addExternalApisBuilder()
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • addExternalApisBuilder

      public ExternalApi.Builder addExternalApisBuilder(int index)
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;
    • getExternalApisBuilderList

      public List<ExternalApi.Builder> getExternalApisBuilderList()
       The External API resources present in the API hub.
       
      repeated .google.cloud.apihub.v1.ExternalApi external_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 ListExternalApisResponseOrBuilder
      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 ListExternalApisResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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