Class ListApiDeploymentsResponse.Builder

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

public static final class ListApiDeploymentsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListApiDeploymentsResponse.Builder> implements ListApiDeploymentsResponseOrBuilder
 Response message for ListApiDeployments.
 
Protobuf type google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse
  • 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<ListApiDeploymentsResponse.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<ListApiDeploymentsResponse.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<ListApiDeploymentsResponse.Builder>
    • getDefaultInstanceForType

      public ListApiDeploymentsResponse 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 ListApiDeploymentsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListApiDeploymentsResponse.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<ListApiDeploymentsResponse.Builder>
      Throws:
      IOException
    • getApiDeploymentsList

      public List<ApiDeployment> getApiDeploymentsList()
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
      Specified by:
      getApiDeploymentsList in interface ListApiDeploymentsResponseOrBuilder
    • getApiDeploymentsCount

      public int getApiDeploymentsCount()
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
      Specified by:
      getApiDeploymentsCount in interface ListApiDeploymentsResponseOrBuilder
    • getApiDeployments

      public ApiDeployment getApiDeployments(int index)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
      Specified by:
      getApiDeployments in interface ListApiDeploymentsResponseOrBuilder
    • setApiDeployments

      public ListApiDeploymentsResponse.Builder setApiDeployments(int index, ApiDeployment value)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • setApiDeployments

      public ListApiDeploymentsResponse.Builder setApiDeployments(int index, ApiDeployment.Builder builderForValue)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • addApiDeployments

      public ListApiDeploymentsResponse.Builder addApiDeployments(ApiDeployment value)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • addApiDeployments

      public ListApiDeploymentsResponse.Builder addApiDeployments(int index, ApiDeployment value)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • addApiDeployments

      public ListApiDeploymentsResponse.Builder addApiDeployments(ApiDeployment.Builder builderForValue)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • addApiDeployments

      public ListApiDeploymentsResponse.Builder addApiDeployments(int index, ApiDeployment.Builder builderForValue)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • addAllApiDeployments

      public ListApiDeploymentsResponse.Builder addAllApiDeployments(Iterable<? extends ApiDeployment> values)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • clearApiDeployments

      public ListApiDeploymentsResponse.Builder clearApiDeployments()
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • removeApiDeployments

      public ListApiDeploymentsResponse.Builder removeApiDeployments(int index)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • getApiDeploymentsBuilder

      public ApiDeployment.Builder getApiDeploymentsBuilder(int index)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • getApiDeploymentsOrBuilder

      public ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
      Specified by:
      getApiDeploymentsOrBuilder in interface ListApiDeploymentsResponseOrBuilder
    • getApiDeploymentsOrBuilderList

      public List<? extends ApiDeploymentOrBuilder> getApiDeploymentsOrBuilderList()
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
      Specified by:
      getApiDeploymentsOrBuilderList in interface ListApiDeploymentsResponseOrBuilder
    • addApiDeploymentsBuilder

      public ApiDeployment.Builder addApiDeploymentsBuilder()
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • addApiDeploymentsBuilder

      public ApiDeployment.Builder addApiDeploymentsBuilder(int index)
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;
    • getApiDeploymentsBuilderList

      public List<ApiDeployment.Builder> getApiDeploymentsBuilderList()
       The deployments from the specified publisher.
       
      repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 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 ListApiDeploymentsResponseOrBuilder
      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 ListApiDeploymentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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