Interface VersionDefOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    VersionDef, VersionDef.Builder

    public interface VersionDefOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getBadConsumers​(int index)
      Specific consumer versions which are disallowed (e.g.
      int getBadConsumersCount()
      Specific consumer versions which are disallowed (e.g.
      java.util.List<java.lang.Integer> getBadConsumersList()
      Specific consumer versions which are disallowed (e.g.
      int getMinConsumer()
      Any consumer below this version is not allowed to consume this data.
      int getProducer()
      The version of the code that produced this data.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getProducer

        int getProducer()
         The version of the code that produced this data.
         
        int32 producer = 1;
        Returns:
        The producer.
      • getMinConsumer

        int getMinConsumer()
         Any consumer below this version is not allowed to consume this data.
         
        int32 min_consumer = 2;
        Returns:
        The minConsumer.
      • getBadConsumersList

        java.util.List<java.lang.Integer> getBadConsumersList()
         Specific consumer versions which are disallowed (e.g. due to bugs).
         
        repeated int32 bad_consumers = 3;
        Returns:
        A list containing the badConsumers.
      • getBadConsumersCount

        int getBadConsumersCount()
         Specific consumer versions which are disallowed (e.g. due to bugs).
         
        repeated int32 bad_consumers = 3;
        Returns:
        The count of badConsumers.
      • getBadConsumers

        int getBadConsumers​(int index)
         Specific consumer versions which are disallowed (e.g. due to bugs).
         
        repeated int32 bad_consumers = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The badConsumers at the given index.