Class ListMessageBusEnrollmentsResponse.Builder

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

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

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

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

      public ListMessageBusEnrollmentsResponse.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<ListMessageBusEnrollmentsResponse.Builder>
      Throws:
      IOException
    • getEnrollmentsList

      public com.google.protobuf.ProtocolStringList getEnrollmentsList()
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Specified by:
      getEnrollmentsList in interface ListMessageBusEnrollmentsResponseOrBuilder
      Returns:
      A list containing the enrollments.
    • getEnrollmentsCount

      public int getEnrollmentsCount()
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Specified by:
      getEnrollmentsCount in interface ListMessageBusEnrollmentsResponseOrBuilder
      Returns:
      The count of enrollments.
    • getEnrollments

      public String getEnrollments(int index)
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Specified by:
      getEnrollments in interface ListMessageBusEnrollmentsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The enrollments at the given index.
    • getEnrollmentsBytes

      public com.google.protobuf.ByteString getEnrollmentsBytes(int index)
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Specified by:
      getEnrollmentsBytes in interface ListMessageBusEnrollmentsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the enrollments at the given index.
    • setEnrollments

      public ListMessageBusEnrollmentsResponse.Builder setEnrollments(int index, String value)
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Parameters:
      index - The index to set the value at.
      value - The enrollments to set.
      Returns:
      This builder for chaining.
    • addEnrollments

      public ListMessageBusEnrollmentsResponse.Builder addEnrollments(String value)
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Parameters:
      value - The enrollments to add.
      Returns:
      This builder for chaining.
    • addAllEnrollments

      public ListMessageBusEnrollmentsResponse.Builder addAllEnrollments(Iterable<String> values)
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Parameters:
      values - The enrollments to add.
      Returns:
      This builder for chaining.
    • clearEnrollments

      public ListMessageBusEnrollmentsResponse.Builder clearEnrollments()
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Returns:
      This builder for chaining.
    • addEnrollmentsBytes

      public ListMessageBusEnrollmentsResponse.Builder addEnrollmentsBytes(com.google.protobuf.ByteString value)
       The requested enrollments, up to the number specified in `page_size`.
       
      repeated string enrollments = 1;
      Parameters:
      value - The bytes of the enrollments to add.
      Returns:
      This builder for chaining.
    • 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 ListMessageBusEnrollmentsResponseOrBuilder
      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 ListMessageBusEnrollmentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListMessageBusEnrollmentsResponse.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 ListMessageBusEnrollmentsResponse.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 ListMessageBusEnrollmentsResponse.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 ListMessageBusEnrollmentsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

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

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

      public ListMessageBusEnrollmentsResponse.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 ListMessageBusEnrollmentsResponse.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 ListMessageBusEnrollmentsResponse.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 ListMessageBusEnrollmentsResponse.Builder clearUnreachable()
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

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