Class ListRouteTablesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListRouteTablesResponse.Builder>
com.google.cloud.networkconnectivity.v1beta.ListRouteTablesResponse.Builder
All Implemented Interfaces:
ListRouteTablesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListRouteTablesResponse

public static final class ListRouteTablesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListRouteTablesResponse.Builder> implements ListRouteTablesResponseOrBuilder
 Response for
 [HubService.ListRouteTables][google.cloud.networkconnectivity.v1beta.HubService.ListRouteTables]
 method.
 
Protobuf type google.cloud.networkconnectivity.v1beta.ListRouteTablesResponse
  • 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<ListRouteTablesResponse.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<ListRouteTablesResponse.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<ListRouteTablesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListRouteTablesResponse.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<ListRouteTablesResponse.Builder>
      Throws:
      IOException
    • getRouteTablesList

      public List<RouteTable> getRouteTablesList()
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
      Specified by:
      getRouteTablesList in interface ListRouteTablesResponseOrBuilder
    • getRouteTablesCount

      public int getRouteTablesCount()
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
      Specified by:
      getRouteTablesCount in interface ListRouteTablesResponseOrBuilder
    • getRouteTables

      public RouteTable getRouteTables(int index)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
      Specified by:
      getRouteTables in interface ListRouteTablesResponseOrBuilder
    • setRouteTables

      public ListRouteTablesResponse.Builder setRouteTables(int index, RouteTable value)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • setRouteTables

      public ListRouteTablesResponse.Builder setRouteTables(int index, RouteTable.Builder builderForValue)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • addRouteTables

      public ListRouteTablesResponse.Builder addRouteTables(RouteTable value)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • addRouteTables

      public ListRouteTablesResponse.Builder addRouteTables(int index, RouteTable value)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • addRouteTables

      public ListRouteTablesResponse.Builder addRouteTables(RouteTable.Builder builderForValue)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • addRouteTables

      public ListRouteTablesResponse.Builder addRouteTables(int index, RouteTable.Builder builderForValue)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • addAllRouteTables

      public ListRouteTablesResponse.Builder addAllRouteTables(Iterable<? extends RouteTable> values)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • clearRouteTables

      public ListRouteTablesResponse.Builder clearRouteTables()
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • removeRouteTables

      public ListRouteTablesResponse.Builder removeRouteTables(int index)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • getRouteTablesBuilder

      public RouteTable.Builder getRouteTablesBuilder(int index)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • getRouteTablesOrBuilder

      public RouteTableOrBuilder getRouteTablesOrBuilder(int index)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
      Specified by:
      getRouteTablesOrBuilder in interface ListRouteTablesResponseOrBuilder
    • getRouteTablesOrBuilderList

      public List<? extends RouteTableOrBuilder> getRouteTablesOrBuilderList()
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
      Specified by:
      getRouteTablesOrBuilderList in interface ListRouteTablesResponseOrBuilder
    • addRouteTablesBuilder

      public RouteTable.Builder addRouteTablesBuilder()
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • addRouteTablesBuilder

      public RouteTable.Builder addRouteTablesBuilder(int index)
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • getRouteTablesBuilderList

      public List<RouteTable.Builder> getRouteTablesBuilderList()
       The requested route tables.
       
      repeated .google.cloud.networkconnectivity.v1beta.RouteTable route_tables = 1;
    • getNextPageToken

      public String getNextPageToken()
       The token for the next page of the response. To see more results,
       use this value as the page_token for your next request. If this value
       is empty, there are no more results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListRouteTablesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The token for the next page of the response. To see more results,
       use this value as the page_token for your next request. If this value
       is empty, there are no more results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListRouteTablesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListRouteTablesResponse.Builder setNextPageToken(String value)
       The token for the next page of the response. To see more results,
       use this value as the page_token for your next request. If this value
       is empty, there are no more results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListRouteTablesResponse.Builder clearNextPageToken()
       The token for the next page of the response. To see more results,
       use this value as the page_token for your next request. If this value
       is empty, there are no more results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListRouteTablesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The token for the next page of the response. To see more results,
       use this value as the page_token for your next request. If this value
       is empty, there are no more results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListRouteTablesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListRouteTablesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListRouteTablesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListRouteTablesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListRouteTablesResponse.Builder setUnreachable(int index, String value)
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListRouteTablesResponse.Builder addUnreachable(String value)
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListRouteTablesResponse.Builder addAllUnreachable(Iterable<String> values)
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListRouteTablesResponse.Builder clearUnreachable()
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListRouteTablesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Hubs that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.