Interface ComputeHeadCursorRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getPartition()
      Required.
      String getTopic()
      Required.
      com.google.protobuf.ByteString getTopicBytes()
      Required.
      • 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

      • getTopic

        String getTopic()
         Required. The topic for which we should compute the head cursor.
         
        string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The topic.
      • getTopicBytes

        com.google.protobuf.ByteString getTopicBytes()
         Required. The topic for which we should compute the head cursor.
         
        string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for topic.
      • getPartition

        long getPartition()
         Required. The partition for which we should compute the head cursor.
         
        int64 partition = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The partition.