Class ListUrlListsResponse.Builder

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

public static final class ListUrlListsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListUrlListsResponse.Builder> implements ListUrlListsResponseOrBuilder
 Response returned by the ListUrlLists method.
 
Protobuf type google.cloud.networksecurity.v1.ListUrlListsResponse
  • 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<ListUrlListsResponse.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<ListUrlListsResponse.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<ListUrlListsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListUrlListsResponse.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<ListUrlListsResponse.Builder>
      Throws:
      IOException
    • getUrlListsList

      public List<UrlList> getUrlListsList()
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
      Specified by:
      getUrlListsList in interface ListUrlListsResponseOrBuilder
    • getUrlListsCount

      public int getUrlListsCount()
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
      Specified by:
      getUrlListsCount in interface ListUrlListsResponseOrBuilder
    • getUrlLists

      public UrlList getUrlLists(int index)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
      Specified by:
      getUrlLists in interface ListUrlListsResponseOrBuilder
    • setUrlLists

      public ListUrlListsResponse.Builder setUrlLists(int index, UrlList value)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • setUrlLists

      public ListUrlListsResponse.Builder setUrlLists(int index, UrlList.Builder builderForValue)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • addUrlLists

      public ListUrlListsResponse.Builder addUrlLists(UrlList value)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • addUrlLists

      public ListUrlListsResponse.Builder addUrlLists(int index, UrlList value)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • addUrlLists

      public ListUrlListsResponse.Builder addUrlLists(UrlList.Builder builderForValue)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • addUrlLists

      public ListUrlListsResponse.Builder addUrlLists(int index, UrlList.Builder builderForValue)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • addAllUrlLists

      public ListUrlListsResponse.Builder addAllUrlLists(Iterable<? extends UrlList> values)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • clearUrlLists

      public ListUrlListsResponse.Builder clearUrlLists()
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • removeUrlLists

      public ListUrlListsResponse.Builder removeUrlLists(int index)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • getUrlListsBuilder

      public UrlList.Builder getUrlListsBuilder(int index)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • getUrlListsOrBuilder

      public UrlListOrBuilder getUrlListsOrBuilder(int index)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
      Specified by:
      getUrlListsOrBuilder in interface ListUrlListsResponseOrBuilder
    • getUrlListsOrBuilderList

      public List<? extends UrlListOrBuilder> getUrlListsOrBuilderList()
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
      Specified by:
      getUrlListsOrBuilderList in interface ListUrlListsResponseOrBuilder
    • addUrlListsBuilder

      public UrlList.Builder addUrlListsBuilder()
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • addUrlListsBuilder

      public UrlList.Builder addUrlListsBuilder(int index)
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 1;
    • getUrlListsBuilderList

      public List<UrlList.Builder> getUrlListsBuilderList()
       List of UrlList resources.
       
      repeated .google.cloud.networksecurity.v1.UrlList url_lists = 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 ListUrlListsResponseOrBuilder
      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 ListUrlListsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListUrlListsResponse.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 ListUrlListsResponse.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 ListUrlListsResponse.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()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListUrlListsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

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

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListUrlListsResponseOrBuilder
      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)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListUrlListsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListUrlListsResponse.Builder setUnreachable(int index, String value)
       Locations 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 ListUrlListsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

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

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

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