Class StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder>
com.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder, Cloneable
Enclosing class:
StreamingPullResponse.ModifyAckDeadlineConfirmation

public static final class StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder> implements StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
 Acknowledgment IDs sent in one or more previous requests to modify the
 deadline for a specific message.
 
Protobuf type google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation
  • 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<StreamingPullResponse.ModifyAckDeadlineConfirmation.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<StreamingPullResponse.ModifyAckDeadlineConfirmation.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<StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder>
    • getDefaultInstanceForType

      public StreamingPullResponse.ModifyAckDeadlineConfirmation 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

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

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

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.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<StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder>
      Throws:
      IOException
    • getAckIdsList

      public com.google.protobuf.ProtocolStringList getAckIdsList()
       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAckIdsList in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Returns:
      A list containing the ackIds.
    • getAckIdsCount

      public int getAckIdsCount()
       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAckIdsCount in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Returns:
      The count of ackIds.
    • getAckIds

      public String getAckIds(int index)
       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAckIds in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ackIds at the given index.
    • getAckIdsBytes

      public com.google.protobuf.ByteString getAckIdsBytes(int index)
       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAckIdsBytes in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ackIds at the given index.
    • setAckIds

       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The ackIds to set.
      Returns:
      This builder for chaining.
    • addAckIds

       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ackIds to add.
      Returns:
      This builder for chaining.
    • addAllAckIds

       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The ackIds to add.
      Returns:
      This builder for chaining.
    • clearAckIds

       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addAckIdsBytes

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAckIdsBytes(com.google.protobuf.ByteString value)
       Optional. Successfully processed acknowledgment IDs.
       
      repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the ackIds to add.
      Returns:
      This builder for chaining.
    • getInvalidAckIdsList

      public com.google.protobuf.ProtocolStringList getInvalidAckIdsList()
       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInvalidAckIdsList in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Returns:
      A list containing the invalidAckIds.
    • getInvalidAckIdsCount

      public int getInvalidAckIdsCount()
       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInvalidAckIdsCount in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Returns:
      The count of invalidAckIds.
    • getInvalidAckIds

      public String getInvalidAckIds(int index)
       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInvalidAckIds in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The invalidAckIds at the given index.
    • getInvalidAckIdsBytes

      public com.google.protobuf.ByteString getInvalidAckIdsBytes(int index)
       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInvalidAckIdsBytes in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the invalidAckIds at the given index.
    • setInvalidAckIds

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setInvalidAckIds(int index, String value)
       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The invalidAckIds to set.
      Returns:
      This builder for chaining.
    • addInvalidAckIds

       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The invalidAckIds to add.
      Returns:
      This builder for chaining.
    • addAllInvalidAckIds

       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The invalidAckIds to add.
      Returns:
      This builder for chaining.
    • clearInvalidAckIds

       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addInvalidAckIdsBytes

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addInvalidAckIdsBytes(com.google.protobuf.ByteString value)
       Optional. List of acknowledgment IDs that were malformed or whose
       acknowledgment deadline has expired.
       
      repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the invalidAckIds to add.
      Returns:
      This builder for chaining.
    • getTemporaryFailedAckIdsList

      public com.google.protobuf.ProtocolStringList getTemporaryFailedAckIdsList()
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemporaryFailedAckIdsList in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Returns:
      A list containing the temporaryFailedAckIds.
    • getTemporaryFailedAckIdsCount

      public int getTemporaryFailedAckIdsCount()
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemporaryFailedAckIdsCount in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Returns:
      The count of temporaryFailedAckIds.
    • getTemporaryFailedAckIds

      public String getTemporaryFailedAckIds(int index)
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemporaryFailedAckIds in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The temporaryFailedAckIds at the given index.
    • getTemporaryFailedAckIdsBytes

      public com.google.protobuf.ByteString getTemporaryFailedAckIdsBytes(int index)
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemporaryFailedAckIdsBytes in interface StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the temporaryFailedAckIds at the given index.
    • setTemporaryFailedAckIds

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setTemporaryFailedAckIds(int index, String value)
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The temporaryFailedAckIds to set.
      Returns:
      This builder for chaining.
    • addTemporaryFailedAckIds

       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The temporaryFailedAckIds to add.
      Returns:
      This builder for chaining.
    • addAllTemporaryFailedAckIds

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAllTemporaryFailedAckIds(Iterable<String> values)
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The temporaryFailedAckIds to add.
      Returns:
      This builder for chaining.
    • clearTemporaryFailedAckIds

       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addTemporaryFailedAckIdsBytes

      public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addTemporaryFailedAckIdsBytes(com.google.protobuf.ByteString value)
       Optional. List of acknowledgment IDs that failed processing with
       temporary issues.
       
      repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the temporaryFailedAckIds to add.
      Returns:
      This builder for chaining.