public static final class Messages.SubscriberState.Builder extends com.google.protobuf.GeneratedMessage.Builder<Messages.SubscriberState.Builder> implements Messages.SubscriberStateOrBuilder
org.apache.sling.distribution.journal.messages.SubscriberState
Modifier and Type | Method and Description |
---|---|
Messages.SubscriberState |
build() |
Messages.SubscriberState |
buildPartial() |
Messages.SubscriberState.Builder |
clear() |
Messages.SubscriberState.Builder |
clearOffset()
required int64 offset = 2; |
Messages.SubscriberState.Builder |
clearPubAgentName()
required string pubAgentName = 1; |
Messages.SubscriberState.Builder |
clearRetries()
optional int32 retries = 3; |
Messages.SubscriberState.Builder |
clone() |
Messages.SubscriberState |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getOffset()
required int64 offset = 2; |
String |
getPubAgentName()
required string pubAgentName = 1; |
com.google.protobuf.ByteString |
getPubAgentNameBytes()
required string pubAgentName = 1; |
int |
getRetries()
optional int32 retries = 3; |
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() |
Messages.SubscriberState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.SubscriberState.Builder |
mergeFrom(com.google.protobuf.Message other) |
Messages.SubscriberState.Builder |
mergeFrom(Messages.SubscriberState other) |
Messages.SubscriberState.Builder |
setOffset(long value)
required int64 offset = 2; |
Messages.SubscriberState.Builder |
setPubAgentName(String value)
required string pubAgentName = 1; |
Messages.SubscriberState.Builder |
setPubAgentNameBytes(com.google.protobuf.ByteString value)
required string pubAgentName = 1; |
Messages.SubscriberState.Builder |
setRetries(int value)
optional int32 retries = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Messages.SubscriberState.Builder>
public Messages.SubscriberState.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Messages.SubscriberState.Builder>
public Messages.SubscriberState.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Messages.SubscriberState.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Messages.SubscriberState.Builder>
public Messages.SubscriberState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Messages.SubscriberState build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Messages.SubscriberState buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Messages.SubscriberState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Messages.SubscriberState.Builder>
public Messages.SubscriberState.Builder mergeFrom(Messages.SubscriberState other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Messages.SubscriberState.Builder>
public Messages.SubscriberState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Messages.SubscriberState.Builder>
IOException
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 Messages.SubscriberState.Builder setPubAgentName(String value)
required string pubAgentName = 1;
Publisher agent name
public Messages.SubscriberState.Builder clearPubAgentName()
required string pubAgentName = 1;
Publisher agent name
public Messages.SubscriberState.Builder setPubAgentNameBytes(com.google.protobuf.ByteString value)
required string pubAgentName = 1;
Publisher agent name
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 Messages.SubscriberState.Builder setOffset(long value)
required int64 offset = 2;
Last processed offset on the Subscriber agent
public Messages.SubscriberState.Builder clearOffset()
required int64 offset = 2;
Last processed offset on the Subscriber agent
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 Messages.SubscriberState.Builder setRetries(int value)
optional int32 retries = 3;
Nb of retries for the current offset on the Subscriber agent
public Messages.SubscriberState.Builder clearRetries()
optional int32 retries = 3;
Nb of retries for the current offset on the Subscriber agent
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.