Class ListFunctionsResponse.Builder

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

public static final class ListFunctionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFunctionsResponse.Builder> implements ListFunctionsResponseOrBuilder
 Response for the `ListFunctions` method.
 
Protobuf type google.cloud.functions.v1.ListFunctionsResponse
  • 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<ListFunctionsResponse.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<ListFunctionsResponse.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<ListFunctionsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListFunctionsResponse.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<ListFunctionsResponse.Builder>
      Throws:
      IOException
    • getFunctionsList

      public List<CloudFunction> getFunctionsList()
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
      Specified by:
      getFunctionsList in interface ListFunctionsResponseOrBuilder
    • getFunctionsCount

      public int getFunctionsCount()
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
      Specified by:
      getFunctionsCount in interface ListFunctionsResponseOrBuilder
    • getFunctions

      public CloudFunction getFunctions(int index)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
      Specified by:
      getFunctions in interface ListFunctionsResponseOrBuilder
    • setFunctions

      public ListFunctionsResponse.Builder setFunctions(int index, CloudFunction value)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • setFunctions

      public ListFunctionsResponse.Builder setFunctions(int index, CloudFunction.Builder builderForValue)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • addFunctions

      public ListFunctionsResponse.Builder addFunctions(CloudFunction value)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • addFunctions

      public ListFunctionsResponse.Builder addFunctions(int index, CloudFunction value)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • addFunctions

      public ListFunctionsResponse.Builder addFunctions(CloudFunction.Builder builderForValue)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • addFunctions

      public ListFunctionsResponse.Builder addFunctions(int index, CloudFunction.Builder builderForValue)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • addAllFunctions

      public ListFunctionsResponse.Builder addAllFunctions(Iterable<? extends CloudFunction> values)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • clearFunctions

      public ListFunctionsResponse.Builder clearFunctions()
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • removeFunctions

      public ListFunctionsResponse.Builder removeFunctions(int index)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • getFunctionsBuilder

      public CloudFunction.Builder getFunctionsBuilder(int index)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • getFunctionsOrBuilder

      public CloudFunctionOrBuilder getFunctionsOrBuilder(int index)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
      Specified by:
      getFunctionsOrBuilder in interface ListFunctionsResponseOrBuilder
    • getFunctionsOrBuilderList

      public List<? extends CloudFunctionOrBuilder> getFunctionsOrBuilderList()
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
      Specified by:
      getFunctionsOrBuilderList in interface ListFunctionsResponseOrBuilder
    • addFunctionsBuilder

      public CloudFunction.Builder addFunctionsBuilder()
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • addFunctionsBuilder

      public CloudFunction.Builder addFunctionsBuilder(int index)
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • getFunctionsBuilderList

      public List<CloudFunction.Builder> getFunctionsBuilderList()
       The functions that match the request.
       
      repeated .google.cloud.functions.v1.CloudFunction functions = 1;
    • getNextPageToken

      public String getNextPageToken()
       If not empty, indicates that there may be more functions that match
       the request; this value should be passed in a new
       [google.cloud.functions.v1.ListFunctionsRequest][google.cloud.functions.v1.ListFunctionsRequest]
       to get more functions.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListFunctionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If not empty, indicates that there may be more functions that match
       the request; this value should be passed in a new
       [google.cloud.functions.v1.ListFunctionsRequest][google.cloud.functions.v1.ListFunctionsRequest]
       to get more functions.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListFunctionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListFunctionsResponse.Builder setNextPageToken(String value)
       If not empty, indicates that there may be more functions that match
       the request; this value should be passed in a new
       [google.cloud.functions.v1.ListFunctionsRequest][google.cloud.functions.v1.ListFunctionsRequest]
       to get more functions.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListFunctionsResponse.Builder clearNextPageToken()
       If not empty, indicates that there may be more functions that match
       the request; this value should be passed in a new
       [google.cloud.functions.v1.ListFunctionsRequest][google.cloud.functions.v1.ListFunctionsRequest]
       to get more functions.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListFunctionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If not empty, indicates that there may be more functions that match
       the request; this value should be passed in a new
       [google.cloud.functions.v1.ListFunctionsRequest][google.cloud.functions.v1.ListFunctionsRequest]
       to get more functions.
       
      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. The response does not include any
       functions from these locations.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListFunctionsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached. The response does not include any
       functions from these locations.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListFunctionsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

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

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

      public ListFunctionsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached. The response does not include any
       functions from these locations.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListFunctionsResponse.Builder clearUnreachable()
       Locations that could not be reached. The response does not include any
       functions from these locations.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListFunctionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached. The response does not include any
       functions from these locations.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.