Class ListTlsRoutesResponse.Builder

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

public static final class ListTlsRoutesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListTlsRoutesResponse.Builder> implements ListTlsRoutesResponseOrBuilder
 Response returned by the ListTlsRoutes method.
 
Protobuf type google.cloud.networkservices.v1.ListTlsRoutesResponse
  • 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<ListTlsRoutesResponse.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<ListTlsRoutesResponse.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<ListTlsRoutesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListTlsRoutesResponse.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<ListTlsRoutesResponse.Builder>
      Throws:
      IOException
    • getTlsRoutesList

      public List<TlsRoute> getTlsRoutesList()
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
      Specified by:
      getTlsRoutesList in interface ListTlsRoutesResponseOrBuilder
    • getTlsRoutesCount

      public int getTlsRoutesCount()
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
      Specified by:
      getTlsRoutesCount in interface ListTlsRoutesResponseOrBuilder
    • getTlsRoutes

      public TlsRoute getTlsRoutes(int index)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
      Specified by:
      getTlsRoutes in interface ListTlsRoutesResponseOrBuilder
    • setTlsRoutes

      public ListTlsRoutesResponse.Builder setTlsRoutes(int index, TlsRoute value)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • setTlsRoutes

      public ListTlsRoutesResponse.Builder setTlsRoutes(int index, TlsRoute.Builder builderForValue)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • addTlsRoutes

      public ListTlsRoutesResponse.Builder addTlsRoutes(TlsRoute value)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • addTlsRoutes

      public ListTlsRoutesResponse.Builder addTlsRoutes(int index, TlsRoute value)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • addTlsRoutes

      public ListTlsRoutesResponse.Builder addTlsRoutes(TlsRoute.Builder builderForValue)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • addTlsRoutes

      public ListTlsRoutesResponse.Builder addTlsRoutes(int index, TlsRoute.Builder builderForValue)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • addAllTlsRoutes

      public ListTlsRoutesResponse.Builder addAllTlsRoutes(Iterable<? extends TlsRoute> values)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • clearTlsRoutes

      public ListTlsRoutesResponse.Builder clearTlsRoutes()
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • removeTlsRoutes

      public ListTlsRoutesResponse.Builder removeTlsRoutes(int index)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • getTlsRoutesBuilder

      public TlsRoute.Builder getTlsRoutesBuilder(int index)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • getTlsRoutesOrBuilder

      public TlsRouteOrBuilder getTlsRoutesOrBuilder(int index)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
      Specified by:
      getTlsRoutesOrBuilder in interface ListTlsRoutesResponseOrBuilder
    • getTlsRoutesOrBuilderList

      public List<? extends TlsRouteOrBuilder> getTlsRoutesOrBuilderList()
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
      Specified by:
      getTlsRoutesOrBuilderList in interface ListTlsRoutesResponseOrBuilder
    • addTlsRoutesBuilder

      public TlsRoute.Builder addTlsRoutesBuilder()
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • addTlsRoutesBuilder

      public TlsRoute.Builder addTlsRoutesBuilder(int index)
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • getTlsRoutesBuilderList

      public List<TlsRoute.Builder> getTlsRoutesBuilderList()
       List of TlsRoute resources.
       
      repeated .google.cloud.networkservices.v1.TlsRoute tls_routes = 1;
    • getNextPageToken

      public String getNextPageToken()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListTlsRoutesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListTlsRoutesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListTlsRoutesResponse.Builder setNextPageToken(String value)
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListTlsRoutesResponse.Builder clearNextPageToken()
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListTlsRoutesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If there might be more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token`.
       
      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()
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListTlsRoutesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListTlsRoutesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListTlsRoutesResponseOrBuilder
      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)
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListTlsRoutesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListTlsRoutesResponse.Builder setUnreachable(int index, String value)
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      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 ListTlsRoutesResponse.Builder addUnreachable(String value)
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListTlsRoutesResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListTlsRoutesResponse.Builder clearUnreachable()
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListTlsRoutesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable resources. Populated when the request opts into
       [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
       and reading across collections e.g. when attempting to list all resources
       across all supported locations.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.