Package com.google.cloud.managedkafka.v1
Interface ConsumerPartitionMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConsumerPartitionMetadata,ConsumerPartitionMetadata.Builder
@Generated
public interface ConsumerPartitionMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.longRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getOffset
long getOffset()Required. The current offset for this partition, or 0 if no offset has been committed.
int64 offset = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The offset.
-
getMetadata
String getMetadata()Optional. The associated metadata for this partition, or empty if it does not exist.
string metadata = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The metadata.
-
getMetadataBytes
com.google.protobuf.ByteString getMetadataBytes()Optional. The associated metadata for this partition, or empty if it does not exist.
string metadata = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for metadata.
-