Class ListWasmPluginVersionsResponse.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListWasmPluginVersionsResponse.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<ListWasmPluginVersionsResponse.Builder>
      Throws:
      IOException
    • getWasmPluginVersionsList

      public List<WasmPluginVersion> getWasmPluginVersionsList()
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
      Specified by:
      getWasmPluginVersionsList in interface ListWasmPluginVersionsResponseOrBuilder
    • getWasmPluginVersionsCount

      public int getWasmPluginVersionsCount()
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
      Specified by:
      getWasmPluginVersionsCount in interface ListWasmPluginVersionsResponseOrBuilder
    • getWasmPluginVersions

      public WasmPluginVersion getWasmPluginVersions(int index)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
      Specified by:
      getWasmPluginVersions in interface ListWasmPluginVersionsResponseOrBuilder
    • setWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder setWasmPluginVersions(int index, WasmPluginVersion value)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • setWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder setWasmPluginVersions(int index, WasmPluginVersion.Builder builderForValue)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • addWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(WasmPluginVersion value)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • addWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(int index, WasmPluginVersion value)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • addWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(WasmPluginVersion.Builder builderForValue)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • addWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder addWasmPluginVersions(int index, WasmPluginVersion.Builder builderForValue)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • addAllWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder addAllWasmPluginVersions(Iterable<? extends WasmPluginVersion> values)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • clearWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder clearWasmPluginVersions()
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • removeWasmPluginVersions

      public ListWasmPluginVersionsResponse.Builder removeWasmPluginVersions(int index)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • getWasmPluginVersionsBuilder

      public WasmPluginVersion.Builder getWasmPluginVersionsBuilder(int index)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • getWasmPluginVersionsOrBuilder

      public WasmPluginVersionOrBuilder getWasmPluginVersionsOrBuilder(int index)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
      Specified by:
      getWasmPluginVersionsOrBuilder in interface ListWasmPluginVersionsResponseOrBuilder
    • getWasmPluginVersionsOrBuilderList

      public List<? extends WasmPluginVersionOrBuilder> getWasmPluginVersionsOrBuilderList()
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
      Specified by:
      getWasmPluginVersionsOrBuilderList in interface ListWasmPluginVersionsResponseOrBuilder
    • addWasmPluginVersionsBuilder

      public WasmPluginVersion.Builder addWasmPluginVersionsBuilder()
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • addWasmPluginVersionsBuilder

      public WasmPluginVersion.Builder addWasmPluginVersionsBuilder(int index)
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 1;
    • getWasmPluginVersionsBuilderList

      public List<WasmPluginVersion.Builder> getWasmPluginVersionsBuilderList()
       List of `WasmPluginVersion` resources.
       
      repeated .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_versions = 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 ListWasmPluginVersionsResponseOrBuilder
      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 ListWasmPluginVersionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListWasmPluginVersionsResponse.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 ListWasmPluginVersionsResponse.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 ListWasmPluginVersionsResponse.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 attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListWasmPluginVersionsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListWasmPluginVersionsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListWasmPluginVersionsResponseOrBuilder
      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 attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListWasmPluginVersionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListWasmPluginVersionsResponse.Builder setUnreachable(int index, String value)
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      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 ListWasmPluginVersionsResponse.Builder addUnreachable(String value)
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListWasmPluginVersionsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListWasmPluginVersionsResponse.Builder clearUnreachable()
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListWasmPluginVersionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable resources. Populated when the request attempts to list all
       resources across all supported locations, while some locations are
       temporarily unavailable.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.