Class ListGatewaysResponse.Builder

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

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

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

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

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

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

      public ListGatewaysResponse.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<ListGatewaysResponse.Builder>
      Throws:
      IOException
    • getGatewaysList

      public List<Gateway> getGatewaysList()
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
      Specified by:
      getGatewaysList in interface ListGatewaysResponseOrBuilder
    • getGatewaysCount

      public int getGatewaysCount()
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
      Specified by:
      getGatewaysCount in interface ListGatewaysResponseOrBuilder
    • getGateways

      public Gateway getGateways(int index)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
      Specified by:
      getGateways in interface ListGatewaysResponseOrBuilder
    • setGateways

      public ListGatewaysResponse.Builder setGateways(int index, Gateway value)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • setGateways

      public ListGatewaysResponse.Builder setGateways(int index, Gateway.Builder builderForValue)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • addGateways

      public ListGatewaysResponse.Builder addGateways(Gateway value)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • addGateways

      public ListGatewaysResponse.Builder addGateways(int index, Gateway value)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • addGateways

      public ListGatewaysResponse.Builder addGateways(Gateway.Builder builderForValue)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • addGateways

      public ListGatewaysResponse.Builder addGateways(int index, Gateway.Builder builderForValue)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • addAllGateways

      public ListGatewaysResponse.Builder addAllGateways(Iterable<? extends Gateway> values)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • clearGateways

      public ListGatewaysResponse.Builder clearGateways()
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • removeGateways

      public ListGatewaysResponse.Builder removeGateways(int index)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • getGatewaysBuilder

      public Gateway.Builder getGatewaysBuilder(int index)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • getGatewaysOrBuilder

      public GatewayOrBuilder getGatewaysOrBuilder(int index)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
      Specified by:
      getGatewaysOrBuilder in interface ListGatewaysResponseOrBuilder
    • getGatewaysOrBuilderList

      public List<? extends GatewayOrBuilder> getGatewaysOrBuilderList()
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
      Specified by:
      getGatewaysOrBuilderList in interface ListGatewaysResponseOrBuilder
    • addGatewaysBuilder

      public Gateway.Builder addGatewaysBuilder()
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • addGatewaysBuilder

      public Gateway.Builder addGatewaysBuilder(int index)
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • getGatewaysBuilderList

      public List<Gateway.Builder> getGatewaysBuilderList()
       Gateways.
       
      repeated .google.cloud.apigateway.v1.Gateway gateways = 1;
    • getNextPageToken

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

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

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

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

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

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