public Builder setNewGroupIndex(int value) {
            copyOnWrite();
            instance.setNewGroupIndex(value);
            return this;
        }
<code>optional int32 new_group_index = 3;</code>

@param value The newGroupIndex to set.
@return This builder for chaining.
turms-client-kotlin/src/main/java/im/turms/client/model/proto/request/user/relationship/UpdateRelationshipRequest.java