Class ClusterShardingMessages.EntityState.Builder

    • Method Detail

      • getDescriptor

        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.EntityState.Builder>
      • getDescriptorForType

        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        getDescriptorForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.EntityState.Builder>
      • getDefaultInstanceForType

        public ClusterShardingMessages.EntityState getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
      • build

        public ClusterShardingMessages.EntityState build()
        Specified by:
        build in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        build in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      • buildPartial

        public ClusterShardingMessages.EntityState buildPartial()
        Specified by:
        buildPartial in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        buildPartial in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      • setRepeatedField

        public ClusterShardingMessages.EntityState.Builder setRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                                            int index,
                                                                            java.lang.Object value)
        Specified by:
        setRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.EntityState.Builder>
      • addRepeatedField

        public ClusterShardingMessages.EntityState.Builder addRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                                            java.lang.Object value)
        Specified by:
        addRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        addRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.EntityState.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.EntityState.Builder>
      • mergeFrom

        public ClusterShardingMessages.EntityState.Builder mergeFrom​(org.apache.pekko.protobufv3.internal.CodedInputStream input,
                                                                     org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        mergeFrom in class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.EntityState.Builder>
        Throws:
        java.io.IOException
      • getEntities

        public java.lang.String getEntities​(int index)
        repeated string entities = 1;
        Specified by:
        getEntities in interface ClusterShardingMessages.EntityStateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The entities at the given index.
      • getEntitiesBytes

        public org.apache.pekko.protobufv3.internal.ByteString getEntitiesBytes​(int index)
        repeated string entities = 1;
        Specified by:
        getEntitiesBytes in interface ClusterShardingMessages.EntityStateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the entities at the given index.
      • setEntities

        public ClusterShardingMessages.EntityState.Builder setEntities​(int index,
                                                                       java.lang.String value)
        repeated string entities = 1;
        Parameters:
        index - The index to set the value at.
        value - The entities to set.
        Returns:
        This builder for chaining.
      • addAllEntities

        public ClusterShardingMessages.EntityState.Builder addAllEntities​(java.lang.Iterable<java.lang.String> values)
        repeated string entities = 1;
        Parameters:
        values - The entities to add.
        Returns:
        This builder for chaining.
      • addEntitiesBytes

        public ClusterShardingMessages.EntityState.Builder addEntitiesBytes​(org.apache.pekko.protobufv3.internal.ByteString value)
        repeated string entities = 1;
        Parameters:
        value - The bytes of the entities to add.
        Returns:
        This builder for chaining.