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.apigateway.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
 Response message for ApiGatewayService.ListApis
 
Protobuf type google.cloud.apigateway.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()
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
      Specified by:
      getApisList in interface ListApisResponseOrBuilder
    • getApisCount

      public int getApisCount()
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
      Specified by:
      getApisCount in interface ListApisResponseOrBuilder
    • getApis

      public Api getApis(int index)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
      Specified by:
      getApis in interface ListApisResponseOrBuilder
    • setApis

      public ListApisResponse.Builder setApis(int index, Api value)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • setApis

      public ListApisResponse.Builder setApis(int index, Api.Builder builderForValue)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(Api value)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(int index, Api value)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(Api.Builder builderForValue)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • addApis

      public ListApisResponse.Builder addApis(int index, Api.Builder builderForValue)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • addAllApis

      public ListApisResponse.Builder addAllApis(Iterable<? extends Api> values)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • clearApis

      public ListApisResponse.Builder clearApis()
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • removeApis

      public ListApisResponse.Builder removeApis(int index)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • getApisBuilder

      public Api.Builder getApisBuilder(int index)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • getApisOrBuilder

      public ApiOrBuilder getApisOrBuilder(int index)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
      Specified by:
      getApisOrBuilder in interface ListApisResponseOrBuilder
    • getApisOrBuilderList

      public List<? extends ApiOrBuilder> getApisOrBuilderList()
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
      Specified by:
      getApisOrBuilderList in interface ListApisResponseOrBuilder
    • addApisBuilder

      public Api.Builder addApisBuilder()
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • addApisBuilder

      public Api.Builder addApisBuilder(int index)
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • getApisBuilderList

      public List<Api.Builder> getApisBuilderList()
       APIs.
       
      repeated .google.cloud.apigateway.v1.Api apis = 1;
    • getNextPageToken

      public String getNextPageToken()
       Next page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListApisResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Next page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListApisResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListApisResponse.Builder setNextPageToken(String value)
       Next page token.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListApisResponse.Builder clearNextPageToken()
       Next page token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListApisResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Next page token.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableLocationsList

      public com.google.protobuf.ProtocolStringList getUnreachableLocationsList()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsList in interface ListApisResponseOrBuilder
      Returns:
      A list containing the unreachableLocations.
    • getUnreachableLocationsCount

      public int getUnreachableLocationsCount()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsCount in interface ListApisResponseOrBuilder
      Returns:
      The count of unreachableLocations.
    • getUnreachableLocations

      public String getUnreachableLocations(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocations in interface ListApisResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachableLocations at the given index.
    • getUnreachableLocationsBytes

      public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Specified by:
      getUnreachableLocationsBytes in interface ListApisResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableLocations at the given index.
    • setUnreachableLocations

      public ListApisResponse.Builder setUnreachableLocations(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachableLocations to set.
      Returns:
      This builder for chaining.
    • addUnreachableLocations

      public ListApisResponse.Builder addUnreachableLocations(String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • addAllUnreachableLocations

      public ListApisResponse.Builder addAllUnreachableLocations(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      values - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • clearUnreachableLocations

      public ListApisResponse.Builder clearUnreachableLocations()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

      public ListApisResponse.Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Parameters:
      value - The bytes of the unreachableLocations to add.
      Returns:
      This builder for chaining.