Class InitializationProperties
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.streams.InitializationProperties
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InitializationPropertiesOrBuilder,Serializable
@Generated public final class InitializationProperties extends com.google.protobuf.GeneratedMessage implements InitializationPropertiesOrBuilder
Properties to create the stream if it does not exist
Protobuf typeio.axoniq.axonserver.grpc.streams.InitializationProperties- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInitializationProperties.BuilderProperties to create the stream if it does not exist-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFILTER_FIELD_NUMBERstatic intINITIAL_POSITION_FIELD_NUMBERstatic intSEGMENTS_FIELD_NUMBERstatic intSEQUENCING_POLICY_FIELD_NUMBERstatic intSTREAM_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static InitializationPropertiesgetDefaultInstance()InitializationPropertiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFilter()an expression to filter events, same syntax as used for ad-hoc queries on the event storecom.google.protobuf.ByteStringgetFilterBytes()an expression to filter events, same syntax as used for ad-hoc queries on the event storelonggetInitialPosition()the position in the event store to start reading fromcom.google.protobuf.Parser<InitializationProperties>getParserForType()intgetSegments()the initial number of segmentsSequencingPolicygetSequencingPolicy()the sequencing policySequencingPolicyOrBuildergetSequencingPolicyOrBuilder()the sequencing policyintgetSerializedSize()StringgetStreamName()a name for the persistent streamcom.google.protobuf.ByteStringgetStreamNameBytes()a name for the persistent streaminthashCode()booleanhasSequencingPolicy()the sequencing policyprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static InitializationProperties.BuildernewBuilder()static InitializationProperties.BuildernewBuilder(InitializationProperties prototype)InitializationProperties.BuildernewBuilderForType()protected InitializationProperties.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static InitializationPropertiesparseDelimitedFrom(InputStream input)static InitializationPropertiesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InitializationPropertiesparseFrom(byte[] data)static InitializationPropertiesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InitializationPropertiesparseFrom(com.google.protobuf.ByteString data)static InitializationPropertiesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InitializationPropertiesparseFrom(com.google.protobuf.CodedInputStream input)static InitializationPropertiesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InitializationPropertiesparseFrom(InputStream input)static InitializationPropertiesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InitializationPropertiesparseFrom(ByteBuffer data)static InitializationPropertiesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<InitializationProperties>parser()InitializationProperties.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIAL_POSITION_FIELD_NUMBER
public static final int INITIAL_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCING_POLICY_FIELD_NUMBER
public static final int SEQUENCING_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_NAME_FIELD_NUMBER
public static final int STREAM_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSegments
public int getSegments()
the initial number of segments
int32 segments = 1;- Specified by:
getSegmentsin interfaceInitializationPropertiesOrBuilder- Returns:
- The segments.
-
getInitialPosition
public long getInitialPosition()
the position in the event store to start reading from
int64 initial_position = 2;- Specified by:
getInitialPositionin interfaceInitializationPropertiesOrBuilder- Returns:
- The initialPosition.
-
hasSequencingPolicy
public boolean hasSequencingPolicy()
the sequencing policy
.io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;- Specified by:
hasSequencingPolicyin interfaceInitializationPropertiesOrBuilder- Returns:
- Whether the sequencingPolicy field is set.
-
getSequencingPolicy
public SequencingPolicy getSequencingPolicy()
the sequencing policy
.io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;- Specified by:
getSequencingPolicyin interfaceInitializationPropertiesOrBuilder- Returns:
- The sequencingPolicy.
-
getSequencingPolicyOrBuilder
public SequencingPolicyOrBuilder getSequencingPolicyOrBuilder()
the sequencing policy
.io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;- Specified by:
getSequencingPolicyOrBuilderin interfaceInitializationPropertiesOrBuilder
-
getFilter
public String getFilter()
an expression to filter events, same syntax as used for ad-hoc queries on the event store
string filter = 4;- Specified by:
getFilterin interfaceInitializationPropertiesOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
an expression to filter events, same syntax as used for ad-hoc queries on the event store
string filter = 4;- Specified by:
getFilterBytesin interfaceInitializationPropertiesOrBuilder- Returns:
- The bytes for filter.
-
getStreamName
public String getStreamName()
a name for the persistent stream
string stream_name = 5;- Specified by:
getStreamNamein interfaceInitializationPropertiesOrBuilder- Returns:
- The streamName.
-
getStreamNameBytes
public com.google.protobuf.ByteString getStreamNameBytes()
a name for the persistent stream
string stream_name = 5;- Specified by:
getStreamNameBytesin interfaceInitializationPropertiesOrBuilder- Returns:
- The bytes for streamName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InitializationProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InitializationProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InitializationProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InitializationProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InitializationProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InitializationProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InitializationProperties parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InitializationProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InitializationProperties parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static InitializationProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static InitializationProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static InitializationProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public InitializationProperties.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static InitializationProperties.Builder newBuilder()
-
newBuilder
public static InitializationProperties.Builder newBuilder(InitializationProperties prototype)
-
toBuilder
public InitializationProperties.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InitializationProperties.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static InitializationProperties getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<InitializationProperties> parser()
-
getParserForType
public com.google.protobuf.Parser<InitializationProperties> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public InitializationProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-