public static final class Messages.DiscoveryMessage extends com.google.protobuf.GeneratedMessage implements Messages.DiscoveryMessageOrBuilder
org.apache.sling.distribution.journal.messages.DiscoveryMessage
Modifier and Type | Class and Description |
---|---|
static class |
Messages.DiscoveryMessage.Builder
Protobuf type
org.apache.sling.distribution.journal.messages.DiscoveryMessage |
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 com.google.protobuf.Parser<Messages.DiscoveryMessage> |
PARSER |
static int |
SUBAGENTNAME_FIELD_NUMBER |
static int |
SUBSCRIBERCONFIGURATION_FIELD_NUMBER |
static int |
SUBSCRIBERSTATE_FIELD_NUMBER |
static int |
SUBSLINGID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static Messages.DiscoveryMessage |
getDefaultInstance() |
Messages.DiscoveryMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Messages.DiscoveryMessage> |
getParserForType() |
int |
getSerializedSize() |
String |
getSubAgentName()
required string subAgentName = 2; |
com.google.protobuf.ByteString |
getSubAgentNameBytes()
required string subAgentName = 2; |
Messages.SubscriberConfiguration |
getSubscriberConfiguration()
required .org.apache.sling.distribution.journal.messages.SubscriberConfiguration subscriberConfiguration = 4; |
Messages.SubscriberConfigurationOrBuilder |
getSubscriberConfigurationOrBuilder()
required .org.apache.sling.distribution.journal.messages.SubscriberConfiguration subscriberConfiguration = 4; |
Messages.SubscriberState |
getSubscriberState(int index)
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3; |
int |
getSubscriberStateCount()
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3; |
List<Messages.SubscriberState> |
getSubscriberStateList()
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3; |
Messages.SubscriberStateOrBuilder |
getSubscriberStateOrBuilder(int index)
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3; |
List<? extends Messages.SubscriberStateOrBuilder> |
getSubscriberStateOrBuilderList()
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3; |
String |
getSubSlingId()
required string subSlingId = 1; |
com.google.protobuf.ByteString |
getSubSlingIdBytes()
required string subSlingId = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasSubAgentName()
required string subAgentName = 2; |
boolean |
hasSubscriberConfiguration()
required .org.apache.sling.distribution.journal.messages.SubscriberConfiguration subscriberConfiguration = 4; |
boolean |
hasSubSlingId()
required string subSlingId = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.DiscoveryMessage.Builder |
newBuilder() |
static Messages.DiscoveryMessage.Builder |
newBuilder(Messages.DiscoveryMessage prototype) |
Messages.DiscoveryMessage.Builder |
newBuilderForType() |
protected Messages.DiscoveryMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Messages.DiscoveryMessage |
parseDelimitedFrom(InputStream input) |
static Messages.DiscoveryMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.DiscoveryMessage |
parseFrom(byte[] data) |
static Messages.DiscoveryMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.DiscoveryMessage |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.DiscoveryMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.DiscoveryMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.DiscoveryMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.DiscoveryMessage |
parseFrom(InputStream input) |
static Messages.DiscoveryMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.DiscoveryMessage.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.DiscoveryMessage> PARSER
public static final int SUBSLINGID_FIELD_NUMBER
public static final int SUBAGENTNAME_FIELD_NUMBER
public static final int SUBSCRIBERSTATE_FIELD_NUMBER
public static final int SUBSCRIBERCONFIGURATION_FIELD_NUMBER
public static Messages.DiscoveryMessage getDefaultInstance()
public Messages.DiscoveryMessage 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.DiscoveryMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasSubSlingId()
required string subSlingId = 1;
Subscriber agent Sling identifier
hasSubSlingId
in interface Messages.DiscoveryMessageOrBuilder
public String getSubSlingId()
required string subSlingId = 1;
Subscriber agent Sling identifier
getSubSlingId
in interface Messages.DiscoveryMessageOrBuilder
public com.google.protobuf.ByteString getSubSlingIdBytes()
required string subSlingId = 1;
Subscriber agent Sling identifier
getSubSlingIdBytes
in interface Messages.DiscoveryMessageOrBuilder
public boolean hasSubAgentName()
required string subAgentName = 2;
Subscriber agent name
hasSubAgentName
in interface Messages.DiscoveryMessageOrBuilder
public String getSubAgentName()
required string subAgentName = 2;
Subscriber agent name
getSubAgentName
in interface Messages.DiscoveryMessageOrBuilder
public com.google.protobuf.ByteString getSubAgentNameBytes()
required string subAgentName = 2;
Subscriber agent name
getSubAgentNameBytes
in interface Messages.DiscoveryMessageOrBuilder
public List<Messages.SubscriberState> getSubscriberStateList()
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3;
getSubscriberStateList
in interface Messages.DiscoveryMessageOrBuilder
public List<? extends Messages.SubscriberStateOrBuilder> getSubscriberStateOrBuilderList()
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3;
getSubscriberStateOrBuilderList
in interface Messages.DiscoveryMessageOrBuilder
public int getSubscriberStateCount()
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3;
getSubscriberStateCount
in interface Messages.DiscoveryMessageOrBuilder
public Messages.SubscriberState getSubscriberState(int index)
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3;
getSubscriberState
in interface Messages.DiscoveryMessageOrBuilder
public Messages.SubscriberStateOrBuilder getSubscriberStateOrBuilder(int index)
repeated .org.apache.sling.distribution.journal.messages.SubscriberState subscriberState = 3;
getSubscriberStateOrBuilder
in interface Messages.DiscoveryMessageOrBuilder
public boolean hasSubscriberConfiguration()
required .org.apache.sling.distribution.journal.messages.SubscriberConfiguration subscriberConfiguration = 4;
hasSubscriberConfiguration
in interface Messages.DiscoveryMessageOrBuilder
public Messages.SubscriberConfiguration getSubscriberConfiguration()
required .org.apache.sling.distribution.journal.messages.SubscriberConfiguration subscriberConfiguration = 4;
getSubscriberConfiguration
in interface Messages.DiscoveryMessageOrBuilder
public Messages.SubscriberConfigurationOrBuilder getSubscriberConfigurationOrBuilder()
required .org.apache.sling.distribution.journal.messages.SubscriberConfiguration subscriberConfiguration = 4;
getSubscriberConfigurationOrBuilder
in interface Messages.DiscoveryMessageOrBuilder
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.DiscoveryMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.DiscoveryMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.DiscoveryMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.DiscoveryMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Messages.DiscoveryMessage parseFrom(InputStream input) throws IOException
IOException
public static Messages.DiscoveryMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Messages.DiscoveryMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Messages.DiscoveryMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Messages.DiscoveryMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Messages.DiscoveryMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Messages.DiscoveryMessage.Builder newBuilder()
public Messages.DiscoveryMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Messages.DiscoveryMessage.Builder newBuilder(Messages.DiscoveryMessage prototype)
public Messages.DiscoveryMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Messages.DiscoveryMessage.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.