public static final class Messages.SubscriberState extends com.google.protobuf.GeneratedMessage implements Messages.SubscriberStateOrBuilder
org.apache.sling.distribution.journal.messages.SubscriberState
Modifier and Type | Class and Description |
---|---|
static class |
Messages.SubscriberState.Builder
Protobuf type
org.apache.sling.distribution.journal.messages.SubscriberState |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
OFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<Messages.SubscriberState> |
PARSER |
static int |
PUBAGENTNAME_FIELD_NUMBER |
static int |
RETRIES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static Messages.SubscriberState |
getDefaultInstance() |
Messages.SubscriberState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getOffset()
required int64 offset = 2; |
com.google.protobuf.Parser<Messages.SubscriberState> |
getParserForType() |
String |
getPubAgentName()
required string pubAgentName = 1; |
com.google.protobuf.ByteString |
getPubAgentNameBytes()
required string pubAgentName = 1; |
int |
getRetries()
optional int32 retries = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasOffset()
required int64 offset = 2; |
boolean |
hasPubAgentName()
required string pubAgentName = 1; |
boolean |
hasRetries()
optional int32 retries = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.SubscriberState.Builder |
newBuilder() |
static Messages.SubscriberState.Builder |
newBuilder(Messages.SubscriberState prototype) |
Messages.SubscriberState.Builder |
newBuilderForType() |
protected Messages.SubscriberState.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Messages.SubscriberState |
parseDelimitedFrom(InputStream input) |
static Messages.SubscriberState |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SubscriberState |
parseFrom(byte[] data) |
static Messages.SubscriberState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SubscriberState |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.SubscriberState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SubscriberState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.SubscriberState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SubscriberState |
parseFrom(InputStream input) |
static Messages.SubscriberState |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.SubscriberState.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTag
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Messages.SubscriberState> PARSER
public static final int PUBAGENTNAME_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER
public static Messages.SubscriberState getDefaultInstance()
public Messages.SubscriberState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Messages.SubscriberState> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasPubAgentName()
required string pubAgentName = 1;
Publisher agent name
hasPubAgentName
in interface Messages.SubscriberStateOrBuilder
public String getPubAgentName()
required string pubAgentName = 1;
Publisher agent name
getPubAgentName
in interface Messages.SubscriberStateOrBuilder
public com.google.protobuf.ByteString getPubAgentNameBytes()
required string pubAgentName = 1;
Publisher agent name
getPubAgentNameBytes
in interface Messages.SubscriberStateOrBuilder
public boolean hasOffset()
required int64 offset = 2;
Last processed offset on the Subscriber agent
hasOffset
in interface Messages.SubscriberStateOrBuilder
public long getOffset()
required int64 offset = 2;
Last processed offset on the Subscriber agent
getOffset
in interface Messages.SubscriberStateOrBuilder
public boolean hasRetries()
optional int32 retries = 3;
Nb of retries for the current offset on the Subscriber agent
hasRetries
in interface Messages.SubscriberStateOrBuilder
public int getRetries()
optional int32 retries = 3;
Nb of retries for the current offset on the Subscriber agent
getRetries
in interface Messages.SubscriberStateOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Messages.SubscriberState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.SubscriberState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.SubscriberState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.SubscriberState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.SubscriberState parseFrom(InputStream input) throws IOException
IOException
public static Messages.SubscriberState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Messages.SubscriberState parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Messages.SubscriberState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Messages.SubscriberState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Messages.SubscriberState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Messages.SubscriberState.Builder newBuilder()
public Messages.SubscriberState.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Messages.SubscriberState.Builder newBuilder(Messages.SubscriberState prototype)
public Messages.SubscriberState.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Messages.SubscriberState.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.