Class ListPluginInstancesResponse.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListPluginInstancesResponse.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<ListPluginInstancesResponse.Builder>
      Throws:
      IOException
    • getPluginInstancesList

      public List<PluginInstance> getPluginInstancesList()
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
      Specified by:
      getPluginInstancesList in interface ListPluginInstancesResponseOrBuilder
    • getPluginInstancesCount

      public int getPluginInstancesCount()
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
      Specified by:
      getPluginInstancesCount in interface ListPluginInstancesResponseOrBuilder
    • getPluginInstances

      public PluginInstance getPluginInstances(int index)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
      Specified by:
      getPluginInstances in interface ListPluginInstancesResponseOrBuilder
    • setPluginInstances

      public ListPluginInstancesResponse.Builder setPluginInstances(int index, PluginInstance value)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • setPluginInstances

      public ListPluginInstancesResponse.Builder setPluginInstances(int index, PluginInstance.Builder builderForValue)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • addPluginInstances

      public ListPluginInstancesResponse.Builder addPluginInstances(PluginInstance value)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • addPluginInstances

      public ListPluginInstancesResponse.Builder addPluginInstances(int index, PluginInstance value)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • addPluginInstances

      public ListPluginInstancesResponse.Builder addPluginInstances(PluginInstance.Builder builderForValue)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • addPluginInstances

      public ListPluginInstancesResponse.Builder addPluginInstances(int index, PluginInstance.Builder builderForValue)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • addAllPluginInstances

      public ListPluginInstancesResponse.Builder addAllPluginInstances(Iterable<? extends PluginInstance> values)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • clearPluginInstances

      public ListPluginInstancesResponse.Builder clearPluginInstances()
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • removePluginInstances

      public ListPluginInstancesResponse.Builder removePluginInstances(int index)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • getPluginInstancesBuilder

      public PluginInstance.Builder getPluginInstancesBuilder(int index)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • getPluginInstancesOrBuilder

      public PluginInstanceOrBuilder getPluginInstancesOrBuilder(int index)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
      Specified by:
      getPluginInstancesOrBuilder in interface ListPluginInstancesResponseOrBuilder
    • getPluginInstancesOrBuilderList

      public List<? extends PluginInstanceOrBuilder> getPluginInstancesOrBuilderList()
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
      Specified by:
      getPluginInstancesOrBuilderList in interface ListPluginInstancesResponseOrBuilder
    • addPluginInstancesBuilder

      public PluginInstance.Builder addPluginInstancesBuilder()
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • addPluginInstancesBuilder

      public PluginInstance.Builder addPluginInstancesBuilder(int index)
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 1;
    • getPluginInstancesBuilderList

      public List<PluginInstance.Builder> getPluginInstancesBuilderList()
       The plugin instances from the specified parent resource.
       
      repeated .google.cloud.apihub.v1.PluginInstance plugin_instances = 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 ListPluginInstancesResponseOrBuilder
      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 ListPluginInstancesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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