Class ListApplicationsResponse.Builder

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

public static final class ListApplicationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListApplicationsResponse.Builder> implements ListApplicationsResponseOrBuilder
 Response for ListApplications.
 
Protobuf type google.cloud.apphub.v1.ListApplicationsResponse
  • 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<ListApplicationsResponse.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<ListApplicationsResponse.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<ListApplicationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListApplicationsResponse.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<ListApplicationsResponse.Builder>
      Throws:
      IOException
    • getApplicationsList

      public List<Application> getApplicationsList()
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
      Specified by:
      getApplicationsList in interface ListApplicationsResponseOrBuilder
    • getApplicationsCount

      public int getApplicationsCount()
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
      Specified by:
      getApplicationsCount in interface ListApplicationsResponseOrBuilder
    • getApplications

      public Application getApplications(int index)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
      Specified by:
      getApplications in interface ListApplicationsResponseOrBuilder
    • setApplications

      public ListApplicationsResponse.Builder setApplications(int index, Application value)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • setApplications

      public ListApplicationsResponse.Builder setApplications(int index, Application.Builder builderForValue)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • addApplications

      public ListApplicationsResponse.Builder addApplications(Application value)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • addApplications

      public ListApplicationsResponse.Builder addApplications(int index, Application value)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • addApplications

      public ListApplicationsResponse.Builder addApplications(Application.Builder builderForValue)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • addApplications

      public ListApplicationsResponse.Builder addApplications(int index, Application.Builder builderForValue)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • addAllApplications

      public ListApplicationsResponse.Builder addAllApplications(Iterable<? extends Application> values)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • clearApplications

      public ListApplicationsResponse.Builder clearApplications()
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • removeApplications

      public ListApplicationsResponse.Builder removeApplications(int index)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • getApplicationsBuilder

      public Application.Builder getApplicationsBuilder(int index)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • getApplicationsOrBuilder

      public ApplicationOrBuilder getApplicationsOrBuilder(int index)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
      Specified by:
      getApplicationsOrBuilder in interface ListApplicationsResponseOrBuilder
    • getApplicationsOrBuilderList

      public List<? extends ApplicationOrBuilder> getApplicationsOrBuilderList()
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
      Specified by:
      getApplicationsOrBuilderList in interface ListApplicationsResponseOrBuilder
    • addApplicationsBuilder

      public Application.Builder addApplicationsBuilder()
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • addApplicationsBuilder

      public Application.Builder addApplicationsBuilder(int index)
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • getApplicationsBuilderList

      public List<Application.Builder> getApplicationsBuilderList()
       List of Applications.
       
      repeated .google.cloud.apphub.v1.Application applications = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListApplicationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListApplicationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListApplicationsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListApplicationsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListApplicationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      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 ListApplicationsResponseOrBuilder
      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 ListApplicationsResponseOrBuilder
      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 ListApplicationsResponseOrBuilder
      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 ListApplicationsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListApplicationsResponse.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 ListApplicationsResponse.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 ListApplicationsResponse.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 ListApplicationsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListApplicationsResponse.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.