Class ListGoogleApiSourcesResponse.Builder

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

public static final class ListGoogleApiSourcesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListGoogleApiSourcesResponse.Builder> implements ListGoogleApiSourcesResponseOrBuilder
 The response message for the `ListGoogleApiSources` method.
 
Protobuf type google.cloud.eventarc.v1.ListGoogleApiSourcesResponse
  • 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<ListGoogleApiSourcesResponse.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<ListGoogleApiSourcesResponse.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<ListGoogleApiSourcesResponse.Builder>
    • getDefaultInstanceForType

      public ListGoogleApiSourcesResponse 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 ListGoogleApiSourcesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListGoogleApiSourcesResponse.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<ListGoogleApiSourcesResponse.Builder>
      Throws:
      IOException
    • getGoogleApiSourcesList

      public List<GoogleApiSource> getGoogleApiSourcesList()
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
      Specified by:
      getGoogleApiSourcesList in interface ListGoogleApiSourcesResponseOrBuilder
    • getGoogleApiSourcesCount

      public int getGoogleApiSourcesCount()
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
      Specified by:
      getGoogleApiSourcesCount in interface ListGoogleApiSourcesResponseOrBuilder
    • getGoogleApiSources

      public GoogleApiSource getGoogleApiSources(int index)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
      Specified by:
      getGoogleApiSources in interface ListGoogleApiSourcesResponseOrBuilder
    • setGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder setGoogleApiSources(int index, GoogleApiSource value)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • setGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder setGoogleApiSources(int index, GoogleApiSource.Builder builderForValue)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • addGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(GoogleApiSource value)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • addGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(int index, GoogleApiSource value)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • addGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(GoogleApiSource.Builder builderForValue)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • addGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(int index, GoogleApiSource.Builder builderForValue)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • addAllGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder addAllGoogleApiSources(Iterable<? extends GoogleApiSource> values)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • clearGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder clearGoogleApiSources()
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • removeGoogleApiSources

      public ListGoogleApiSourcesResponse.Builder removeGoogleApiSources(int index)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • getGoogleApiSourcesBuilder

      public GoogleApiSource.Builder getGoogleApiSourcesBuilder(int index)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • getGoogleApiSourcesOrBuilder

      public GoogleApiSourceOrBuilder getGoogleApiSourcesOrBuilder(int index)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
      Specified by:
      getGoogleApiSourcesOrBuilder in interface ListGoogleApiSourcesResponseOrBuilder
    • getGoogleApiSourcesOrBuilderList

      public List<? extends GoogleApiSourceOrBuilder> getGoogleApiSourcesOrBuilderList()
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
      Specified by:
      getGoogleApiSourcesOrBuilderList in interface ListGoogleApiSourcesResponseOrBuilder
    • addGoogleApiSourcesBuilder

      public GoogleApiSource.Builder addGoogleApiSourcesBuilder()
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • addGoogleApiSourcesBuilder

      public GoogleApiSource.Builder addGoogleApiSourcesBuilder(int index)
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • getGoogleApiSourcesBuilderList

      public List<GoogleApiSource.Builder> getGoogleApiSourcesBuilderList()
       The requested GoogleApiSources, up to the number specified in `page_size`.
       
      repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;
    • getNextPageToken

      public String getNextPageToken()
       A page token that can be sent to `ListMessageBusEnrollments` to request the
       next page. If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListGoogleApiSourcesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A page token that can be sent to `ListMessageBusEnrollments` to request the
       next page. If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListGoogleApiSourcesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListGoogleApiSourcesResponse.Builder setNextPageToken(String value)
       A page token that can be sent to `ListMessageBusEnrollments` to request the
       next page. If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListGoogleApiSourcesResponse.Builder clearNextPageToken()
       A page token that can be sent to `ListMessageBusEnrollments` to request the
       next page. If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListGoogleApiSourcesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A page token that can be sent to `ListMessageBusEnrollments` to request the
       next page. If this is empty, then there are no more pages.
       
      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, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListGoogleApiSourcesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListGoogleApiSourcesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListGoogleApiSourcesResponseOrBuilder
      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, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListGoogleApiSourcesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListGoogleApiSourcesResponse.Builder setUnreachable(int index, String value)
       Unreachable resources, if any.
       
      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 ListGoogleApiSourcesResponse.Builder addUnreachable(String value)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListGoogleApiSourcesResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListGoogleApiSourcesResponse.Builder clearUnreachable()
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListGoogleApiSourcesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.