Class ListApiConfigsResponse.Builder

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

public static final class ListApiConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListApiConfigsResponse.Builder> implements ListApiConfigsResponseOrBuilder
 Response message for ApiGatewayService.ListApiConfigs
 
Protobuf type google.cloud.apigateway.v1.ListApiConfigsResponse
  • 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<ListApiConfigsResponse.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<ListApiConfigsResponse.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<ListApiConfigsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListApiConfigsResponse.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<ListApiConfigsResponse.Builder>
      Throws:
      IOException
    • getApiConfigsList

      public List<ApiConfig> getApiConfigsList()
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
      Specified by:
      getApiConfigsList in interface ListApiConfigsResponseOrBuilder
    • getApiConfigsCount

      public int getApiConfigsCount()
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
      Specified by:
      getApiConfigsCount in interface ListApiConfigsResponseOrBuilder
    • getApiConfigs

      public ApiConfig getApiConfigs(int index)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
      Specified by:
      getApiConfigs in interface ListApiConfigsResponseOrBuilder
    • setApiConfigs

      public ListApiConfigsResponse.Builder setApiConfigs(int index, ApiConfig value)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • setApiConfigs

      public ListApiConfigsResponse.Builder setApiConfigs(int index, ApiConfig.Builder builderForValue)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • addApiConfigs

      public ListApiConfigsResponse.Builder addApiConfigs(ApiConfig value)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • addApiConfigs

      public ListApiConfigsResponse.Builder addApiConfigs(int index, ApiConfig value)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • addApiConfigs

      public ListApiConfigsResponse.Builder addApiConfigs(ApiConfig.Builder builderForValue)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • addApiConfigs

      public ListApiConfigsResponse.Builder addApiConfigs(int index, ApiConfig.Builder builderForValue)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • addAllApiConfigs

      public ListApiConfigsResponse.Builder addAllApiConfigs(Iterable<? extends ApiConfig> values)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • clearApiConfigs

      public ListApiConfigsResponse.Builder clearApiConfigs()
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • removeApiConfigs

      public ListApiConfigsResponse.Builder removeApiConfigs(int index)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • getApiConfigsBuilder

      public ApiConfig.Builder getApiConfigsBuilder(int index)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • getApiConfigsOrBuilder

      public ApiConfigOrBuilder getApiConfigsOrBuilder(int index)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
      Specified by:
      getApiConfigsOrBuilder in interface ListApiConfigsResponseOrBuilder
    • getApiConfigsOrBuilderList

      public List<? extends ApiConfigOrBuilder> getApiConfigsOrBuilderList()
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
      Specified by:
      getApiConfigsOrBuilderList in interface ListApiConfigsResponseOrBuilder
    • addApiConfigsBuilder

      public ApiConfig.Builder addApiConfigsBuilder()
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • addApiConfigsBuilder

      public ApiConfig.Builder addApiConfigsBuilder(int index)
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • getApiConfigsBuilderList

      public List<ApiConfig.Builder> getApiConfigsBuilderList()
       API Configs.
       
      repeated .google.cloud.apigateway.v1.ApiConfig api_configs = 1;
    • getNextPageToken

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

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

      public ListApiConfigsResponse.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 ListApiConfigsResponse.Builder clearNextPageToken()
       Next page token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListApiConfigsResponse.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 ListApiConfigsResponseOrBuilder
      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 ListApiConfigsResponseOrBuilder
      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 ListApiConfigsResponseOrBuilder
      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 ListApiConfigsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableLocations at the given index.
    • setUnreachableLocations

      public ListApiConfigsResponse.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 ListApiConfigsResponse.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 ListApiConfigsResponse.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 ListApiConfigsResponse.Builder clearUnreachableLocations()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3;
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

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